-
Notifications
You must be signed in to change notification settings - Fork 72
/
Copy pathvlan-routed-vrf.yml
81 lines (73 loc) · 1.05 KB
/
vlan-routed-vrf.yml
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
79
80
81
defaults.vlan.warnings.mixed_fwd_check: false
addressing:
unnumbered:
ipv4: true
ipv6: true
vrfs:
red:
blue:
green:
vlans:
red:
vrf: red
blue:
vrf: blue
green:
vrf: green
mode: route
pool: unnumbered
groups:
hosts:
members: [h1, h2, h3]
module: []
device: frr
module: [vlan, vrf]
provider: clab
nodes:
r1:
device: frr
vlans:
red:
mode: route
blue:
mode: route
r2:
device: frr
vlans:
red:
mode: route
blue:
mode: route
green:
mode: route
s1:
device: eos
vlans:
green:
mode: bridge
s2:
device: frr
vlan.mode: bridge
h1: # red VLAN
h2: # blue VLAN
h3: # green VLAN
links:
- s1:
vlan.access: red
h1:
- s2:
vlan.access: blue
h2:
- s2:
vlan.access: green
h3:
- s1:
s2:
vlan.trunk: [red, green, blue]
- s1:
r1:
vlan.mode: route
vlan.trunk: [red, green, blue]
- s2:
r2:
vlan.trunk: [red, green, blue]