feat: update IP address plan and management IPs for Arista L5 Dual DC

This commit is contained in:
2025-11-10 11:48:32 +00:00
parent 0b5a0a2032
commit eb3ba8f647
3 changed files with 429 additions and 36 deletions

View File

@@ -2,30 +2,30 @@ name: arista-l5-dual-dc
mgmt:
network: arista-mgmt
ipv4-subnet: 192.168.0.0/24
ipv4-subnet: 10.255.0.0/24
topology:
kinds:
arista_ceos:
image: ceos:latest
nodes:
# ==========================================
# DC1 - SPINE LAYER
# ==========================================
spine1-DC1:
kind: arista_ceos
mgmt-ipv4: 192.168.0.11
mgmt-ipv4: 10.255.0.11
# startup-config: configs/spine1-DC1.cfg
spine2-DC1:
kind: arista_ceos
mgmt-ipv4: 192.168.0.12
mgmt-ipv4: 10.255.0.12
# startup-config: configs/spine2-DC1.cfg
spine3-DC1:
kind: arista_ceos
mgmt-ipv4: 192.168.0.13
mgmt-ipv4: 10.255.0.13
# startup-config: configs/spine3-DC1.cfg
# ==========================================
@@ -33,22 +33,22 @@ topology:
# ==========================================
leaf1-DC1:
kind: arista_ceos
mgmt-ipv4: 192.168.0.21
mgmt-ipv4: 10.255.0.21
# startup-config: configs/leaf1-DC1.cfg
leaf2-DC1:
kind: arista_ceos
mgmt-ipv4: 192.168.0.22
mgmt-ipv4: 10.255.0.22
# startup-config: configs/leaf2-DC1.cfg
leaf3-DC1:
kind: arista_ceos
mgmt-ipv4: 192.168.0.23
mgmt-ipv4: 10.255.0.23
# startup-config: configs/leaf3-DC1.cfg
leaf4-DC1:
kind: arista_ceos
mgmt-ipv4: 192.168.0.24
mgmt-ipv4: 10.255.0.24
# startup-config: configs/leaf4-DC1.cfg
# ==========================================
@@ -56,12 +56,12 @@ topology:
# ==========================================
borderleaf1-DC1:
kind: arista_ceos
mgmt-ipv4: 192.168.0.31
mgmt-ipv4: 10.255.0.31
# startup-config: configs/borderleaf1-DC1.cfg
borderleaf2-DC1:
kind: arista_ceos
mgmt-ipv4: 192.168.0.32
mgmt-ipv4: 10.255.0.32
# startup-config: configs/borderleaf2-DC1.cfg
# ==========================================
@@ -69,17 +69,17 @@ topology:
# ==========================================
spine1-DC2:
kind: arista_ceos
mgmt-ipv4: 192.168.0.111
mgmt-ipv4: 10.255.0.41
# startup-config: configs/spine1-DC2.cfg
spine2-DC2:
kind: arista_ceos
mgmt-ipv4: 192.168.0.112
mgmt-ipv4: 10.255.0.42
# startup-config: configs/spine2-DC2.cfg
spine3-DC2:
kind: arista_ceos
mgmt-ipv4: 192.168.0.113
mgmt-ipv4: 10.255.0.43
# startup-config: configs/spine3-DC2.cfg
# ==========================================
@@ -87,22 +87,22 @@ topology:
# ==========================================
leaf1-DC2:
kind: arista_ceos
mgmt-ipv4: 192.168.0.121
mgmt-ipv4: 10.255.0.51
# startup-config: configs/leaf1-DC2.cfg
leaf2-DC2:
kind: arista_ceos
mgmt-ipv4: 192.168.0.122
mgmt-ipv4: 10.255.0.52
# startup-config: configs/leaf2-DC2.cfg
leaf3-DC2:
kind: arista_ceos
mgmt-ipv4: 192.168.0.123
mgmt-ipv4: 10.255.0.53
# startup-config: configs/leaf3-DC2.cfg
leaf4-DC2:
kind: arista_ceos
mgmt-ipv4: 192.168.0.124
mgmt-ipv4: 10.255.0.54
# startup-config: configs/leaf4-DC2.cfg
# ==========================================
@@ -110,12 +110,12 @@ topology:
# ==========================================
borderleaf1-DC2:
kind: arista_ceos
mgmt-ipv4: 192.168.0.131
mgmt-ipv4: 10.255.0.61
# startup-config: configs/borderleaf1-DC2.cfg
borderleaf2-DC2:
kind: arista_ceos
mgmt-ipv4: 192.168.0.132
mgmt-ipv4: 10.255.0.62
# startup-config: configs/borderleaf2-DC2.cfg
# ==========================================
@@ -123,7 +123,7 @@ topology:
# ==========================================
DCI:
kind: arista_ceos
mgmt-ipv4: 192.168.0.50
mgmt-ipv4: 10.255.0.100
# startup-config: configs/DCI.cfg
# ==========================================
@@ -132,7 +132,7 @@ topology:
# ==========================================
host1-DC1:
kind: linux
mgmt-ipv4: 192.168.0.51
mgmt-ipv4: 10.255.0.201
image: alpine:latest
exec:
- ip link add bond0 type bond mode 802.3ad
@@ -146,7 +146,7 @@ topology:
host2-DC1:
kind: linux
mgmt-ipv4: 192.168.0.52
mgmt-ipv4: 10.255.0.202
image: alpine:latest
exec:
- ip link add bond0 type bond mode 802.3ad
@@ -160,7 +160,7 @@ topology:
host1-DC2:
kind: linux
mgmt-ipv4: 192.168.0.151
mgmt-ipv4: 10.255.0.211
image: alpine:latest
exec:
- ip link add bond0 type bond mode 802.3ad
@@ -174,7 +174,7 @@ topology:
host2-DC2:
kind: linux
mgmt-ipv4: 192.168.0.152
mgmt-ipv4: 10.255.0.212
image: alpine:latest
exec:
- ip link add bond0 type bond mode 802.3ad
@@ -190,7 +190,7 @@ topology:
# ==========================================
# DC1 - SPINE to LEAF Connections
# ==========================================
# Spine1-DC1 to leafs
- endpoints: ["spine1-DC1:eth2", "leaf1-DC1:eth3"]
- endpoints: ["spine1-DC1:eth3", "leaf2-DC1:eth3"]
@@ -220,17 +220,17 @@ topology:
# ==========================================
- endpoints: ["leaf1-DC1:eth1", "leaf2-DC1:eth1"]
- endpoints: ["leaf1-DC1:eth2", "leaf2-DC1:eth2"]
- endpoints: ["leaf3-DC1:eth1", "leaf4-DC1:eth1"]
- endpoints: ["leaf3-DC1:eth2", "leaf4-DC1:eth2"]
- endpoints: ["borderleaf1-DC1:eth1", "borderleaf2-DC1:eth1"]
- endpoints: ["borderleaf1-DC1:eth2", "borderleaf2-DC1:eth2"]
# ==========================================
# DC2 - SPINE to LEAF Connections
# ==========================================
# Spine1-DC2 to leafs
- endpoints: ["spine1-DC2:eth2", "leaf1-DC2:eth3"]
- endpoints: ["spine1-DC2:eth3", "leaf2-DC2:eth3"]
@@ -260,10 +260,10 @@ topology:
# ==========================================
- endpoints: ["leaf1-DC2:eth1", "leaf2-DC2:eth1"]
- endpoints: ["leaf1-DC2:eth2", "leaf2-DC2:eth2"]
- endpoints: ["leaf3-DC2:eth1", "leaf4-DC2:eth1"]
- endpoints: ["leaf3-DC2:eth2", "leaf4-DC2:eth2"]
- endpoints: ["borderleaf1-DC2:eth1", "borderleaf2-DC2:eth1"]
- endpoints: ["borderleaf1-DC2:eth2", "borderleaf2-DC2:eth2"]
@@ -278,19 +278,19 @@ topology:
# ==========================================
# Host Connections (MLAG dual-homed)
# ==========================================
# Host1-DC1 to leaf1-DC1 and leaf2-DC1
- endpoints: ["leaf1-DC1:eth7", "host1-DC1:eth1"]
- endpoints: ["leaf2-DC1:eth7", "host1-DC1:eth2"]
# Host2-DC1 to leaf3-DC1 and leaf4-DC1
- endpoints: ["leaf3-DC1:eth7", "host2-DC1:eth1"]
- endpoints: ["leaf4-DC1:eth7", "host2-DC1:eth2"]
# Host1-DC2 to leaf1-DC2 and leaf2-DC2
- endpoints: ["leaf1-DC2:eth7", "host1-DC2:eth1"]
- endpoints: ["leaf2-DC2:eth7", "host1-DC2:eth2"]
# Host2-DC2 to leaf3-DC2 and leaf4-DC2
- endpoints: ["leaf3-DC2:eth7", "host2-DC2:eth1"]
- endpoints: ["leaf4-DC2:eth7", "host2-DC2:eth2"]
- endpoints: ["leaf4-DC2:eth7", "host2-DC2:eth2"]