* Re: [Sysadmins] [Desktop] Настройка vconfig в Desktop 4 @ 2007-09-04 16:12 ` Gennadiy Redko 2007-09-04 17:09 ` Michael Shigorin 2007-09-05 10:30 ` Denis Kuznetsov 0 siblings, 2 replies; 7+ messages in thread From: Gennadiy Redko @ 2007-09-04 16:12 UTC (permalink / raw) To: desktop Dmytro O. Redchuk пишет: > On Tue, Sep 04, 2007 at 05:08:24PM +0300, Gennadiy Redko wrote: >> Добрый день. >> Подскажите, кто знает, как правильно настроить несколько интерфейсов >> 802.1q на одном эзернете в Desktop 4? >> Имена интерфейсов стали с "@". >> vconfig почему-то отказывается такое понимать. > Всё точно так же -- он просто показывает с ухом. > > # vconfig add eth0 333 > # ip li set up dev eth0.333 > # vconfig add eth0.333 44 > > # ip add > [...] > 6: eth0.333@eth0: <BROADCAST,MULTICAST,UP,LOWER_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: <BROADCAST,MULTICAST> mtu 1500 qdisc noop > link/ether 00:02:44:8e:ec:ac brd ff:ff:ff:ff:ff:ff > > А здесь что не так? #!/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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Sysadmins] [Desktop] Настройка vconfig в Desktop 4 2007-09-04 16:12 ` [Sysadmins] [Desktop] Настройка vconfig в Desktop 4 Gennadiy Redko @ 2007-09-04 17:09 ` Michael Shigorin 2007-09-05 10:30 ` Denis Kuznetsov 1 sibling, 0 replies; 7+ messages in thread From: Michael Shigorin @ 2007-09-04 17:09 UTC (permalink / raw) To: desktop; +Cc: sysadmins On Tue, Sep 04, 2007 at 07:12:45PM +0300, Gennadiy Redko wrote: > 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 Возможно, вылезла какая-либо разница в том, что etcnet поднимает интерфейсы ip, а ifconfig не умеет многого из того, что при этом может получиться (начиная с нескольких IP на интерфейс). Что тут -- не знаю. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Sysadmins] [Desktop] Настройка vconfig в Desktop 4 2007-09-04 16:12 ` [Sysadmins] [Desktop] Настройка vconfig в Desktop 4 Gennadiy Redko 2007-09-04 17:09 ` Michael Shigorin @ 2007-09-05 10:30 ` Denis Kuznetsov 2007-09-05 11:32 ` Gennadiy Redko 1 sibling, 1 reply; 7+ messages in thread From: Denis Kuznetsov @ 2007-09-05 10:30 UTC (permalink / raw) To: Разработка десктопного дистрибутива, ALT Linux sysadmin discuss [-- Attachment #1: Type: text/plain, Size: 809 bytes --] Смущает однако vconfig add eth0 1 1 первый вилан обычно дефолтный, и его поднимать не нужно, и так в eth0 попадет.... В сообщении от 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 -- Denis Kuznetsov [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Sysadmins] [Desktop] Настройка vconfig в Desktop 4 2007-09-05 10:30 ` Denis Kuznetsov @ 2007-09-05 11:32 ` Gennadiy Redko 2007-09-05 12:07 ` Dmytro O. Redchuk 2007-09-06 6:13 ` Dmytro O. Redchuk 0 siblings, 2 replies; 7+ messages in thread From: Gennadiy Redko @ 2007-09-05 11:32 UTC (permalink / raw) To: kde, ALT Linux sysadmin discuss Denis Kuznetsov пишет: > Смущает однако vconfig add eth0 1 1 > первый вилан обычно дефолтный, и его поднимать не нужно, и так в eth0 > попадет.... > Именно потому что дефолтный, мы его и настраиваем. Компьютер нетворкадмина. ПошлО. Нужно было все же указвать в параметрах vconfig указывать элиас с "собакой" Вот так, например: vconfig add eth0.1@eth0 1 1 > В сообщении от 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Sysadmins] [Desktop] Настройка vconfig в Desktop 4 2007-09-05 11:32 ` Gennadiy Redko @ 2007-09-05 12:07 ` Dmytro O. Redchuk 2007-09-05 12:31 ` Dmytro O. Redchuk 2007-09-06 6:13 ` Dmytro O. Redchuk 1 sibling, 1 reply; 7+ messages in thread From: Dmytro O. Redchuk @ 2007-09-05 12:07 UTC (permalink / raw) To: Gennadiy Redko; +Cc: ALT Linux sysadmin discuss 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.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: ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Sysadmins] [Desktop] Настройка vconfig в Desktop 4 2007-09-05 12:07 ` Dmytro O. Redchuk @ 2007-09-05 12:31 ` Dmytro O. Redchuk 0 siblings, 0 replies; 7+ messages in thread From: Dmytro O. Redchuk @ 2007-09-05 12:31 UTC (permalink / raw) To: Gennadiy Redko, ALT Linux sysadmin discuss 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: ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Sysadmins] [Desktop] Настройка vconfig в Desktop 4 2007-09-05 11:32 ` Gennadiy Redko 2007-09-05 12:07 ` Dmytro O. Redchuk @ 2007-09-06 6:13 ` Dmytro O. Redchuk 1 sibling, 0 replies; 7+ messages in thread From: Dmytro O. Redchuk @ 2007-09-06 6:13 UTC (permalink / raw) To: Gennadiy Redko; +Cc: ALT Linux sysadmin discuss On Wed, Sep 05, 2007 at 02:32:36PM +0300, Gennadiy Redko wrote: > Нужно было все же указвать в параметрах vconfig указывать элиас с > "собакой" > Вот так, например: > vconfig add eth0.1@eth0 1 1 Если правда, то э то баг. Это ни разу не DEV_PLUS_VID_NO_PAD. -- _,-=._ /|_/| `-.} `=._,.-=-._., @ @._, `._ _,-. ) _,.-' ` G.m-"^m`m' Dmytro O. Redchuk ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-09-06 6:13 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2007-09-04 16:12 ` [Sysadmins] [Desktop] Настройка vconfig в Desktop 4 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 2007-09-06 6:13 ` Dmytro O. Redchuk
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