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:

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

Temporarily it can be fixed by:

route del -net  netmask 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 *