Configure IP Address and Hostname in ESXi Server

Share This Article: Share on Facebook0Share on Google+0Tweet about this on TwitterShare on LinkedIn0Pin on Pinterest0Email this to someone

After installing ESXi host, the very first thing you would want to do is configure IP address and Host name in ESXi server. By default, the hostname is called localhost the IP address is set to DHCP client. So, in this post I will show steps to configure IP address and hostname in ESXi server.

Configure IP Address and Hostname in ESXi Server

You need to have physical access to the server to configure IP address  in ESXi server. . Press F2 to log in to Direct Console User Interface (DCUI) of ESXi server. You can configure DNS and hostname using vSphere client. 

Configure IP Address and Hostname in ESXi Server

Enter the password for root user account. Press [Enter]. You will be presented with list of system customization list as shown below.

Configure IP Address and Hostname in ESXi Server

As you can see above, the IP address 192.168.0.22 was acquired from DHCP server. Select Configure Management Network option and press [Enter].

IP Configuration

Here, you can configure IPv4, IPv6, DNS, DNS suffies and VLAN. To configure IPv4, select IPv4 Configuration option and press [Enter].

IP Address

Choose option, set static IPv4 address and network configuration. Press [Space Bar] to make the selection. Now, type IP address, subnet mask and gateway as shown above and press [Enter]. Then press [Esc] key to go back.

mgmt network

You will be asked to confirm the changes and restart the network. Press [Y] to restart the management network.

DNS Configuration

Now, select DNS Configuration option and press [Enter].

DNS and HostName

Configure primary and alternate DNS server and hostname. Press [Enter]. Press [Esc] to go back, you will again be asked to confirm the changes and restart management network.

Made Changes

As you can see above IP address and hostname have now changed. In this way you can configure IP address and hostname in ESXi server.

The following two tabs change content below.
Bipin is a freelance Network and System Engineer with expertise on Cisco, Juniper, Microsoft, VMware, and other technologies. You can hire him on UpWork . Follow Bipin Giri on Google+. Bipin enjoys writing articles and tutorials related to Network technologies. Some of his certifications are, MCSE:Messaging, JNCIP-SEC, JNCIS-ENT, and others.