NSX-T: Deleting route advertisement filters via API



When creating a DHCP server in NSX-T, a route advertisement filter is automatically created for you.  This is so that the DHCP server is prevented from advertising DHCP addresses outside of your fabric.  This is fine for the most part, but there are occasions where the DHCP subnet you allocated may overlap a DNS forwarder IP that you may have setup before.

Honestly, this feels like a logic bug to where it shouldn't allow this, but oh well.  

Detailed Steps

Anyway, all you have to do is delete the DHCP server in question, but in some cases, the route filter may not be deleted along with it.

In that case, you can delete the route filter itself via the Manager UI:

  1. Select Manager > Networking > Tier-1 Logical Routers > T1 in question > Routing > Route Advertisement > Select DHCPServerRouteFilter > Delete.
In the case where the delete option is greyed out, you can use the below curl code to clear it out.  This is the last ditch effort, so only do it if you absolutely know what you are doing:


Popular posts from this blog

NSX-T: vCenter and NSX-T Inventory out of Sync (Hosts in vSphere not showing up in NSX-T)

MacOS: AnyConnect VPN client was unable to successfully verify the IP forwarding table modifications.

Azure VMware Solution: NSX-T Active/Active T0 Edges...but