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

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? -- 竹密岂妨流水过 山高哪阻野云飞

On Fri, Sep 30, 2011 at 10:34 AM, Magicloud Magiclouds <magicloud.magiclouds@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. -- 竹密岂妨流水过 山高哪阻野云飞

On 09/29/2011 11:45 PM, Magicloud Magiclouds wrote:
On Fri, Sep 30, 2011 at 10:34 AM, Magicloud Magiclouds <magicloud.magiclouds@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?).

Thanks for the reply. It seemed like the whole virtual network was down. Not knowing why. I rebooted the host.... On Mon, Oct 3, 2011 at 10:26 AM, Laine Stump <laine@laine.org> wrote:
On 09/29/2011 11:45 PM, Magicloud Magiclouds wrote:
On Fri, Sep 30, 2011 at 10:34 AM, Magicloud Magiclouds <magicloud.magiclouds@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?).
_______________________________________________ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users
-- 竹密岂妨流水过 山高哪阻野云飞
participants (2)
-
Laine Stump
-
Magicloud Magiclouds