Skip to contentSkip to conversation

loosing connections on bridge topology changes

DISCUSSION Karl Hiramoto 2 participants 2 messages May 13, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

I have a user space application, that puts eth0 into bridge br0. At this moment all connections seem frozen. Telnet, HTTP, and NFS.

For development i have nfs root fs.

There is a ioctl() that does the equivalent of "brctl addif br0 eth0"

That cuts all the connections for a few seconds.

nfs: server 192.168.10.51 not responding, still trying
br0: topology change detected, propagating br0: port 1(eth0) entering forwarding state nfs: server 192.168.10.51 not responding, still trying
nfs: server 192.168.10.51 OK nfs: server 192.168.10.51 OK

Then everything is OK..

Is there anyway i can fix this, so my applicaion goes ahead at full speed?

using libnl i tried flushing the ARP cache on all devices, but it didn't seem to help.

Thanks
--

Karl.

#1 lore raw
Quoted 25 lines · On Wed, 13 May 2009 17:13:41 +0200 Karl Hiramoto <[email protected]> wrote:

Hi,

I have a user space application, that puts eth0 into bridge br0. At this moment all connections seem frozen. Telnet, HTTP, and NFS.

For development i have nfs root fs.

There is a ioctl() that does the equivalent of "brctl addif br0 eth0"

That cuts all the connections for a few seconds.

nfs: server 192.168.10.51 not responding, still trying
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
nfs: server 192.168.10.51 not responding, still trying
nfs: server 192.168.10.51 OK
nfs: server 192.168.10.51 OK

Then everything is OK..

Is there anyway i can fix this, so my applicaion goes ahead at full speed?

Quoted 8 lines

using libnl i tried flushing the ARP cache on all devices, but it didn't seem to help.

Thanks
--

Karl.

turn off forwarding delay (unless you are using STP).
brctl setfd br0 0