If the DNS properties
are set, and you want to change the DHCP settings, you must specify the virtual
network adapter to use when overriding the system DNS.
You can override the
existing DHCP setting by using the following commands.
esxcli <conn_options> network ip interface ipv4 set --type dhcp/none/static
esxcli <conn_options> network ip interface ipv6 set --enable-dhcpv6=true/false
|