Skip to content

Commit b5d74b1

Browse files
committed
Add management addresses to 8r-1c-srv6-pm topology
1 parent 30f4811 commit b5d74b1

File tree

11 files changed

+38
-0
lines changed

11 files changed

+38
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/sh
2+
3+
NODE_NAME=controller
4+
SW_NAME=sw
5+
IF_NAME=$NODE_NAME-$SW_NAME
6+
IP_ADDR=fcfd:0:0:fd::1/48
7+
8+
ip -6 addr add $IP_ADDR dev $IF_NAME

nets/8r-1c-srv6-pm/nodeconf/r1/ebpf_zebra.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ interface r1-h13
1919
interface r1-r2_igr
2020
ipv6 address fcf0:0:1:2::1/64
2121
!
22+
interface r1-sw
23+
ipv6 address fcfd:0:0:1::1/48
24+
!
2225
interface lo
2326
ipv6 address fcff:1::1/32
2427
!

nets/8r-1c-srv6-pm/nodeconf/r1/zebra.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ interface r1-h13
1919
interface r1-r2
2020
ipv6 address fcf0:0:1:2::1/64
2121
!
22+
interface r1-sw
23+
ipv6 address fcfd:0:0:1::1/48
24+
!
2225
interface lo
2326
ipv6 address fcff:1::1/32
2427
!

nets/8r-1c-srv6-pm/nodeconf/r2/zebra.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ interface r2-r3
1616
interface r2-r7
1717
ipv6 address fcf0:0:2:7::1/64
1818
!
19+
interface r2-sw
20+
ipv6 address fcfd:0:0:2::1/48
21+
!
1922
interface lo
2023
ipv6 address fcff:2::1/32
2124
!

nets/8r-1c-srv6-pm/nodeconf/r3/zebra.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ interface r3-r2
2222
interface r3-r4
2323
ipv6 address fcf0:0:3:4::1/64
2424
!
25+
interface r3-sw
26+
ipv6 address fcfd:0:0:3::1/48
27+
!
2528
interface lo
2629
ipv6 address fcff:3::1/32
2730
!

nets/8r-1c-srv6-pm/nodeconf/r4/zebra.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ interface r4-r5
1616
interface r4-r6
1717
ipv6 address fcf0:0:4:6::1/64
1818
!
19+
interface r4-sw
20+
ipv6 address fcfd:0:0:4::1/48
21+
!
1922
interface lo
2023
ipv6 address fcff:4::1/32
2124
!

nets/8r-1c-srv6-pm/nodeconf/r5/zebra.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ interface r5-r4
2222
interface r5-r6
2323
ipv6 address fcf0:0:5:6::1/64
2424
!
25+
interface r5-sw
26+
ipv6 address fcfd:0:0:5::1/48
27+
!
2528
interface lo
2629
ipv6 address fcff:5::1/32
2730
!

nets/8r-1c-srv6-pm/nodeconf/r6/zebra.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ interface r6-r7
1919
interface r6-r8
2020
ipv6 address fcf0:0:6:8::1/64
2121
!
22+
interface r6-sw
23+
ipv6 address fcfd:0:0:6::1/48
24+
!
2225
interface lo
2326
ipv6 address fcff:6::1/32
2427
!

nets/8r-1c-srv6-pm/nodeconf/r7/zebra.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ interface r7-r6
1616
interface r7-r8
1717
ipv6 address fcf0:0:7:8::1/64
1818
!
19+
interface r7-sw
20+
ipv6 address fcfd:0:0:7::1/48
21+
!
1922
interface lo
2023
ipv6 address fcff:7::1/32
2124
!

nets/8r-1c-srv6-pm/nodeconf/r8/ebpf_zebra.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ interface r8-r6_igr
2222
interface r8-r7
2323
ipv6 address fcf0:0:7:8::2/64
2424
!
25+
interface r8-sw
26+
ipv6 address fcfd:0:0:8::1/48
27+
!
2528
interface lo
2629
ipv6 address fcff:8::1/32
2730
!

0 commit comments

Comments
 (0)