[CentOS-virt] CentOS 6 and KVM woes

Jussi Hirvi listmember at greenspot.fi
Sat Jul 16 03:00:02 EDT 2011


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'/>
     </interface>

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:

	https://bugzilla.redhat.com/show_bug.cgi?id=620838

Anyway, my vguests work fine.

- Jussi


More information about the CentOS-virt mailing list