Difference between revisions of "Troubleshooting KVM VM networking"
From Notes_Wiki
m |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Virtualization tools]] > [[KVM]] > [[Troubleshooting KVM VM networking]] | |||
If the VM also creates a virbr0 network within same range as the VMs eth0 virtual IP then network of VM stops working after while and just using '<tt>ifconfig virbr0 down</tt>' is not enough to make network work. | If the VM also creates a virbr0 network within same range as the VMs eth0 virtual IP then network of VM stops working after while and just using '<tt>ifconfig virbr0 down</tt>' is not enough to make network work. | ||
Line 11: | Line 10: | ||
*Do '<tt>ip neigh show</tt>' on base machine and verify that MAC address of VM is learned correctly. | *Do '<tt>ip neigh show</tt>' on base machine and verify that MAC address of VM is learned correctly. | ||
*Do '<tt>ip neigh show</tt>' on VM and verify that base machines MAC is learned correctly. | *Do '<tt>ip neigh show</tt>' on VM and verify that base machines MAC is learned correctly. | ||
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Virtualization tools]] > [[KVM]] > [[Troubleshooting KVM VM networking]] |
Latest revision as of 13:17, 24 August 2022
Home > CentOS > CentOS 6.x > Virtualization tools > KVM > Troubleshooting KVM VM networking
If the VM also creates a virbr0 network within same range as the VMs eth0 virtual IP then network of VM stops working after while and just using 'ifconfig virbr0 down' is not enough to make network work.
In such cases we can use following steps to enable networking:
- ifconfig virbr0 <some_other_network>
- ifconfig virbr0 down
- service network restart
- Ping to virbr0 IP of base machine
- Do 'ip neigh show' on base machine and verify that MAC address of VM is learned correctly.
- Do 'ip neigh show' on VM and verify that base machines MAC is learned correctly.
Home > CentOS > CentOS 6.x > Virtualization tools > KVM > Troubleshooting KVM VM networking