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:
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.
Click the green + icon to add a new NSX Edge.
3 – In the Name and description dialog box:
- Select Logical (Distributed) Router as the Install Type.
- 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.
- Enter a host name for the distributed logical router in the Hostname text box.
- Enter a description in the Description text box.
- Enter tenant details in the Tenant text box.
- 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.
- Select Enable High Availability to enable and configure high availability. High availability is required for dynamic routing.
- Click Next.
4 – In the Settings dialog box:
- Leave the default user name of admin in the User Name text box.
- Enter a password in the Password and Confirm Password text boxes.
- Select the Enable SSH access check box.
- Select EMERGENCY from the Edge Control Level Logging drop-down menu.
- Click Next.
5 – In the Configure deployment dialog box:
- Select the data center from the Datacenter drop down list.
- Click the green + icon in the NSX Edge Appliances
- Select the cluster or resource pool from the Cluster/Resource Pool drop-down menu.
- Select the datastore from the Datastore drop-down menu.
- Select the host from the Host drop down list (Optional).
- Select the folder from the Folder drop-down menu (Optional).
- Click OK and click Next.
6 – In the Configure Interfaces dialog box:
- 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.
- Under the Configure interfaces of this NSX Edge section, click the green + icon to create a logical interface.
- Enter the logical router interface name in the Name text box.
- Select the Internal or Uplink radio button as the Type.
- Click Change next to the Connected To selection box to choose the appropriate logical switch with which to connect the interface.
- Select Connected for Connectivity Status.
- Under the Configure subnets section, click the green + icon and assign an IP address and subnet prefix length. Click OK.
- Repeat steps b through g for all interfaces to be created.
- Click OK and click Next.
7 – In the Default gateway settings dialog box, deselect the Configure Default Gateway check box and click Next.
8 – In the Ready to complete dialog box, review the configuration and click Finish.
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 🙂