I set up a KVM host a few months back with eight virtual machines running on it. Now, at least since yesterday, one of the guests (which apart from the MAC address is otherwise identical to six other guests) has lost its network connection. The other seven vms work fine.
More bizarre, even rekickstarting does not work due to this issue. I suspect some issue on the host, but don't really have an idea what to check.
Host and virtual machines all run CentOS6.3 plus all patches. The issue persists through a host reboot.
On 03.10.2012 12:16, lhecking@users.sourceforge.net wrote:
I set up a KVM host a few months back with eight virtual machines running on it. Now, at least since yesterday, one of the guests (which apart from the MAC address is otherwise identical to six other guests) has lost its network connection. The other seven vms work fine.
More bizarre, even rekickstarting does not work due to this issue. I suspect some issue on the host, but don't really have an idea what to check.
Host and virtual machines all run CentOS6.3 plus all patches. The issue persists through a host reboot.
CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Hi,
Are you sure the VNIC is bound to the proper bridge? I'd do a "virsh dumpxml $domain" and compare the network settings, see if there's difference.
Are you sure the VNIC is bound to the proper bridge? I'd do a "virsh dumpxml $domain" and compare the network settings, see if there's difference.
I deleted the config and the domain is gone :( All the other domains have the correct settings,
<interface type='bridge'> <mac address='MAC:ADDRESS'/> <source bridge='br0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface>
I am certain it was bound to the correct bridge, I use virt-install .... --network bridge=br0,mac=$mac ... But there is no network connection even when I try to recreate the vm from scratch (NetworkManager fails to configure eth0).
# brctl show bridge name bridge id STP enabled interfaces br0 8000.d4ae528534db no em1 vnet1 vnet2 vnet3 vnet4 vnet5 vnet6 vnet7 virbr0 8000.5254007426a3 yes virbr0-nic #
On 03.10.2012 12:34, lhecking@users.sourceforge.net wrote:
Are you sure the VNIC is bound to the proper bridge? I'd do a "virsh dumpxml $domain" and compare the network settings, see if there's difference.
I deleted the config and the domain is gone :( All the other domains have the correct settings,
<interface type='bridge'> <mac address='MAC:ADDRESS'/> <source bridge='br0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03'
function='0x0'/> </interface>
I am certain it was bound to the correct bridge, I use virt-install .... --network bridge=br0,mac=$mac ... But there is no network connection even when I try to recreate the vm from scratch (NetworkManager fails to configure eth0).
# brctl show bridge name bridge id STP enabled interfaces br0 8000.d4ae528534db no em1 vnet1 vnet2 vnet3 vnet4 vnet5 vnet6 vnet7 virbr0 8000.5254007426a3 yes virbr0-nic #
CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
There has to be some problem somewhere. Have you checked the logs? Are you sure the IP config is correct? Do you have connectivity if you use the NAT-ed virbr0?
There has to be some problem somewhere. Have you checked the logs? Are you sure the IP config is correct? Do you have connectivity if you use the NAT-ed virbr0?
Yes, the setup was working fine until very recently, probably yesterday. All other vm have connectivity in and out.
How do I test for "connectivity if you use the NAT-ed virbr0" ?
On 03.10.2012 13:08, lhecking@users.sourceforge.net wrote:
There has to be some problem somewhere. Have you checked the logs? Are you sure the IP config is correct? Do you have connectivity if you use the NAT-ed virbr0?
Yes, the setup was working fine until very recently, probably yesterday. All other vm have connectivity in and out.
How do I test for "connectivity if you use the NAT-ed virbr0" ?
CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Try to ping something in the internet? ping 4.2.2.2 lynx http://ip.nux.ro etc
Turns out the reason was elsewhere - it seems old network switch security settings resurfaced by accident. We're back in action now. Classical case of non-communication.