We have NSX 3.1.3.1.0.18504672 on VCF on VxRail. It seems some of the hosts have lost thier DHCP allocatted IP's for the NSX Overlay Network. Is there anyway to force the VMK's to renew thier DHCP addresses - using CLI possible, rather than rebooting the host?
You can try to disable and re-enable the VMK interface with esxcli command to renew IP of VMkernel port from DHCP.
Thanks Rick
With these commands?
esxcli network ip interface set -i <vmknic> -e false
esxcli network ip interface set -i <vmknic> -e true
Will I also see this?
The enable command may fail if the vmknic is on vSphere Distributed Switch( vDS), you may see an error similar to:
$ esxcli network ip interface set -i <vmknic> -e true
SysinfoException: Node (VSI_NODE_net_tcpip_instances_plumb) ; Status(bad0003)= Not found; Message= Instance(1):defaultTcpipStack Input(7) if=5 dvsId=50 2d a8 69 09 fb cf a1-ed 8b 32 a4 7a a6 2c e6 portId=528 cnId=819161394 macaddr=00:50:56:64:8d:7f tsomss=65535 mtu=1500
Thanks
Yes, using the following commands you get an error?
esxcli network ip interface set -e false -i <vmk>
esxcli network ip interface set -e true -i <vmk>