This seems like it should be so easy, right? I simply want to move vmk0 to a new subnet.
But it seems virtually impossible to do. If I use the vDS "manage hosts" option, it lets me change the IP, but not the default gateway, so of course the change rolls back.
Of course, if I change the default gateway before the IP, it also rolls back.
I tried adding a new vmk port with the new IP, selected it for management, and THEN changed the default gateway, and... it still didn't work.
The only way to make it work was to revert the host to a standard switch on the console, then I could reconnect and re-add it to the vDS. This is a particularly poor solution for migrating a number of hosts.
Seems like the "Migrate vmk0" dialog should have an option for changing default gw.
Thoughts? Am I missing an obvious way to do this?
Have you tried by disabling the rollback feature?
I wasn't aware that rollback could be disabled (thanks for the tip!) but it wouldn't really do any good because I'd lose communication and hence my ability to change the gateway. From what I can tell, the UI needs a way to change IP and gateway in one action, which doesn't seem to be possible.
Hello- I have struggled with this several times also but finally came up with this process to migrate our hosts to new IP/VLAN. Hope this help you or anyone else who has had issues with this.
- Create one more management network on new vSwitch with second NIC using New IP+Subnet.
- Migrate this vSwitch Port Group to vDS.
- Remove existing management network vSwitch.