You can change the DNS and default gateway configuration of a TCP/IP stack on a host. You can also change the congestion control algorithm, the maximum number of connections, and the name of custom TCP/IP stacks.
You can change the DNS and default gateway configuration of the default TCP/IP stack only. Changing the DNS and default gateway configuration of custom TCP/IP stacks is not supported.
- In the vSphere Web Client, navigate to the host.
- On the Configure tab, expand Networking and select TCP/IP configuration.
- Select a stack from the table, click Edit and make the appropriate changes.
Change the name of a custom TCP/IP stack
Select a method of obtaining the DNS server.
Select Obtain settings automatically from a VMkernel network adapter and select a network adapter from the VMKernel network adapter drop-down menu
Select Enter settings manually and edit the DNS configuration settings.
Edit the Host name.
Edit the Domain name.
Type a preferred DNS server IP address.
Type an alternate DNS server IP address.
Use the Search domains text box to specify DNS suffixes to use in DNS search when resolving unqualified domain names.
Edit the VMkernel gateway information.Note:
Removing the default gateway might cause the client to lose connectivity with the host.
Edit the maximum number of connections and the congestion control algorithm of the stack
- Click OK to apply your changes.
What to do next
You can add static routes to additional gateways by using CLI commands. For more information, see http://kb.vmware.com/kb/2001426