Note: To perform the steps in this section, connect to ESXi using the remote access console tools (such as iLO, DRAC, RAS etc.) or KVM attached to the physical server hardware.
Configuring static IP settings from the console
To configure static IP settings from the console:
- Press F2 to examine the default configuration.
- Press the down-arrow key to select Configure Management Network and press Enter.
- Press the down-arrow key to choose IP Configuration and press Enter.
- Press the down-arrow key to choose Set static IP address and network configuration and press the spacebar.
- Press the down-arrow key to choose IP Address.
- Press the backspace key to clear the current IP address, then enter a new IP address.
- Press the down-arrow key to choose Subnet Mask.
- Press Backspace to delete the current Subnet Mask.
- Enter a new Subnet Mask.
- Press the down-arrow key to choose Default Gateway.
- Delete the existing Default Gateway.
- Enter a new Default Gateway.
Configuring DNS settings
When you configure DNS settings, you can choose either manual or automatic Domain Name System (DNS) configuration of the ESXi host. By default, DNS configuration is automatic. The automatic setting enables a DHCP server to acquire DNS information. For automatic DNS to work, your network environment must have a DHCP server and a DNS server. In network environments where automatic DNS is not available or not desirable, you can configure static DNS information, including a host name, a primary name server, a secondary name server, and DNS suffixes. If you configure static IP address networking for your ESXi host, you also need to configure static DNS information.
If you are local to the host, use the direct console to configure DNS information. If you are not local to the host, use VI Client to configure DNS information.
To configure DNS settings from the console:
- Press the down-arrow key to choose Configure Management Network and press Enter.
- Press the down-arrow key to choose DNS Configuration and press Enter.
- Press the down-arrow key to choose Use the following DNS server addresses and hostname and press the spacebar.
- Delete the current primary server, alternate server, and host name.
- Enter a static primary server, alternate server, and host name.
- Press Enter.
To configure DNS suffixes from the console:
Note: By default, DHCP acquires the DNS suffixes.
- Press the down-arrow key to choose Configure Management Network and press Enter.
- Press the down-arrow key to choose Custom DNS Suffixes and press Enter.
- Press Backspace to delete the current DNS suffixes.
- Enter new DNS suffixes.
- Press Enter.
To configure DNS settings from the vSphere/VI Client:
- From the vSphere/VI Client, choose the host in the inventory.
- Click the Configuration tab.
- Click DNS and Routing.
- Click Properties on the top right corner.
- In the DNS Configuration, specify the Preferred and Alternate DNS server.
- Click OK.