Hello, still new but getting better. I have build a L2LS topology in GNS3 (2 SPINES-4 LEAVES). Built MLAG domains between each stack and also created MLAGs between the Spines and Leaves. Now I need to connect a host and have created VARP on leaf 101/102 for SVI VLAN 100 and that is up. Now how do I extend this to the Spines so they can route the traffic to Leafs 3 and 4? Do I just move VIP to the Spines? Is it that easy? Confused and trying but thanks again.
Usual design is to keep the Spines L3 and extend the L2 between Leafs using VxLAN. i.e From leaves to spine, the links will be L3 and we use a routing protocol (BGP, OSPF etc) to route the packets over Spine. When we have to route a L2 packet from one Leaf pair to another, we encapsulate that packet in VxLAN header and route using the encapsulated L3 header.
Including Spines and Leaves in the same broadcast domain isn't a recommended way. For one thing, STP would block many of the redundant links. If you do want everything in the same broadcast domain, the packets should reach Leafs 3 and 4 without moving the VIP to Spines.
Take a look at VxLAN white paper below for more information on use cases of VxLAN:
Once you have an understanding on why we use VxLAN, we have some considerations on what type of control plane you want to use. The simplest being Static configuration (which does not scale well). Then we have other options like CVX (Arista implemented centralized controller for VxLAN) and EVPN (standardized protocol using BGP for control plane). Based on your requirements, you can choose what you want to configure.
There are guides for each of these:
Hope this helps. Let me know if you have any questions
ok thank you Bharath that makes sense.
Although many would prefer (including myself) a Layer3 Leaf-Spine design with SVI/ default GW at the leaf, and the Spine being purely Layer3, your Layer2-only solution is also valid, and has some advantages:
In this scenario, to your original question, yes the SVI need to be on the Spine, and the leaves don't get any, they just bridge.
It works at modest scale.
Use cases for Layer2 Leaf-Spine:
As a general rules, Layer3 and VXLAN like suggested by Bharath would also be my preference.
I just wanted to highlight that Layer2 wasn't wrong.
Thank you Alex exactly what I needed. I built a L3Vxlan in my test GNS3 which works great. I have learned a lot thanks to you and Bharath.
Post your Answer
You must be logged in to post an answer.