[CentOS-virt] CentOS 6 and KVM woes

Sat Jul 16 07:00:02 UTC 2011
Jussi Hirvi <listmember at greenspot.fi>

On 16.7.2011 2.15, Trey Dockendorf wrote:
> Yes, the name matches, the KVM hosts both used br0 on 5.6 and now on 6.0.
>   Here's what's in the XML file
>      <interface type='bridge'>
>        <mac address='52:54:00:31:6f:16'/>
>        <source bridge='br0'/>
>        <target dev='vnet0'/>
>        <model type='virtio'/>
>        <alias name='net0'/>
>        <address type='pci' domain='0x0000' bus='0x00' slot='0x03'
> function='0x0'/>
>      </interface>

I am not sure if yo have the same kind of virtual network structure as I 
have. Anyway, my xml file (CentOS 5.6 on both host and guest) says simply:
     <interface type='bridge'>
       <mac address='54:52:00:3d:aa:46'/>
       <source bridge='br0'/>
       <model type='virtio'/>

I have one physical nic, one bridge (br0), one external ip address per 
guest. No NAT.

BTW, I now notice that I have wrong MAC address (54:52), and you have it 
right (52:54), I probably got mine from "man virt-install" which 
contains an error:


Anyway, my vguests work fine.

- Jussi