Disable IP on bridge

user158720 asked:

OK, I’m running libvirt on my server, I have only one interface. In order to use the public IP in my VM I need to set up a bridge, everything OK so far.. But I don’t want to setup an IP address on the bridge interface. When I leave the bridge without IP and set IP on eth0, it won’t work..

Can someone explain me why?

My answer:


That’s how bridges work.

When you bridge devices together, the networking configuration applies to the bridge since it is representing all of the connected devices.

Therefore you must apply the network settings to the bridge, and not to any of its constituent devices.


View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.