[libvirt-users] Second VM cannot get dhcp ip in NAT mode

Laine Stump laine at laine.org
Mon Oct 3 02:26:58 UTC 2011


On 09/29/2011 11:45 PM, Magicloud Magiclouds wrote:
> On Fri, Sep 30, 2011 at 10:34 AM, Magicloud Magiclouds
> <magicloud.magiclouds at gmail.com>  wrote:
>> Hi,
>>   Yesterday I started to use libvirt with kvm under centos6. The first
>> VM works great.
>>   Today I added another VM and start to initialize with virt-install.
>>   Well, it seems that, the second VM cannot get dhcp ip. I did not
>> change the default libvirt network configuration.
>>   What should I do?
>> --
>> 竹密岂妨流水过
>> 山高哪阻野云飞
>>
> So it is not a dhcp issue.
> Fixed ip did not work. Stop the first one did not help.
> Seems like the second VM just cannot use the network.

Do "virsh dumpxml ${guestname} >/tmp/${guestname}.xml" for each of the 
two guests, then compare the <interface> section of the two guests (are 
both guests running the same OS?).




More information about the libvirt-users mailing list