[Bridge] IP address on bridged interface

Dirk Gouders gouders at et.bocholt.fh-gelsenkirchen.de
Fri Mar 6 03:45:05 PST 2009

> Normally it does not make sense to put any L3 protocol address on port 
> interfaces - because incoming packets are diverted to the bridge 
> interface before the L3 protocol is examined. This means the L3 protocol 
> running on the port interface will never see any incoming packets.

Meanwhile, I played with a one-port setup that works with an IP address
(out of only on the port interface:

brctl addbr br0
ip link set br0 up
# delete the network-route via the eth0 interface
ip route del
ip route add default dev br0
brctl addif br0 eth0

After I put the one and only interface eth0 into this experimental
"bridge", network connections are possible as if eth0 was used directly.
As br0 does not have an L3 protocol address, isn't it the port interface
eth0 that sees the L3 packets in this case?


More information about the Bridge mailing list