Latest / CyberSecurity Summary / The Fast-Track Guide to VXLAN BGP EVPN Fabrics: Implement Today’s Multi-Tenant Software-Defined Networks
Transcript
- 0:00Speaker 1: Welcome back to the deep dive. We are really getting
- 0:03Speaker 1: into the weeds today. Oh yeah, yeah, we're tackling vxland
- 0:06Speaker 1: BGP EVPN fabrics. I mean, this is the stuff running
- 0:10Speaker 1: modern data centers, the real backbone.
- 0:12Speaker 2: It definitely is. And you know, it's a huge shift
- 0:15Speaker 2: from how things used to be done totally.
- 0:17Speaker 1: We're talking about moving away from those older kind of
- 0:20Speaker 1: clunky three tier designs.
- 0:22Speaker 2: Right exactly. This is the fast track guide basically to
- 0:24Speaker 2: understanding that jump to well high speed, really scalable software
- 0:29Speaker 2: defined networks.
- 0:30Speaker 1: So what problem does VXLANT actually solve? Why do we
- 0:33Speaker 1: need this shift?
- 0:34Speaker 2: Well, the old way just hit a wall. Traditional campus designs,
- 0:37Speaker 2: heavy on layer two spanning tree, they just couldn't scale,
- 0:42Speaker 2: not for the kind of density and speed modern applications demand.
- 0:46Speaker 1: Yeah, you think about virtualization, multi gig traffic everywhere. The
- 0:49Speaker 1: old models just choked, didn't.
- 0:50Speaker 2: They They really did. You need a predictable performance, active
- 0:54Speaker 2: paths everywhere, not just stand by links, and that's what
- 0:57Speaker 2: this fabric is built for.
- 0:58Speaker 1: Okay, So let's unpack this, starting right the bottom, the
- 1:00Speaker 1: physical setup, the spine and leaf architecture.
- 1:03Speaker 2: Right. The keyword here is symmetry. Every leaf switch connects
- 1:08Speaker 2: to every spine switch.
- 1:10Speaker 1: Bull mesh between layers basically exactly.
- 1:12Speaker 2: And what that do you is a super predictable traffic pattern.
- 1:16Speaker 2: Any device connected to a leaf is always just two
- 1:19Speaker 2: hawks away from any other device source leaf.
- 1:21Speaker 1: To a spine to the destination leave always always.
- 1:25Speaker 2: That predictability is golden for performance.
- 1:27Speaker 1: Makes sense, Yeah, So let's define those roles a bit
- 1:30Speaker 1: more clearly. The spine layer it connects the leaves, aggregates traffic.
- 1:35Speaker 2: It connects the leaves, yes, but it's doing much more
- 1:38Speaker 2: than just layer two aggregation. Now, in these layer three fabrics,
- 1:41Speaker 2: the spines are pure routers. They are the high speed
- 1:45Speaker 2: core and crucially they act as the BGP EVPN route reflectors.
- 1:49Speaker 1: AH, reflecting the roots down to the.
- 1:51Speaker 2: Leaves precisely, and they often handle multicasts two acting as
- 1:54Speaker 2: rendezvous points or oreps for the underlay network and.
- 1:57Speaker 1: The leaf layer. This is where things really change. The
- 2:00Speaker 1: traditional core functions move down here.
- 2:02Speaker 2: That's the fundamental shift. The leaves are where your servers,
- 2:06Speaker 2: your device is connect but they're also making the main
- 2:09Speaker 2: routing decisions. Now. They are the layer three cores distributed
- 2:12Speaker 2: across the whole fabric.
- 2:14Speaker 1: So Instead of one big core, you have lots of
- 2:16Speaker 1: smaller active.
- 2:17Speaker 2: Course exactly, all working together.
- 2:19Speaker 1: Okay, quick question. Then, if the spines are central for
- 2:23Speaker 1: commutation like those route reflectors, what happens if one fails?
- 2:28Speaker 1: Doesn't that break things?
- 2:30Speaker 2: That's where the design shines. You always have at least
- 2:32Speaker 2: two spines, since every leaf connects to all of them.
- 2:35Speaker 2: If one spine goes down, traffic just instantly moves over
- 2:39Speaker 2: the links to the other active spine or spines.
- 2:42Speaker 1: Okay, built in redundancy totally.
- 2:44Speaker 2: Built in, and you get redundancy at the leaf level
- 2:47Speaker 2: too for servers connecting to multiple leaves using things like VPC.
- 2:50Speaker 2: The physical resilience is just inherent.
- 2:52Speaker 1: Okay, physical structure makes sense. Now, This is where my
- 2:55Speaker 1: brain starts to hurt a little. The underlay and the overlay.
- 2:58Speaker 2: Ha. Yeah, let's use that roller coaster analogy. It actually
- 3:01Speaker 2: works pretty well.
- 3:02Speaker 1: Okay, hit me with it.
- 3:03Speaker 2: So the underlay, think of it as the physical roller
- 3:06Speaker 2: coaster track, the motors, the breaks. It's the foundation the
- 3:11Speaker 2: physical links between spines and leaves exactly. Its only job
- 3:14Speaker 2: is basic IP reachability, making sure all the key interfaces
- 3:18Speaker 2: on the leaves and spines can talk to each other.
- 3:20Speaker 2: It usually runs a simple routing protocol like OSPF or
- 3:24Speaker 2: isis just to.
- 3:25Speaker 1: Build that basic connectivity.
- 3:26Speaker 2: Map, right, And because of that spine and leaf connection pattern,
- 3:30Speaker 2: we get to use equal cost multipath routing ECMP. All
- 3:34Speaker 2: those links between a leaf and the multiple spines, they're
- 3:36Speaker 2: all active, all forwarding traffic at the same time.
- 3:39Speaker 1: So it's like layer three link aggregation, super fast.
- 3:42Speaker 2: Super fast, and super resilient. That's the underlay, the solid
- 3:45Speaker 2: fast foundation.
- 3:46Speaker 1: Okay, foundation lay. Now the overlay the roller coaster cars
- 3:50Speaker 1: and the riders.
- 3:51Speaker 2: That's it. This is where the vxcellent magic happens. The
- 3:53Speaker 2: overlay runs on top of that physical underlay. Vxcel An
- 3:56Speaker 2: takes your normal layer two frame like an Ethernet frame
- 3:59Speaker 2: from a server, and wraps it up inside a layer
- 4:01Speaker 2: three UDP packet. It tunnels L two over L three.
- 4:05Speaker 1: Okay, and it uses BGP EVPN to manage all this exactly.
- 4:12Speaker 2: EVPN is the control plane for this overlay. But the
- 4:16Speaker 2: real game changer vx land brings is multi tenancy AH.
- 4:20Speaker 1: Separating different customers or departments. So in the analogy, each
- 4:24Speaker 1: roller coaster car is a tenant like a VRF.
- 4:28Speaker 2: Perfect Each car is a VRS a separate routing world,
- 4:32Speaker 2: and the riders in that car are the vlands belonging
- 4:35Speaker 2: to that tenant.
- 4:36Speaker 1: And riders in different cars can't just talk to each other.
- 4:38Speaker 2: Nope, completely isolated by default unless you specifically build bridges
- 4:43Speaker 2: can figure route leaking between them.
- 4:45Speaker 1: Okay, that isolation is huge now practical point. Yeah that wrapping,
- 4:48Speaker 1: that encapsulation adds overhead, right, yeah.
- 4:51Speaker 2: Big time, about fifty bytes or so. So so you
- 4:54Speaker 2: absolutely must enable jembo frames on all those underlay links.
- 4:57Speaker 2: And to you nine thousand maybe.
- 4:58Speaker 1: Higher, right, because if you don't, what happens.
- 5:01Speaker 2: Fragmentation city small pings might work, but try moving a
- 5:03Speaker 2: real file. Packets get chopped up performance tanks. It's like
- 5:06Speaker 2: the number one deployment.
- 5:07Speaker 1: Gotcha, good tip, don't forget the mtumm. Okay, So moving
- 5:11Speaker 1: up to the control plane. This is really the heart
- 5:13Speaker 1: of EVPN, isn't it. Shifting from data plane learning.
- 5:16Speaker 2: Like flooding and praying with spanning tree.
- 5:18Speaker 1: Yeah, that mess, shifting that intelligence to the control plane
- 5:22Speaker 1: with BGPEVPN. What's the big win there? Operationally?
- 5:26Speaker 2: Oh, operationally it's night and day. Think about troubleshooting layer
- 5:29Speaker 2: two loops before it.
- 5:30Speaker 1: Was awful, tell me about it.
- 5:32Speaker 2: With EVPN, the local leaf sees m address, learns its
- 5:37Speaker 2: IP and bang, it advertises that MSEP pair as a
- 5:40Speaker 2: BGP route to.
- 5:41Speaker 1: The route reflectors the spines right.
- 5:43Speaker 2: The spines reflected to other leaves that need it. No
- 5:45Speaker 2: more network wide flooding to learn max CS.
- 5:48Speaker 1: So finding where a device is becomes a routing lookup,
- 5:51Speaker 1: not a frantic MP table search across dozens.
- 5:54Speaker 2: Of switches exactly. Troubleshooting L two problems becomes essentially L
- 5:58Speaker 2: three troubleshooting, much much easier.
- 6:01Speaker 1: Okay, so we've killed most broadcast issues, but what about
- 6:04Speaker 1: necessary evils like you know, ARP broadcast, unknown unicast, multicast
- 6:09Speaker 1: the bum traffic.
- 6:10Speaker 2: Right, you still need some way to handle that. VX
- 6:12Speaker 2: lane uses multicast in the underlay for this, Basically bum
- 6:15Speaker 2: traffic for a specific VX line segment of V and
- 6:18Speaker 2: I gets mapped to a specific multicast group in the underlay, and.
- 6:22Speaker 1: The spines act as the rps for those multicast groups.
- 6:26Speaker 2: Usually, yeah, you'd configure the spines as the rendezvous points,
- 6:29Speaker 2: and you'd want redundancy there too, using something like any
- 6:32Speaker 2: cast RP. So both spines can handle it actively makes sense.
- 6:36Speaker 1: Let's nail down a couple of interface terms, NVE and VTT.
- 6:40Speaker 1: They sound similar, they work together.
- 6:42Speaker 2: The NVE Network Virtual Interface is kind of the logical
- 6:45Speaker 2: engine on the leaf switch that does the actual vx
- 6:49Speaker 2: land encapsulation and decapsulation.
- 6:51Speaker 1: Thing, doing the wrapping and n wrapping right.
- 6:53Speaker 2: And the VTT Virtual Tunnel end point is the IP
- 6:56Speaker 2: address used as the source and destination for those vxland tunnels.
- 7:00Speaker 1: And that VTTPIP. It's usually a special loopback interface.
- 7:04Speaker 2: Always typically loop back one, and this is important. It's
- 7:07Speaker 2: different from the loopback you might use for the underlay
- 7:10Speaker 2: BGP peering, which is often loopback zero.
- 7:12Speaker 1: Why the separation why two loopbacks stability?
- 7:16Speaker 2: Mainly loopback zero is for the underlay riding protocol itself
- 7:20Speaker 2: rock solid reachability loop back one. The VTT address is
- 7:25Speaker 2: what the overlay tunnels use. Keeping them separate means if
- 7:28Speaker 2: something weird happens with your BGP peering, it doesn't necessarily
- 7:31Speaker 2: break your established vx land tunnels. It isolates the planes.
- 7:34Speaker 1: H good design practice. Okay, and we mentioned the spines
- 7:37Speaker 1: are rote reflekers. Why is that so vital for scaling?
- 7:40Speaker 2: Imagine if they weren't, every leaf switch would need a
- 7:43Speaker 2: direct BGP peering with every other leaf switch.
- 7:46Speaker 1: The full mesh Nightmare.
- 7:48Speaker 2: Total nightmare ten leaves forty five BGP sessions, twenty leaves,
- 7:52Speaker 2: one hundred and ninety sessions with route reflectors on the spines.
- 7:55Speaker 2: You add a new leaf, it just peers with the
- 7:57Speaker 2: say two spines, two new sessions.
- 7:59Speaker 1: That's it. That makes adding capacity way.
- 8:01Speaker 2: Way easier, massively easier. It's built for scale.
- 8:04Speaker 1: All right. Let's dig into that multi tenancy piece more
- 8:06Speaker 1: separation and routing between tenants. You mentioned. Roade targets are ts.
- 8:09Speaker 2: Yeah. Root targets are basically tags we attached to the
- 8:12Speaker 2: EVPN routes. Think of them like labels. They usually look
- 8:14Speaker 2: like as number, dot, I D maybe six five five
- 8:17Speaker 2: five zero one point one zero zero one or something.
- 8:20Speaker 1: And these tags control who gets witch routes exactly.
- 8:23Speaker 2: Each VRF each tenant has specific root targets. It exports
- 8:27Speaker 2: tags its routes with and imports accepts routes tagged with.
- 8:31Speaker 2: It's the BGP way of controlling visibility between virtual networks.
- 8:34Speaker 1: Okay, and we have two kinds of v and ies involved,
- 8:36Speaker 1: L two v and I and L three V and
- 8:38Speaker 1: I back to the roller custom let's do it.
- 8:39Speaker 2: The L two V and I. Think of that as
- 8:41Speaker 2: the identifier for a specific group of riders within one car.
- 8:45Speaker 2: It maps directly to a traditional VLAN So.
- 8:48Speaker 1: VLAN ten might become L two v and I one
- 8:50Speaker 1: zero ten something like that.
- 8:51Speaker 2: Yeah, it carries that layer two traffic across the fabric
- 8:55Speaker 2: and the big plus you can have over sixteen million
- 8:58Speaker 2: v and ees, way past the old four thousand VLAN.
- 9:01Speaker 1: Limit, huge scale increase. Okay, So that's L two V
- 9:04Speaker 1: and I for L two traffic within a tenant. What
- 9:06Speaker 1: about the L three V and I.
- 9:07Speaker 2: The L three V and I is different. It's not
- 9:09Speaker 2: for carrying VLAN traffic directly. It's the dedicated routing interface
- 9:12Speaker 2: for the entire VRF, the whole tenant car.
- 9:15Speaker 1: Okay, so what's its job?
- 9:16Speaker 2: Its only job is Layer three routing interviewland routing for
- 9:19Speaker 2: devices within that tenant, especially when they live on different
- 9:22Speaker 2: leaf switches.
- 9:23Speaker 1: Ah. So if a server on leaf one in VLAN
- 9:26Speaker 1: ten needs to talk to a server on Leaf five
- 9:28Speaker 1: in VLAN twenty, but they're in the same tenet VRF.
- 9:31Speaker 2: The traffic goes from the source server to its leaf.
- 9:33Speaker 2: Leaf one gets routed using the shared gateway, encapsulated using
- 9:38Speaker 2: the L three V and I tunnel, sent across the
- 9:40Speaker 2: underlay to Leaf five, decapsulated, and then routed to the
- 9:44Speaker 2: destination server in Vland twenty.
- 9:46Speaker 1: Got it. The L three V and I is the
- 9:48Speaker 1: dedicated interview land highway for that tenant across the fabric.
- 9:51Speaker 2: Perfect analogy, and.
- 9:53Speaker 1: This ties into that fabric any cast gateway feature right,
- 9:55Speaker 1: making every leaf an active router.
- 9:57Speaker 2: Absolutely Forget old HSRP or VA, where one router was
- 10:01Speaker 2: active and the other just sat there waiting to fail.
- 10:03Speaker 1: Over wasting half your capacity.
- 10:05Speaker 2: Right with any cast gateway, all the leaf switches share
- 10:08Speaker 2: the exact same virtual MAC address and the same default
- 10:11Speaker 2: gateway IP address for a given v Land.
- 10:13Speaker 1: So a server just sends traffic to its gateway.
- 10:15Speaker 2: IP and whichever leaf receives it can immediately route it,
- 10:19Speaker 2: no tromboning traffic to a specific active core switch. Every
- 10:22Speaker 2: leaf is an active Layer three core for the v
- 10:24Speaker 2: lands it serves. It distributes the routing load beautifully.
- 10:28Speaker 1: Very cool. Okay, final big section, getting traffic in and
- 10:32Speaker 1: out of this fancy fabric external connectivity. We need a
- 10:35Speaker 1: border leaf for that YEP.
- 10:38Speaker 2: One or more leaves need to be designated as border leafs.
- 10:41Speaker 2: They're the ones physically connected to the outside world, the wan,
- 10:44Speaker 2: maybe a firewall cluster, the rest of the campus network.
- 10:47Speaker 1: And they need some extra configuration.
- 10:48Speaker 2: Obviously for sure, because now you're bridging the BGPEVPN world
- 10:51Speaker 2: with you know, potentially OSPF static routes whatever is running externally.
- 10:55Speaker 1: So when that border leaf learns an external route, say
- 10:59Speaker 1: from OSTF, how does it tell the rest of the
- 11:01Speaker 1: fabric about it.
- 11:02Speaker 2: Inside EVPN, it advertises those external prefixes as EVPN Type
- 11:07Speaker 2: five routes. That's the key type for external.
- 11:09Speaker 1: Reachability, okay, type five. And what is that rout Perry.
- 11:12Speaker 2: It carries the external prefix like your WHAN subnet. And critically,
- 11:16Speaker 2: the next hop for that route is set to the
- 11:18Speaker 2: vtep ip address of the border leaf itself.
- 11:21Speaker 1: Ah. So if leaf seven needs to send traffic to
- 11:23Speaker 1: the one it.
- 11:24Speaker 2: Sees the type five route sees, the next hop is
- 11:26Speaker 2: the border leaf's VTEP encapsulates the packet using the L three,
- 11:29Speaker 2: V and I tunnel pointed at the border leaf and
- 11:32Speaker 2: fires it off slick.
- 11:34Speaker 1: Okay, But now the tricky part integrating OSPF for something externally.
- 11:39Speaker 1: Isn't there a big risk of asymmetric routing?
- 11:42Speaker 2: Huge risk. This is probably the second biggest deployment headache
- 11:45Speaker 2: after MTU.
- 11:46Speaker 1: Traffic goes out border leaf A tries to come back
- 11:49Speaker 1: in be a border leaf B, and the firewall freaks
- 11:51Speaker 1: out because it didn't see the outbound.
- 11:52Speaker 2: Flow exactly that scenario state mismatch, broken connections. So the
- 11:57Speaker 2: goal has to be symmetric routing.
- 11:59Speaker 1: How do you force that?
- 12:00Speaker 2: You have to play with the routing protocol metrics or
- 12:01Speaker 2: administrative distances. You need to make sure the path back
- 12:05Speaker 2: into the fabric from the external network prefers the same
- 12:07Speaker 2: border leaf the traffic went out on.
- 12:09Speaker 1: So maybe making the EVPN route learn via IBGP more
- 12:13Speaker 1: preferred than the OSPF route.
- 12:15Speaker 2: That's a very common way. Default IBGP eight is two hundred,
- 12:19Speaker 2: but you can lower it, say below OSPFS one ten.
- 12:22Speaker 2: That usually ensures return traffic prefers the EVPN path back
- 12:26Speaker 2: through the correct border leaf. You got to make sure
- 12:28Speaker 2: forward and return paths match.
- 12:29Speaker 1: Gotcha last detail, the default route getting zero points zero
- 12:34Speaker 1: point zero zero zero advertised across the fabric, so everything
- 12:37Speaker 1: can reach the Internet, presumably via the border leaf you
- 12:40Speaker 1: mentioned needing two BGP commands for this.
- 12:43Speaker 2: Yeah, people trip over this. Sometimes you need default information
- 12:45Speaker 2: originate under the BGP VRF canfig that tells BGP, hey,
- 12:50Speaker 2: I want to advertise a default route.
- 12:52Speaker 1: Okay, step one.
- 12:52Speaker 2: But BGP won't advertise a route unless it's actually in
- 12:55Speaker 2: its BGP table. So you also need the network point
- 12:58Speaker 2: zero point zero point zero or a zero zero command
- 13:01Speaker 2: in that same VRF address family configuration.
- 13:03Speaker 1: To actually inject the route into BGP so it can
- 13:05Speaker 1: be originated exactly.
- 13:06Speaker 2: You need both default information originate enables it, networks point
- 13:10Speaker 2: zero point zero point zero zero zero, provides the route itself,
- 13:13Speaker 2: then the border LAFE advertises it as a Type five
- 13:15Speaker 2: and the whole fabric knows how to get out.
- 13:17Speaker 1: Makes perfect sense. Wow, Okay, we covered a lot of ground,
- 13:19Speaker 1: we really did, but the summary feels clear now. VX
- 13:22Speaker 1: land BGPEDPN. It smashes the old vland limits from massive scale,
- 13:26Speaker 1: gives you amazing performance with ECMP, and crucially uses that
- 13:30Speaker 1: smart control plane to dish the nightmare of layer two
- 13:33Speaker 1: loops and flooding.
- 13:34Speaker 2: Yeah, the big picture is this blend of layer two
- 13:37Speaker 2: VPN technology running over a solid layer three foundation. It's
- 13:41Speaker 2: all about flexibility, speed and making network deployments, especially using templates,
- 13:46Speaker 2: much faster and more reliable.
- 13:49Speaker 1: And for you listening, if you want to go even deeper.
- 13:51Speaker 1: The source material mentioned things like multipod and multi site,
- 13:55Speaker 1: extending this fabric idea across different data centers.
- 13:58Speaker 2: Right, making multiple physical sites look like one giant logical
- 14:02Speaker 2: fabric multipod more connecting separate fabrics together multi.
- 14:06Speaker 1: Site, which leads to our final thought.
- 14:08Speaker 2: If you're stretching one logical fabric across multiple physical locations,
- 14:11Speaker 2: maybe even miles apart, what's the absolute most critical routing
- 14:15Speaker 2: principle you have to maintain everywhere across all sites to
- 14:19Speaker 2: keep things working smoothly.
- 14:20Speaker 1: It's not just about can packets get there?
- 14:23Speaker 2: No, it comes back to symmetry and filtering, ensuring traffic
- 14:26Speaker 2: flows follow the same path out and back globally and
- 14:28Speaker 2: making sure your route filtering is consistent everywhere. That becomes
- 14:32Speaker 2: absolutely paramount. Get that wrong in a multi site setup
- 14:35Speaker 2: and you're in for a world of pain.
- 14:37Speaker 1: Something to definitely keep in mind. Okay, that was a
- 14:40Speaker 1: fantastic deep dive. Thanks for bringing this complex topic.
- 14:43Speaker 2: Glad we can unpack it.
- 14:44Speaker 1: And thank you for joining us. We'll Catch you next
- 14:46Speaker 1: time on the Deep Dive