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.
- In the vSphere 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.
Page Option DNS Configuration 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.
- (Optional) Use the Search domains text box to specify DNS suffixes to use in DNS search when resolving unqualified domain names.
Routing Edit the VMkernel gateway information.Note: Removing the default gateway might cause the client to lose connectivity with the host. Name Change the name of a custom TCP/IP stack Advanced 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