-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmn_MACsec_PoC.clab.yaml
78 lines (70 loc) · 2.2 KB
/
mn_MACsec_PoC.clab.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# Copyright 2024 Daniel Melzer
# Licensed under the BSD 3-Clause License.
# SPDX-License-Identifier: BSD-3-Clause
name: mn_MACsec_PoC
prefix: __lab-name
mgmt:
network: mn_MACsec_PoC_mgmt # management network name
ipv4-subnet: 172.100.133.0/24 # ipv4 range
ipv6-subnet: 2001:172:100:133::/80 # ipv6 range (optional)
topology:
defaults:
kind: vr-sros
kinds:
vr-sros:
image: registry.intra.miriquidi-net.works:9443/clab/nokia_sros:24.10.R1
type: sr-1x-48d
license: ./license_sr.key
linux:
image: ghcr.io/hellt/network-multitool
nodes:
### IXP-Fabric ###
ixp01:
mgmt-ipv4: 172.100.133.11
startup-config: startup/ixp01.cfg
### Customer Router ###
cpe01:
mgmt-ipv4: 172.100.133.21
startup-config: startup/cpe01.cfg
### CSP Router ###
csp01:
mgmt-ipv4: 172.100.133.31
startup-config: startup/csp01.cfg
csp02:
mgmt-ipv4: 172.100.133.32
startup-config: startup/csp02.cfg
### CLIENTS ###
csp-client01:
kind: linux
mgmt-ipv4: 172.100.133.101
binds:
exec:
- ip address add 172.17.1.2/24 dev eth1
- ip -6 address add 2002::172:17:1:2/96 dev eth1
- iperf3 -s -p 5201 -D > iperf_4.2_1.1.log
csp-client02:
kind: linux
mgmt-ipv4: 172.100.133.102
binds:
exec:
- ip address add 172.17.2.2/24 dev eth1
- ip -6 address add 2002::172:17:2:2/96 dev eth1
- iperf3 -s -p 5201 -D > iperf_4.2_1.1.log
cpe-client01:
kind: linux
mgmt-ipv4: 172.100.133.110
binds:
exec:
- ip address add 172.17.1.1/24 dev eth1
- ip address add 172.17.2.1/24 dev eth2
- ip -6 address add 2002::172:17:1:1/96 dev eth1
- ip -6 address add 2002::172:17:2:1/96 dev eth2
- iperf3 -s -p 5202 -D > iperf_3.2_2.1.log
links:
- endpoints: ["csp-client01:eth1", "csp01:eth2"]
- endpoints: ["ixp01:eth2", "csp01:eth1"]
- endpoints: ["ixp01:eth1", "cpe01:eth1"]
- endpoints: ["cpe-client01:eth1", "cpe01:eth2"]
- endpoints: ["csp-client02:eth1", "csp02:eth2"]
- endpoints: ["ixp01:eth3", "csp02:eth1"]
- endpoints: ["cpe-client01:eth2", "cpe01:eth3"]