EVPN/VxLAN Border-Leaf – Common Questions

bgpciscoevpnNetworkrouting

enter image description here

I have couple of question in above design where i have typical clos network design and my leafs are configured for Cisco vPC for redendency and anycast gateway and running OSPF for underlay and BGP for overlay using ASN 65000

Question:

  1. what is the best way to connect ISP for internet access over eBGP using border-leaf, do vPC is better solution or without vPC (what are the advantage or disadvantage?)

  2. If my overlay BGP using ASN 65000 (private) and now i want to connect to ISP/Internet using my IANA registered ASN in that case how i can peer my border-leaf with ISP using eBGP peer? because i already have bgp 65000 process running on border-leaf?

Best Answer

VPC is a mechanism to achieve L2 multihoming. Connecting to an ISP with eBGP is very much an L3 exercise - and, as such, you're likely better off just establishing a second peering to another leaf. This is both a more scalable and simpler mechanism to establish connectivity. Leave VPC (or really any mLAG) for dual-attaching end-hosts and connecting to legacy networks.

Peering to an ISP router from an EVPN border leaf isn't going to look a whole lot different than a normal BGP connection and will be terminated within a VRF on on a standard L3 interface (i.e. not an SVI configured for anycast). You're going to use the local-as command to identify as your public ASN. The routes you receive from your upstream peer will be re-originated as type-5 EVPN routes to the other VTEP's in the fabric that are carrying the vrf in question (read: are importing the appropriate route-target).

Now - all that said - whether you want to propagate a full view within a vrf is a whole other question. It's absolutely possible, but a more typical design would have a series of dedicated border devices handling the full views and injecting defaults (or defaults plus some specific set of routes). In short, is it really necessary to carry 700K+ routes within a vrf on a leaf that's simply connecting a bunch of servers? This isn't really a point about EVPN, though - much the same would apply in a classical IP environment, MPLS, etc.

Related Topic