Learn NSX – Part-11 (Create Distributed Logical Router)

In the Previous post, We have discussed about creating logical switches and now workloads have L2 adjacency across IP subnets with the help of VXLAN. In this post, we are going to enable routing between multiple Logical switches.

Topology:

12

An NSX Edge logical router provides routing and bridging functionality. With distributed routing, virtual machines that reside on the same host on different subnets can communicate with one another without having to traverse a traditional routing interface.

Prerequisites before deploying DLR

  • At least one deployed NSX Controller node
  • At least one logical switch

NOTE – A DLR router instance cannot be connected to logical switches that exist in different transport zones.

1 – Log in to the vSphere Web Client and click Networking & Security.

2 – Select NSX Edges under the Networking & Security section.

1

Click the green + icon to add a new NSX Edge.

2.gif

3 – In the Name and description dialog box:

  1. Select Logical (Distributed) Router as the Install Type.
  2. Enter the name in the Name text box. This name appears in your vCenter inventory and should be unique across all logical routers within a single tenant.
  3. Enter a host name for the distributed logical router in the Hostname text box.
  4. Enter a description in the Description text box.
  5. Enter tenant details in the Tenant text box.
  6. Deploy Edge Appliance is selected by default. An NSX Edge appliance is required for dynamic routing and the logical router. (This is only required only if you want to dynamic routing and firewalling).NOTE – An NSX Edge appliance cannot be added to the logical router after the logical router has been created.
  7. Select Enable High Availability to enable and configure high availability. High availability is required for dynamic routing.
  8. Click Next.

3

4 – In the Settings dialog box:

  1. Leave the default user name of admin in the User Name text box.
  2. Enter a password in the Password and Confirm Password text boxes.
  3. Select the Enable SSH access check box.
  4. Select EMERGENCY from the Edge Control Level Logging drop-down menu.
  5. Click Next.

4

5 – In the Configure deployment dialog box:

  1. Select the data center from the Datacenter drop down list.
  2. Click the green + icon in the NSX Edge Appliances
  3. Select the cluster or resource pool from the Cluster/Resource Pool drop-down menu.
  4. Select the datastore from the Datastore drop-down menu.
  5. Select the host from the Host drop down list (Optional).
  6. Select the folder from the Folder drop-down menu (Optional).
  7. Click OK and click Next.

5

6

6 – In the Configure Interfaces dialog box:

  1. Under the HA Interface Configuration section, click Select next to the Connected To selection box to choose the appropriate logical switch or distributed port group. Generally, this interface should be connected to the management distributed port group.
  2. Under the Configure interfaces of this NSX Edge section, click the green + icon to create a logical interface.
  3. Enter the logical router interface name in the Name text box.
  4. Select the Internal or Uplink radio button as the Type.
  5. Click Change next to the Connected To selection box to choose the appropriate logical switch with which to connect the interface.
  6. Select Connected for Connectivity Status.
  7. Under the Configure subnets section, click the green + icon and assign an IP address and subnet prefix length. Click OK.
  8. Repeat steps b through g for all interfaces to be created.
  9. Click OK and click Next.

7

89

7 – In the Default gateway settings dialog box, deselect the Configure Default Gateway check box and click Next.

10

8 – In the Ready to complete dialog box, review the configuration and click Finish.

11

NOTE – for HA interface do not use an IP address that exists somewhere else on your network, even if that network is not directly attached to the NSX Edge.

Happy Learning 🙂

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: