* [Comm] VLAN скрипты
@ 2003-03-21 7:19 Andrew Velichenko
2003-03-21 12:49 ` Dmitry Lebkov
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Velichenko @ 2003-03-21 7:19 UTC (permalink / raw)
To: community
Hello community,
Попытался тут под мастером 2.2 сделать VLANы с 29-й циской. Вручную -
все работает. Попытался все это дело сделать скриптами.
Что сделано:
1) /etc/sysconfig/vlan
DOT1Q_VLANS=yes
VLAN_NAMING=VLAN_PLUS_VID
2) /etc/sysconfig/network-scripts/ifcfg-eth0 (он подключен к каталисту)
DEVICE=eth0
BOOTPROTO=static
IPADDR=0.0.0.0
NETMASK=255.255.255.255
NETWORK=0.0.0.0
BROADCAST=0.0.0.0
ONBOOT=yes
2) /etc/sysconfig/network-scripts/ifcfg-vlan0002
DEVICE=eth0
BOOTPROTO=static
IPADDR=130.144.63.20
NETMASK=255.255.255.0
NETWORK=130.144.63.0
BROADCAST=130.144.63.255
ONBOOT=yes
Если в последнем скрипте ставлю DEVICE=vlan0002 (как в имени
файла), то он ругается. Если eth0 - то первый vlan устанавливается
вместо eth0, и все (хотя при старте пишет, что все vlan-ы
поднимаются без ошибок.
Ядерный модуль загружен...
Что я делаю не так и как это надо делать правильно?
Сенкс!
--
Best regards,
Andrew Velichenko mailto:velandr@ust.fagci.ru
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Comm] VLAN скрипты
2003-03-21 7:19 [Comm] VLAN скрипты Andrew Velichenko
@ 2003-03-21 12:49 ` Dmitry Lebkov
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Lebkov @ 2003-03-21 12:49 UTC (permalink / raw)
To: community
On Fri, 21 Mar 2003 10:19:25 +0300
Andrew Velichenko <velandr@ust.fagci.ru> wrote:
> Hello community,
>
> Попытался тут под мастером 2.2 сделать VLANы с 29-й циской. Вручную -
> все работает. Попытался все это дело сделать скриптами.
> Что сделано:
> 1) /etc/sysconfig/vlan
> DOT1Q_VLANS=yes
> VLAN_NAMING=VLAN_PLUS_VID
> 2) /etc/sysconfig/network-scripts/ifcfg-eth0 (он подключен к
> каталисту)
> DEVICE=eth0
> BOOTPROTO=static
> IPADDR=0.0.0.0
> NETMASK=255.255.255.255
> NETWORK=0.0.0.0
> BROADCAST=0.0.0.0
> ONBOOT=yes
>
> 2) /etc/sysconfig/network-scripts/ifcfg-vlan0002
> DEVICE=eth0
> BOOTPROTO=static
> IPADDR=130.144.63.20
> NETMASK=255.255.255.0
> NETWORK=130.144.63.0
> BROADCAST=130.144.63.255
> ONBOOT=yes
>
> Если в последнем скрипте ставлю DEVICE=vlan0002 (как в имени
> файла), то он ругается. Если eth0 - то первый vlan устанавливается
> вместо eth0, и все (хотя при старте пишет, что все vlan-ы
> поднимаются без ошибок.
> Ядерный модуль загружен...
>
> Что я делаю не так
Не прочитал в файле /usr/share/doc/initscripts-x.xx/sysconfig.txt
обо всем, что касается VLAN.
> и как это надо делать правильно?
Прочитать вышеуказанный файл ... ;)
Hint: в конфиге vlan-интерфейсов тебя интересует параметр
VLAN_TRUNK_IF.
--
WBR, Dmitry Lebkov
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-21 12:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-21 7:19 [Comm] VLAN скрипты Andrew Velichenko
2003-03-21 12:49 ` Dmitry Lebkov
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git