VMware NSX Installation and Configuration Part 12-Configure OSPF on an Edge Services Gateway

Configuring OSPF on an edge services gateway (ESG) enables the ESG to learn and advertise routes. The most common application of OSPF on an ESG is on the link between the ESG and a Logical (Distributed) Router. This allows the ESG to learn about the logical interfaces (LIFS) that are connected to the logical router. This goal can be accomplished with OSPF, IS-IS, BGP or static routing.

OSPF routing policies provide a dynamic process of trafficload balancing between routes of equal cost.

An OSPF network is divided into routing areas to optimize traffic flow and limit the size of routing tables.

An area is a logical collection of OSPF networks, routers, and links that have the same area identification.

Procedure:

1.png

Double Click on ESG-1.

2.png

Under Dynamic routing configuration , select ESG uplink as a router ID and click OK.

3

Under OSPF click on OSPF configuration and select edit:

4.png

5

Now under Area definitions define area ID. We will use the same area ID 20, which we have used in DLR:

6.png

7

In area to interface mapping, we will select Transit interface and map it with area ID 20:

8.png

9

Under route redistribution, select edit and enable OSPF:

10.png

11

12.png

In the following screen, the ESG’s default gateway is the ESG’s uplink interface to its external peer.

The router ID is the ESG’s uplink interface IP address—in other words, the IP address that faces its external peer.

13.png

The area ID configured is 20, and the internal interface (the interface facing the logical router) is mapped to the area.

14.png

The connected routes are redistributed into OSPF so that the OSPF neighbor (the logical router) can learn about the ESG’s uplink network.

15.png

Make sure that the ESG is learning OSPF external routes from the logical router.

Log in to your ESG , and run “show ip route” command.

16.png

Note that the below two routes are defined on the DLR and ESG learned them via OSPF.

Guys this is it as of now , thanks for reading . i hope it was worth reading and do share on social media if you like the post.

One thought on “VMware NSX Installation and Configuration Part 12-Configure OSPF on an Edge Services Gateway

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