Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
VMware vSphere 6.7 Cookbook

You're reading from   VMware vSphere 6.7 Cookbook Practical recipes to deploy, configure, and manage VMware vSphere 6.7 components

Arrow left icon
Product type Paperback
Published in Aug 2019
Publisher
ISBN-13 9781789953008
Length 570 pages
Edition 4th Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Abhilash G B Abhilash G B
Author Profile Icon Abhilash G B
Abhilash G B
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Deploying a New vSphere 6.7 Infrastructure FREE CHAPTER 2. Planning and Executing the Upgrade of vSphere 3. Configuring Network Access Using vSphere Standard Switches 4. Configuring Network Access Using vSphere Distributed Switches 5. Configuring Storage Access for Your vSphere Environment 6. Creating and Managing VMFS Datastores 7. SIOC, Storage DRS, and Profile-Driven Storage 8. Configuring vSphere DRS, DPM, and VMware EVC 9. Achieving High Availability in a vSphere Environment 10. Achieving Configuration Compliance Using vSphere Host Profiles 11. Building Custom ESXi Images Using Image Builder 12. Auto-Deploying Stateless and Stateful ESXi Hosts 13. Creating and Managing Virtual Machines 14. Upgrading and Patching Using vSphere Update Manager 15. Securing vSphere Using SSL Certificates 16. Monitoring the vSphere Infrastructure 17. Other Books You May Enjoy

Configuring the ESXi Management Network

After installing ESXi, it is essential to configure its management network. The management network configuration is associated with a VMkernel interface. Think of it as a virtual network interface for VMkernel. We will learn more about these in the Chapter 3, Configuring Network Access Using vSphere Standard Switches. ESXi hypervisor runs a DHCP client, so it procures a DHCP address if there is a DHCP server on its network; however, in most cases, this is not enough. For instance, if your management network is on a VLAN, then you will need to configure a VLAN ID. Also, it is recommended to assign a static IP address for ESXi's management network.

In this recipe, we will use the Direct Console User Interface (DCUI) to achieve this.

Getting ready

You will need the following information to proceed with the steps:

  • You will need access to the server's remote console via its IPMI interface (Dell DRAC, HPE ILO, Cisco KVM).
  • The password for the root account.
  • TCP/IP configuration - IP address, subnet mask, IP gateway address, VLAN ID, DNS server addresses, and hostname.

How to do it...

The following procedure will guide you through the steps that are required to set up the TCP/IP configuration for ESXi's management network:

  1. At the main screen of ESXi, hit F2 to log in to the DCUI by supplying the root password.
  2. Navigate to Configure Management Network and hit Enter:

  1. The Configure Management Network screen will present you with options to select the Network Adapters, assign a VLAN ID if necessary, and configure the IPv4/IPv6 settings and DNS configuration. Each of these sections can be selected by hitting Enter and then using the onscreen instructions to select/modify/confirm the settings:
  1. The Network Adapters section can be used to assign/unassign adapters to the Management Network Port Group. Use the onscreen instructions to make selections and confirm them:
  1. The VLAN (optional) section is used to supply a VLAN ID for the interface. The IPv4 Configuration section is used supply an IP Address/Subnet Mask/Default Gateway:
  1. The IPv6 Configuration section is used to supply IPv6 addresses. IPv6 is enabled by default. If IPv6 is not required for your environment, select the Disable IPv6 (restart required) option and hit Enter.
  2. The DNS Configuration section can be used to supply primary/alternate DNS server addresses and hostnames:
If you do not supply an FDQN when setting the hostname, then ensure that you configure a Custom DNS Suffix.

  1. Custom DNS Suffixes are optional if you used an FQDN as a hostname in the previous step:
  1. Once you are done with all the network configuration, while on the Configure Management Network: Confirm screen, hit Esc. You will be prompted to apply the changes by restarting the management network. Hit Y to apply the settings and reboot the hosts:
  1. Once the reboot is complete, you should be able to reach the ESXi host over the network. From here, the ESXi host can be managed directly using the host client or can be added to vCenter Server.

How it works...

Much like the VMs that would run on the ESXi hosts, the VMkernel would also need to interface with the network for a variety of purposes. These interfaces act as network node points for the VMkernel. The very first VMkernel interface - vmk0 is created during the installation of ESXi. This interface is the management interface for the ESXi host. VMware allows you to create a maximum of 256 (vmk0 – vmk255) VMkernel interfaces on an ESXi host.

The use cases include interfaces for Management traffic, VMotion traffic, FT traffic, Virtual SAN traffic, iSCSI, and NAS interfaces. Since each interface is a network node point, it will need an IP configuration and a MAC address.

The first VMkernel interface (vmk0) will procure the MAC address of the physical NIC it is connected to. The remaining interfaces pick up the VMware OUI MAC address that's generated by the ESXi host.

OUI MAC addresses

Every physical network interface will have a burned-in 48-bit MAC address whose numbering is organizationally unique. This is because every vendor that makes the card will have a set of organizationally unique identifiers (OUI) assigned to them by the Institute of Electrical and Electronics Engineers (IEEE).

VMware also has a set of OUIs assigned to it, that is, 00:50:56 and 00:0C:29. Although both OUIs are used differently, they can be assigned to virtual machine NICs and the VMkernel interface.

All VMkernel interfaces except for vmk0 will receive a MAC address with a OUI of 00:56:54.
You have been reading a chapter from
VMware vSphere 6.7 Cookbook - Fourth Edition
Published in: Aug 2019
Publisher:
ISBN-13: 9781789953008
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime