Changing Management Interface on XenServer 6.2

If you are changing management interface on XS (from eth1 to eth2, in my case, because eth1 was not connect to right subnet), be aware that management console must not update routing table for local subnet access appropriately – it keeps the record for previous interface there with same metric value, so actually old record will have preference.   So you might end up in situation, where you cannot access local subnet.

You can check with route command:

route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.163.127.32   *               255.255.255.224 U     0      0        0 xenbr1
10.163.127.32   *               255.255.255.224 U     0      0        0 xenbr2
default         prague03-lab-co 0.0.0.0         UG    0      0        0 xenbr2

Temporarily it can be fixed by:

route del -net 10.163.127.32  netmask 255.255.255.224 dev xenbr1

However this change is not saved – so it’ll not survive reboot.

Final solution is to use xsconsole and “Network and Management Interface” /  “Emergency Network Reset” –  this function will reboot host.

Leave a Reply

Your email address will not be published. Required fields are marked *