NSX Edge supports OSPF, an interior gateway protocol that routes IP packets only within a single routing domain. It gathers link state information from available routers and constructs a topology map of the network. The topology determines the routing table presented to the Internet Layer, which makes routing decisions based on the destination IP address found in IP packets.

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

An OSPF network is divided into routing areas to optimize traffic. An area is a logical collection of OSPF networks, routers, and links that have the same area identification.

Areas are identified by an Area ID.

Router ID must have been specified. See Specify Global Configuration.

1

Log in to the vSphere Web Client.

2

Click Networking & Security and then click NSX Edges.

3

Double-click an NSX Edge.

4

Click Routing and then click OSPF.

5

Do one of the following.

Option

Description

For an Edge services gateway

Click Enable.

For a logical router

a

Click Edit at the top right corner of the window.

b

Click Enable OSPF.

c

In Forwarding Address, type an IP address that is to be used by the router datapath module in the hosts to forward datapath packets.

d

In Protocol Address, type a unique IP address within the same subnet as the Forwarding Address. Protocol address is used by the protocol to form adjacencies with the peers.

6

In Area Definitions, click the Add icon.

7

Type an Area ID. NSX Edge supports an area ID in the form of an IP address or decimal number.

8

Select Stub in the Type field. Typically, there is no hierarchical routing beyond the stub.

9

Select the type of Authentication. OSPF performs authentication at the area level, hence all routers within the area must have the same authentication and corresponding password configured. For MD5 authentication to work, both the receiving and transmitting routers must have the same MD5 key.

a

None: No authentication is required, which is the default value.

b

Password: In this method of authentication, a passwords is included in the transmitted packet.

c

MD5: This authentication method uses MD5 (Message Digest type 5 ) encryption. An MD5 checksum is included in the transmitted packet.

10

For Password or MD5 type authentication, type the password or MD5 key.

11

Click OK.

12

In Area to Interface Mapping, click the Add icon to map the interface that belongs to the OSPF area.

13

Select the interface that you want to map and the OSPF area that you want to map it to.

14

Hello Interval displays the default interval between hello packets that are sent on the interface. Edit the default value if required.

15

Dead Interval displays the default interval during which at least one hello packet must be received from a neighbor before the router declares that neighbor down. Edit the default interval if required.

16

Priority displays the default priority of the interface. The interface with the highest priority is the designated router. Edit the default value if required.

17

Cost of an interface displays the default overhead required to send packets across that interface. The cost of an interface is inversely proportional to the bandwidth of that interface. Edit the default value if required.

18

Click OK and then click Publish Changes.