Skip to content

Commit

Permalink
Merge pull request #80 from JulioPDX/mlag-fix
Browse files Browse the repository at this point in the history
Leveraging same subnet for mlag
  • Loading branch information
mthiel117 authored Mar 14, 2024
2 parents b2c77f5 + c87d18a commit bbf2e4e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
11 changes: 8 additions & 3 deletions sites/site_1/group_vars/SITE1_FABRIC.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,20 @@ fabric_name: SITE1_FABRIC
design:
type: l2ls

# Repeat MLAG addressing between pairs
fabric_ip_addressing:
mlag:
algorithm: same_subnet

# Spine Switches
l3spine:
defaults:
platform: cEOS
spanning_tree_mode: mstp
spanning_tree_priority: 4096
loopback_ipv4_pool: 10.1.252.0/24
mlag_peer_ipv4_pool: 10.1.253.0/24
mlag_peer_l3_ipv4_pool: 10.1.254.0/24
mlag_peer_ipv4_pool: 10.1.253.0/31
mlag_peer_l3_ipv4_pool: 10.1.253.2/31
virtual_router_mac_address: 00:1c:73:00:dc:01
mlag_interfaces: [ Ethernet1, Ethernet6 ]
node_groups:
Expand All @@ -30,7 +35,7 @@ l3spine:
leaf:
defaults:
platform: cEOS
mlag_peer_ipv4_pool: 10.1.253.0/24
mlag_peer_ipv4_pool: 10.1.253.0/31
spanning_tree_mode: mstp
spanning_tree_priority: 16384
uplink_switches: [ s1-spine1, s1-spine2 ]
Expand Down
11 changes: 8 additions & 3 deletions sites/site_2/group_vars/SITE2_FABRIC.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,20 @@ fabric_name: SITE2_FABRIC
design:
type: l2ls

# Repeat MLAG addressing between pairs
fabric_ip_addressing:
mlag:
algorithm: same_subnet

# Spine Switches
l3spine:
defaults:
platform: cEOS
spanning_tree_mode: mstp
spanning_tree_priority: 4096
loopback_ipv4_pool: 10.2.252.0/24
mlag_peer_ipv4_pool: 10.2.253.0/24
mlag_peer_l3_ipv4_pool: 10.2.254.0/24
mlag_peer_ipv4_pool: 10.2.253.0/31
mlag_peer_l3_ipv4_pool: 10.2.253.2/31
virtual_router_mac_address: 00:1c:73:00:dc:01
mlag_interfaces: [ Ethernet1, Ethernet6 ]
node_groups:
Expand All @@ -30,7 +35,7 @@ l3spine:
leaf:
defaults:
platform: cEOS
mlag_peer_ipv4_pool: 10.2.253.0/24
mlag_peer_ipv4_pool: 10.2.253.0/31
spanning_tree_mode: mstp
spanning_tree_priority: 16384
uplink_switches: [ s2-spine1, s2-spine2 ]
Expand Down

0 comments on commit bbf2e4e

Please sign in to comment.