VMware Networking Community
Dr_Virt
Hot Shot
Hot Shot

NSX-T BGP Peering by Subnet

We are running a tiered T0 architecture (Provider/Tenant). We spin up tenants with their own T0 and BGP peer that to the Provider T0. 

The question was asked if we could configure the BGP peering to accept all neighbors within a given subnet.

So, anyone know of a way to say "trust all neighbors on network 192.168.100.0/24"?

Reply
0 Kudos
4 Replies
Sreec
VMware Employee
VMware Employee

 

Does anyone know of a way to say "trust all neighbors on network 192.168.100.0/24"?

 May I know what we meant by trust?  Are you expecting a traffic inspection (L4/L7) ? or any routes from the respective neighbor must be injected directly into the routing table without any filtering? 

Cheers,
Sree | VCIX-5X| VCAP-5X| VExpert 7x|Cisco Certified Specialist
Please KUDO helpful posts and mark the thread as solved if answered
Reply
0 Kudos
Dr_Virt
Hot Shot
Hot Shot

The goal is route propagation. The Tenant T0 has public IP space assigned and needs to advertise its public IPs (NAT, LB, etc.).

Reply
0 Kudos
chandrakm
VMware Employee
VMware Employee

Based on my knowledge. by nature of BGP routing protocol peering is manual. unless you configure BGP peering on both ends, BGP peering will not come up automatically like OSPF or EIGRP. you can script it or preconfigure it if required.

Cheers,
Chandra | 2xVCIX | CCIE | TOGAF
Please KUDO helpful posts and mark the thread as solved if answered
Reply
0 Kudos
engyak
Enthusiast
Enthusiast

The feature BGP neighbor range / BGP neighbor subnet is not available on NSX-T Tier-0:

engyak_0-1653923665835.png

If it was, it'd only allow you to specify one ASN as well (and not an ASN range). Given that you probably should also be doing prefix filtering, this is a good job for the API. The payload only requires a few lines of JSON and is pretty doable, even if it needs to be chained after vCD.

This approach would let you keep your existing design pattern with minimal changes, and get allow your tenant Tier-0s/VRFs to have unique ASNs if you want.

Prefix Filtering:

https://vdc-download.vmware.com/vmwb-repository/dcr-public/ce4128ae-8334-4f91-871b-ecce254cf69e/488f... 

https://vdc-download.vmware.com/vmwb-repository/dcr-public/ce4128ae-8334-4f91-871b-ecce254cf69e/488f... 

Add BGP Neighbor via the API:
https://vdc-download.vmware.com/vmwb-repository/dcr-public/ce4128ae-8334-4f91-871b-ecce254cf69e/488f...

Reply
0 Kudos