nsx lab – Configure DHCP Relay

For this lab you will need a DHCP server, if you have followed the lab design, it should be easy enough to add this to the pdc.
Once done create a scope for 172.16.50.10-20 with 172.16.50.1 as the gateway

Also you will need a vm configured for dynamic ip assignment.

 

NSX-Lab-ESG - DHCP Relay

1. Add Logical switch

dhcp-createlogicalswitch

 

2. Add interface on Perimeter Gateway,
connect to new logical switch
add ip for LIF

dhcp-addinterface

dhcp-addinterface-2

 

3. Enable DHCP on Perimeter Gateway and add DHCP Server IP

dhcp-conf-1

 

4. Add DHCP Relay Agent on Perimeter Gateway

dhcp-conf-2

 

5. Publish the changes

6. Create a vm with dhcp ip address and add to dhcp virtual wire
run ifdown and ifup and verify if collects dhcp address