* [Comm] Работа с VLAN 802.1Q
@ 2005-11-11 17:50 Anatoly Romashkin
2005-11-12 4:42 ` Alexei Takaseev
0 siblings, 1 reply; 3+ messages in thread
From: Anatoly Romashkin @ 2005-11-11 17:50 UTC (permalink / raw)
To: ALT Linux Community
Приветствую.
У меня просьба разместить, например на
www.freesource.info/wiki/AltLinux, статью про работу с вланами 802.1Q,
как это принято в дистрибутиве ALT'а.
В бумажном руководстве ALT Linux Master 2.4 про вланы ничего не нашел.
Смысл просьбы вот в чем: я могу создать вланы вручную через vconfig24.
Прописал так:
# grep -v ^# /etc/sysconfig/vlan
DOT1Q_VLANS=yes
VLAN_NAMING=VLAN_PLUS_VID
Все замечально работает, есть одно "но" - работает до выключения
компьютера. После загрузки системы вланы автоматом не поднимаются.
Требуется, чтобы вланы поднимались автоматом после загрузки.
__
Anatoly Romashkin
Nab.Chelny ALTLinux maillist
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] Работа с VLAN 802.1Q
2005-11-11 17:50 [Comm] Работа с VLAN 802.1Q Anatoly Romashkin
@ 2005-11-12 4:42 ` Alexei Takaseev
2005-11-14 9:38 ` Dmytro O. Redchuk
0 siblings, 1 reply; 3+ messages in thread
From: Alexei Takaseev @ 2005-11-12 4:42 UTC (permalink / raw)
To: ALT Linux Community
On Fri, 11 Nov 2005 20:50:59 +0300
Anatoly Romashkin wrote:
> Приветствую.
>
> У меня просьба разместить, например на
> www.freesource.info/wiki/AltLinux, статью про работу с вланами 802.1Q,
> как это принято в дистрибутиве ALT'а.
> В бумажном руководстве ALT Linux Master 2.4 про вланы ничего не нашел.
>
> Смысл просьбы вот в чем: я могу создать вланы вручную через vconfig24.
> Прописал так:
> # grep -v ^# /etc/sysconfig/vlan
>
> DOT1Q_VLANS=yes
> VLAN_NAMING=VLAN_PLUS_VID
>
> Все замечально работает, есть одно "но" - работает до выключения
> компьютера. После загрузки системы вланы автоматом не поднимаются.
> Требуется, чтобы вланы поднимались автоматом после загрузки.
/etc/sysconfig/vlan:
DOT1Q_VLANS=yes
VLAN_NAMING=VLAN_PLUS_VID
VLAN'ы у меня висял на физическом интерфейсе eth0 (Запустить этот
интерфейс как noIP мне почему-то тогда не удалось, потому таки
поставил адрес)
/etc/sysconfig/network-scripts/ifcfg-eth0:
DEVICE=eth0
BOOTPROTO=static
IPADDR=1.1.1.1
NETMASK=255.255.255.255
NETWORK=1.1.1.0
BROADCAST=1.1.1.255
ONBOOT=yes
/etc/sysconfig/network-scripts/ifcfg-vlan0001
DEVICE=vlan0001
VLAN_TRUNK_IF=eth0
BOOTPROTO=static
IPADDR=XXX.XXX.XXX.XXX
NETMASK=255.255.255.0
NETWORK=XXX.XXX.XXX.0
BROADCAST=XXX.XXX.XXX.255
ONBOOT=yes
/etc/sysconfig/network-scripts/ifcfg-vlan0002
DEVICE=vlan002
VLAN_TRUNK_IF=eth0
BOOTPROTO=static
IPADDR=YYY.YYY.YYY.YYY
NETMASK=255.255.255.0
NETWORK=YYY.YYY.YYY.0
BROADCAST=YYY.YYY.YYY.255
ONBOOT=yes
Пакет vlan-utils24 должен быть установлен.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] Работа с VLAN 802.1Q
2005-11-12 4:42 ` Alexei Takaseev
@ 2005-11-14 9:38 ` Dmytro O. Redchuk
0 siblings, 0 replies; 3+ messages in thread
From: Dmytro O. Redchuk @ 2005-11-14 9:38 UTC (permalink / raw)
To: ALT Linux Community; +Cc: ALT Linux Community
On Sat, Nov 12, 2005 at 12:42:54PM +0800, Alexei Takaseev wrote:
>
> VLAN'ы у меня висял на физическом интерфейсе eth0 (Запустить этот
> интерфейс как noIP мне почему-то тогда не удалось, потому таки
> поставил адрес)
*Должно* получиться.
Через BOOTPROTO=none.
(Это ж, кажется, был такой апдейт для мастера?
https://bugzilla.altlinux.org/show_bug.cgi?id=5891)
>
> /etc/sysconfig/network-scripts/ifcfg-eth0:
> DEVICE=eth0
> BOOTPROTO=static
> IPADDR=1.1.1.1
> NETMASK=255.255.255.255
> NETWORK=1.1.1.0
> BROADCAST=1.1.1.255
> ONBOOT=yes
>
> Пакет vlan-utils24 должен быть установлен.
--
_,-=._ /|_/|
`-.} `=._,.-=-._., @ @._,
`._ _,-. ) _,.-'
` G.m-"^m`m' Dmytro O. Redchuk
XMMS:
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-11-14 9:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-11 17:50 [Comm] Работа с VLAN 802.1Q Anatoly Romashkin
2005-11-12 4:42 ` Alexei Takaseev
2005-11-14 9:38 ` Dmytro O. Redchuk
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