From: alexei@taf.ru To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] etcnet and bridge (vlan_filtering) Date: Wed, 17 Nov 2021 18:56:52 +0800 (IRKT) Message-ID: <195515074.984130.1637146612394.JavaMail.zimbra@taf.ru> (raw) In-Reply-To: <202111171410.09723.asy@altlinux.org> ----- Исходное сообщение ----- > От: "Sergey Afonin" <asy@altlinux.org> > Кому: "ALT Linux Team development discussions" <devel@lists.altlinux.org> > Отправленные: Среда, 17 Ноябрь 2021 г 18:10:09 > Тема: Re: [devel] etcnet and bridge (vlan_filtering) > On Wednesday 17 November 2021, alexei@taf.ru wrote: > >> > То есть в бридж объединяются два VLAN. Далее в этом >> > бридже должны ходить другие VLAN. В p8 конфигурация >> > работает, в p9 (и, видимо, далее - нет). > >> > 12:00:50.979026 00:1c:c0:18:fc:89 > Broadcast, ethertype 802.1Q (0x8100), length >> > 60: vlan 899, p 0, ethertype 802.1Q, vlan 900, p 0, ethertype ARP, Request >> > who-has 10.10.10.252 tell 10.10.10.254, length 38 >> > >> > Но вот на выходе (ether1) 899 куда-то срезается: >> > >> > 12:02:05.730383 00:1c:c0:18:fc:89 > Broadcast, ethertype 802.1Q (0x8100), length >> > 56: vlan 900, p 0, ethertype ARP, Request who-has 10.10.10.252 tell >> > 10.10.10.254, length 38 >> >> В options у ether0.899 ether1.899 и bridge0.900 пропишите VLAN_REORDER_HDR=1. >> Как раз >> это значение по-умолчанию при переходе p8 -> p9 у etcnet поменялось. Не совсем >> понятно зачем. > > Не помогает. > >> И еще, на ether0, ether1 и bridge0 mtu должно быть больше или равно 1504 > > C MTU понятно, так и работало в p8. > >> клиентский интерфейс SVLAN.CVLAN (3064.1000) >> # ip link show dev pppe3064.1000 > > С обычным интерфейсом работает, с bond не пробовал, с бриджом не хочет, > отрезает svlan на выходе. > > То есть, если переделать bridge0.900 в ether0.899.900, то IP на ether0.899.900 > начинает быть доступен с соседнего хоста. В багзиллу что ли пойти уже... На BOND в моем примере не обращайте внимание, когда-то это был реальный бонд их пачки 1G портов, сейчас это нормальный физический 10G порт. Еще можно посмотреть в сторону аппаратного vlan offload, вполне возможно что он отрезает верхнюю метку.
next prev parent reply other threads:[~2021-11-17 10:56 UTC|newest] Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-10-24 18:49 [devel] etcnet and bridge(vlan_filtering) 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 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 [this message] 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=195515074.984130.1637146612394.JavaMail.zimbra@taf.ru \ --to=alexei@taf.ru \ --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