You are not logged in.

#1 2013-05-24 15:23:07

B0b
Member
Registered: 2009-05-09
Posts: 9

bridge static IP using only one interface

Hi All,

I started a thread yesterday at serverfault, without much luck so far http://serverfault.com/questions/510361 … ly-one-nic

So the problem is that I have a bridged interface configured (br0) which bridges two physical interfaces (eth1/eth2) - bridging works as expected and packets traverse through the bridge properly. My problem comes from a static IP address configured on the bridge:
br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1488
        inet 10.0.0.1  netmask 255.0.0.0  broadcast 10.255.255.255
        ether 00:24:9b:04:3b:a7  txqueuelen 0  (Ethernet)
        RX packets 3623  bytes 332062 (324.2 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1494  bytes 154380 (150.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Now the problem is that depending on which interface was added last into the bridge, I see arp requests coming FROM the bridge box on only one of them. Lets say I do:
#brctl addif br0 eth1
#brctl addif br0 eth2

and then ping 10.0.1.101 - I will see arp requests coming on br0 and eth2, but not on eth1 - obviously that is an issue - since I would expect bridge IP to be seen equally from both eth1 and eth2 sides - am I missing something? Is there a way to fix this?

Thanks

Offline

Board footer

Powered by FluxBB