Ali Shirvani
2022-Nov-09 10:51 UTC
[Bridge] How to connect more than 200 interfaces to a bridge
Hello everyone, It seems we reach the Linux bridge limitation on the number of interfaces in a single bridge. Currently, we have 210 tap interface in a bridge, and we suffer from more than 50% packet loss when we ping the IP address of the virtual machine that uses one of the tap interfaces in the bridge. Do you know how we can connect more than 200 VMs virtual interfaces to a bridge? Best regards, Ali Sent with [Proton Mail](https://proton.me/) secure email. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linuxfoundation.org/pipermail/bridge/attachments/20221109/8c30ef02/attachment.html>
Stephen Hemminger
2022-Nov-09 16:51 UTC
[Bridge] How to connect more than 200 interfaces to a bridge
On Wed, 09 Nov 2022 10:51:27 +0000 Ali Shirvani via Bridge <bridge at lists.linux-foundation.org> wrote:> Hello everyone, > > It seems we reach the Linux bridge limitation on the number of interfaces in a single bridge. Currently, we have 210 tap interface in a bridge, and we suffer from more than 50% packet loss when we ping the IP address of the virtual machine that uses one of the tap interfaces in the bridge. > Do you know how we can connect more than 200 VMs virtual interfaces to a bridge? > > Best regards, > Ali > > Sent with [Proton Mail](https://proton.me/) secure email.The upper limit on interfaces per bridge should be 1023. That limitation comes from spanning tree. You might bet able to improve performance by disabling flooding to those tap devices. Normally, any broadcast/unknown/multicast must be copied and flooded to each interface.