ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Dmytro O. Redchuk" <dor@ldc.net>
To: Gennadiy Redko <uit1@zaz.zp.ua>,
	ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] [Desktop] Настройка vconfig в Desktop 4
Date: Wed, 5 Sep 2007 15:31:05 +0300
Message-ID: <20070905123105.GB26675@ldc.net> (raw)
In-Reply-To: <20070905120722.GA26675@ldc.net>

On Wed, Sep 05, 2007 at 03:07:22PM +0300, Dmytro O. Redchuk wrote:
> On Wed, Sep 05, 2007 at 02:32:36PM +0300, Gennadiy Redko wrote:
> > Denis Kuznetsov пишет:
> > > Смущает однако vconfig add eth0 1 1
> > > первый вилан обычно дефолтный, и его поднимать не нужно, и так в eth0  
> > > попадет....  
Та ну, чего ж смущаться. Должно работать всё равно.

> > Нужно было все же указвать в параметрах vconfig указывать элиас с 
> > "собакой"
> > Вот так, например:
> > vconfig add eth0.1@eth0 1 1
> Оччень странно...
> 
> [root@fox ~]# vconfig add eth0.333.44@eth0.333 55
> ERROR:  if_name must be 15 characters or less.
Не, это не то :-)

В смысле
[root@fox ~]# vconfig add eth0.555@eth0 4
ERROR: trying to add VLAN #4 to IF -:eth0.555@eth0:-  error: Invalid argument

> 
> [root@fox ~]# vconfig add eth0.333.44 55
> Added VLAN with VID == 55 to IF -:eth0.333.44:-
> 
> [root@fox ~]# ip li
> [...]
> 6: eth0.333@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue 
>     link/ether 00:02:44:8e:ec:ac brd ff:ff:ff:ff:ff:ff
> 7: eth0.333.44@eth0.333: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue 
>     link/ether 00:02:44:8e:ec:ac brd ff:ff:ff:ff:ff:ff
> 8: eth0.333.44.55@eth0.333.44: <BROADCAST,MULTICAST> mtu 1500 qdisc noop 
>     link/ether 00:02:44:8e:ec:ac brd ff:ff:ff:ff:ff:ff
> 
> 
> > 
> > > В сообщении от Tuesday 04 September 2007 19:12:45 Gennadiy Redko написал(а):
> > > 
> > >> А здесь что не так?
> > >> #!/bin/bash
> > >> ifconfig eth0 0.0.0.0 up
> > >> modprobe 8021q
> > >> vconfig add eth0 1 1
> > >> ifconfig eth0.1 10.2.2.201 netmask 255.255.255.0 up
> > >> ifconfig eth0 10.0.1.4 netmask 255.255.255.0 up
> > >>
> > >> На моей машине работает.
> > >> Не подымается на Desktop4
> > >>
> > >> _______________________________________________
> > >> Desktop mailing list
> > >> Desktop@lists.altlinux.org
> > >> https://lists.altlinux.org/mailman/listinfo/desktop
> > >> _______________________________________________
> > >> Sysadmins mailing list
> > >> Sysadmins@lists.altlinux.org
> > >> https://lists.altlinux.org/mailman/listinfo/sysadmins
> > > 
> > > 
> > > 
> > > 
> > > ------------------------------------------------------------------------
> > > 
> > > _______________________________________________
> > > Sysadmins mailing list
> > > Sysadmins@lists.altlinux.org
> > > https://lists.altlinux.org/mailman/listinfo/sysadmins
> > 
> > _______________________________________________
> > Sysadmins mailing list
> > Sysadmins@lists.altlinux.org
> > https://lists.altlinux.org/mailman/listinfo/sysadmins
> 
> -- 
>   _,-=._              /|_/|
>   `-.}   `=._,.-=-._.,  @ @._,
>      `._ _,-.   )      _,.-'
>         `    G.m-"^m`m'        Dmytro O. Redchuk
> 
> 
> XMMS: 
> 
> _______________________________________________
> Sysadmins mailing list
> Sysadmins@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/sysadmins

-- 
  _,-=._              /|_/|
  `-.}   `=._,.-=-._.,  @ @._,
     `._ _,-.   )      _,.-'
        `    G.m-"^m`m'        Dmytro O. Redchuk


XMMS: 



  reply	other threads:[~2007-09-05 12:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-04 16:12   ` Gennadiy Redko
2007-09-04 17:09     ` Michael Shigorin
2007-09-05 10:30     ` Denis Kuznetsov
2007-09-05 11:32       ` Gennadiy Redko
2007-09-05 12:07         ` Dmytro O. Redchuk
2007-09-05 12:31           ` Dmytro O. Redchuk [this message]
2007-09-06  6:13         ` Dmytro O. Redchuk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070905123105.GB26675@ldc.net \
    --to=dor@ldc.net \
    --cc=sysadmins@lists.altlinux.org \
    --cc=uit1@zaz.zp.ua \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git