Tuesday, April 17, 2012

Changing router address in nutanix

On controller VMs:
1. nutanix@NTNX-Ctrl-VM-2-NTNX:/etc/network$ more interfaces (change it for startup)
2. route add default gw ( to change it live without rebooting)
route delete default gw
3. cluster.cfg (change cluster.cfg on one and push it to others and vma)
grep gateway cluster.cfg
gateway =
4. Verify: netstat -r
5. You may have to use route delete the old address.
1.route add -net default gw
route delete -net default gw

2. vi-admin@pds-nxvma:/etc/sysconfig/network> cat routes
default - -
3. Verify - netstat -r
4. cluster.cfg
5. You may have to delete the old route.
On ESXi:
/etc #

VMkernel default gateway is
/etc # esxcfg-route -l
VMkernel Routes:
Network Netmask Gateway Interface Local Subnet vmk0 Local Subnet vmk1
default vmk0

VMWARE HA: isolation address
If old route is there, you may have to delete it. Vmware HA isolation IP might be using old router address, you can change it by disabling and enabling HA or changing this das.isolationaddress http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1006421