[CentOS-virt] CentOS-5.4, KVM, QEMU, Virt-Manager and kvm-qemu-img

Tue Nov 10 14:06:40 UTC 2009
James B. Byrne <byrnejb at harte-lyne.ca>

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


-- 
***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3