This is part 5 of the NSX Distributed Logical Router (DLR) and Edge Services Gateway (ESG) with OSPF configuration guide, describing the configuration of OSPF and DLR DHCP Relay to an external DHCP Server.
This is a five part series describing the steps to deploy DLR and ESG with OSPF:
What are we trying to do in this section?
Configure OSPF on the Distributed Logical Router (DLR)
Configure OSPF on the Edge Services Gateway (ESG)
Configure a Static Route on the External Router
The external router or firewall that is terminating the external network requires a “Static” route for the “10.x.x.x/255.0.0.0” networks created within NSX. This is required for return traffic from the external router/firewall to make its way back into the NSX eco-system. The instructions below describe adding a static route to the Huawei LTE 4G Router.
Verify OSPF is running End-to-End
Configure DHCP Server on the Edge Services Gateway (ESG)
This will only work for an “Internal” interface that is directly connected to ESG virtual appliance. You cannot configure a DHCP Pool on an ESG and then use the DHCP Relay function from the DLR to get an IP address from the ESG.
Configure DHCP Relay on the Distributed Logical Router (DLR)
Power-On Two VMs and test DHCP Relay, E/W & N/S Traffic