[libvirt] Multpile network interfaces have same MAC address

Daniel P. Berrange berrange at redhat.com
Wed Feb 25 11:21:08 UTC 2009


On Tue, Feb 24, 2009 at 01:29:41PM -0800, David Mueller wrote:
> I remember seeing this problem before, but I can't remember what the 
> resolution was, nor can I find a discussion of the issue in
> the list archives or Bugzilla.
> 
> I've had my setup working for a while now, on both Fedora 8 and Fedora 10. 
> Now I'm trying to get it to work with CentOS 5 and
> running into an old bug.  My guest VM has multiple virtual network 
> interfaces, with the MAC address defined in the XML file used to
> define the VM.  However, I'm seeing each network interface getting the 
> same MAC addrss (the last one defined in the XML file) on
> all if the interfaces when I run ifconfig in the guest.
> 
> Was there a workaround for this, or do I need to upgrade libvirt?  CentOS 
> 5.2 is what I'm working with; they haven't released 5.3
> yet so I don't know if that will have a newer version.

Last time I saw this was with QEMU and the rtl8139 nic, where there was
a bug setting up the MMIO space, so all NICs were reading their mac
from the first NIC's region instead of their own. 

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list