From: Dmitry Lebkov <dima@sakhalin.ru> To: community@altlinux.ru Subject: Re: [Comm] VLAN скрипты Date: Fri, 21 Mar 2003 22:49:03 +1000 Message-ID: <20030321224903.41bba5eb.dima@sakhalin.ru> (raw) In-Reply-To: <1685953881.20030321101925@ust.fagci.ru> 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
prev parent reply other threads:[~2003-03-21 12:49 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-03-21 7:19 Andrew Velichenko 2003-03-21 12:49 ` Dmitry Lebkov [this message]
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=20030321224903.41bba5eb.dima@sakhalin.ru \ --to=dima@sakhalin.ru \ --cc=community@altlinux.ru \ /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 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