4. Lets Prepare Logical Switch Networks Now:

We no longer associate port groups with vlan, we are going to associate with vxlan.

VLAN setting is 0. 4, MTU setting is 1600. For VMKNic IP Addressing, click Use IP Pool. Select New IP Pool from the IP Pool drop-down menu, provide ip address scope and default gateway IP

By default, NSX creates a single VTEP per host.

VXLAN will create vmkernel adapter on host.

On the Logical Network Preparation tab as below, click Segment ID. Click Edit to open the Segment ID pool
Configure the VXLAN ID Pool
Segment ID Pool Enter 5000-5999. Enable multicast addressing Leave the check box deselected.

3. Prepare ESXi Hosts for NSX

Lets prepare Cluster for NSX

Click on Networking & Security and navigate to Installation > Host Preparation tab and select the cluster and click on gear button to start installation of NSX VIB’s. NSX will start pushing the required VIB’s on host. Its similar to RPM in linux.

Verify NSX vibs by running esxcli software vib list | grep nsx [root@localhost:~] esxcli software vib list | grep nsx

Modules: vmkload_mod -l | grep nsx

It looks like below once Host is prepared for NSX

netcpa gets deployed during the NSX host preparation stage, netcpa is for communication with controllers. Please check service below on esxi host.

Verify the vsfwd process is in a running state using the following command:

/etc/init.d/vShield-Stateful-Firewall status

2. Configure and Deploy an NSX Controller Cluster

NSX controllers are required for dlr-logical router, vxlan-logical switching so we go with configure and deploy NSX controllers before host preparation. NSX controller is the central point for all logical switches. NSX Controller cluster are responsible for updating esxi hosts on the state of logical switches.

Create three NSX Controller nodes in each NSX Controller cluster.

Installation –> Management –> Add controller

Click plus sign, in the Add Controller dialog box, configure and deploy NSX Controller instance as below. Select respective NSX Manager, add details respective details. Click the Connected To > Select link-In the Select Network dialog box, select Distributed Portgroup from the Object Type drop-down menu. In the Available Objects list, select portgroup and click OK. Click the IP Pool > Select link. At the bottom of the Select IP Pool dialog box, click the New IP Pool link. This IP pool is used for ip addressing NSX controllers.

NOTE: Anti affinity rule for controllers so that it will be on different ESXi hosts.

About Me

I am Vijay Jaggala, I work for VMware as Site Reliability Engineer. I’m into vmware products and have exposure on vSphere, vCloud Director, VMware NSX, NSX-T, vSAN, VMware Horizon, VMware SD WAN Velocloud etc.