On Tue, November 10, 2009 05:34, Kenni Lund wrote:
Yep, you do want tun/tap. But if you create a regular bridge and tells virt-manager or libvirt to use this for your virtual machines, virt-manager/libvirt will take care of the tun/tap setup.
This is what I have done. One of difficulties I still have is discovering where I set the IP addresses for the virtual machines. It seems that I get some variant of 192.168.122.x where I need an actual routable address in the 216.185.71.0/24 space.
ifcfg-br0
# kvm virtual host bridged network connection DEVICE=br0 TYPE=Bridge BOOTPROTO=static BROADCAST=216.185.71.255 #HWADDR=xx:xx:xx:xx:xx:xx IPADDR=216.185.71.22 #IPV6INIT=yes #IPV6_AUTOCONF=yes NETMASK=255.255.255.0 NETWORK=216.185.71.0 ONBOOT=yes
ifcfg-eth0
# Bridged ethernet for KVM virtual hosts # Intel Corporation 82566DC Gigabit Network Connection DEVICE=eth0 #BOOTPROTO=static #BROADCAST=216.185.71.255 HWADDR=xx:xx:xx:xx:xx:xx #IPADDR=216.185.71.22 #IPV6INIT=yes #IPV6_AUTOCONF=yes #NETMASK=255.255.255.0 #NETWORK=216.185.71.0 ONBOOT=yes BRIDGE=br0