I have created a bridge using to existing network interfaces:
$ brctl addif br0 eth1 $ brctl addif br0 eth2
eth2 lose their IP addresses? What's the reasoning behind it?
PS this is on Ubuntu Linux.
When a device is part of a bridge the IP address is set on the bridge rather than on the individual devices, because that is where packets can enter from the host system or exit to the host system.
A bridge is basically just a virtual ethernet switch with both the bridge device, and each device that is added to it, being a port on that switch. The bridge device (