From: Vitaly Lipatov <lav@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Cc: Alexey Shabalin <a.shabalin@gmail.com>
Subject: Re: [devel] etcnet and bridge(vlan_filtering)
Date: Sat, 08 Dec 2018 13:19:55 +0300
Message-ID: <e9fcdf8d3f9be62648fe1435ee760226@etersoft.ru> (raw)
In-Reply-To: <CAEdvWkScUANNNPdBDdzXPyTjyK-Pr9JoYJ-Zonva_E8-gzbi5w@mail.gmail.com>
Alexey Shabalin писал 26.11.18 15:21:
> пн, 26 нояб. 2018 г. в 04:57, Vitaly Lipatov <lav@altlinux.ru>:
>>
>> Leonid Krivoshein писал 22.11.18 21:49:
>> ...
>> > brctrl кусок legacy, который давно все повыкидывали.
>> > Предлагается изменить этот файл, ориентируясь на ip:
>> Извините, у меня он используется на десятке машин. Когда
>> будете выкидывать, сообщите, пожалуйста, что и на что менять.
>
> Подскажите, что у вас прописано в этих файлах, что бы я подсказал на
> что заменить.
# cat /etc/net/ifaces/breth0/brctl
stp AUTO on
# cat /etc/net/ifaces/breth0/options
BOOTPROTO=static
TYPE=bri
HOST=enp4s0
Потом на этот бридж навешивается OpenVZ (из конфига):
NETIF="ifname=breth0,bridge=breth0,mac=00:18:51:6C:44:0E,host_ifname=veth210.0,host_mac=00:18:51:A7:5A:F2"
сеть настраивается так:
# cat /etc/vz/vznet.conf
EXTERNAL_SCRIPT="/usr/sbin/vznetaddbr"
Ну и там вызывается brctl:
# grep brctl /usr/sbin/vznetaddbr
brctl addif "$bridge" "$host_ifname"
--
С уважением,
Виталий Липатов,
Etersoft
next prev parent reply other threads:[~2018-12-08 10:19 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-24 18:49 Alexey Shabalin
2018-10-24 21:48 ` Igor Vlasenko
2018-10-24 22:03 ` Alexey V. Vissarionov
2018-10-25 8:30 ` Sergey Afonin
2018-10-25 8:44 ` [devel] [JT] " Michael Shigorin
2018-10-25 9:38 ` [devel] " Mikhail Efremov
2018-11-22 10:21 ` Sergey Afonin
2018-11-22 18:49 ` Leonid Krivoshein
2018-11-23 6:15 ` Sergey Afonin
2018-11-26 1:57 ` Vitaly Lipatov
2018-11-26 12:21 ` Alexey Shabalin
2018-12-03 10:58 ` Sergey Afonin
2018-12-08 10:19 ` Vitaly Lipatov [this message]
2021-11-17 8:05 ` [devel] etcnet and bridge (vlan_filtering) Sergey Afonin
2021-11-17 9:24 ` alexei
2021-11-17 10:10 ` Sergey Afonin
2021-11-17 10:51 ` Sergey Afonin
2021-11-17 10:56 ` alexei
2021-11-17 11:35 ` Sergey Afonin
2021-11-17 12:59 ` Sergey Afonin
2018-11-25 20:23 ` [devel] etcnet and bridge(vlan_filtering) Anton Gorlov
2018-11-25 23:07 ` Alexey Shabalin
2018-11-26 12:23 ` Alexey Shabalin
2018-11-25 20:49 ` Anton Gorlov
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=e9fcdf8d3f9be62648fe1435ee760226@etersoft.ru \
--to=lav@altlinux.ru \
--cc=a.shabalin@gmail.com \
--cc=devel@lists.altlinux.org \
/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 Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git