≡ Menu

KVM Guest: Shared Physical Network Device With Host (bridging configuration)

The NAT based connectivity is useful for easy deployments. However I want to use full bridging, where the guest is connected directly to the LAN. How do setup and share physical network with host and rest of the LAN under Linux?

You need to type the following commands under Debian or Ubuntu Linux (you may to disable network manager too) to set bridging option. My default eth0 config looks as follows /etc/network/interfaces:

 allow-hotplug eth0
 iface eth0 inet static

Take down eth0, enter:
# ifdown eth0
Next, edit yes, replies to my comment

   Tagged with: , , , , , , , , , , , , , , , , , , , , ,