Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve CL demo topology: IP addressing & MPLS-LDP #22

Merged
merged 3 commits into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 41 additions & 11 deletions containerlab/frinx_topo_1/config_c1.partial.txt
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ configure {
interface "system" {
ipv4 {
primary {
address 1.1.1.11
address 1.1.1.1
prefix-length 32
}
}
Expand All @@ -142,8 +142,8 @@ configure {
port 1/1/c1/1
ipv4 {
primary {
address 30.30.30.11
prefix-length 24
address 10.10.0.0
prefix-length 31
}
}
}
Expand All @@ -152,8 +152,8 @@ configure {
port 1/1/c3/1
ipv4 {
primary {
address 20.20.20.11
prefix-length 24
address 10.20.0.0
prefix-length 31
}
}
}
Expand All @@ -162,23 +162,53 @@ configure {
port 1/1/c4/1
ipv4 {
primary {
address 40.40.40.11
prefix-length 24
address 10.20.0.4
prefix-length 31
}
}
}
interface "to-dc1_pe1" {
interface "to-dc1-pe1" {
admin-state enable
port 1/1/c2/1
ipv4 {
primary {
address 10.10.10.11
prefix-length 24
address 10.20.0.8
prefix-length 31
}
}
}
ldp {
admin-state enable
interface-parameters {
interface "to-c2" {
admin-state enable
ipv4 {
admin-state enable
}
}
interface "to-r1-pe1" {
admin-state enable
ipv4 {
admin-state enable
}
}
interface "to-r2-pe1" {
admin-state enable
ipv4 {
admin-state enable
}
}
interface "to-dc1-pe1" {
admin-state enable
ipv4 {
admin-state enable
}
}
}
}
ospf 0 {
admin-state enable
router-id 1.1.1.1
area 0.0.0.0 {
interface "system" {
admin-state enable
Expand All @@ -192,7 +222,7 @@ configure {
interface "to-r2-pe1" {
admin-state enable
}
interface "to-dc1_pe1" {
interface "to-dc1-pe1" {
admin-state enable
}
}
Expand Down
56 changes: 43 additions & 13 deletions containerlab/frinx_topo_1/config_c2.partial.txt
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ configure {
interface "system" {
ipv4 {
primary {
address 1.1.1.12
address 2.2.2.2
prefix-length 32
}
}
Expand All @@ -143,8 +143,8 @@ configure {
port 1/1/c1/1
ipv4 {
primary {
address 30.30.30.12
prefix-length 24
address 10.10.0.1
prefix-length 31
}
}
}
Expand All @@ -153,33 +153,63 @@ configure {
port 1/1/c3/1
ipv4 {
primary {
address 40.40.40.12
prefix-length 24
address 10.20.0.2
prefix-length 31
}
}
}
interface "to-r2_pe2" {
interface "to-r2-pe2" {
admin-state enable
port 1/1/c4/1
ipv4 {
primary {
address 10.10.10.12
prefix-length 24
address 10.20.0.6
prefix-length 31
}
}
}
interface "to-dc1_pe1" {
interface "to-dc1-pe1" {
admin-state enable
port 1/1/c2/1
ipv4 {
primary {
address 20.20.20.12
prefix-length 24
address 10.20.0.10
prefix-length 31
}
}
}
ldp {
admin-state enable
interface-parameters {
interface "to-c1" {
admin-state enable
ipv4 {
admin-state enable
}
}
interface "to-r1-pe2" {
admin-state enable
ipv4 {
admin-state enable
}
}
interface "to-r2-pe2" {
admin-state enable
ipv4 {
admin-state enable
}
}
interface "to-dc1-pe1" {
admin-state enable
ipv4 {
admin-state enable
}
}
}
}
ospf 0 {
admin-state enable
router-id 2.2.2.2
area 0.0.0.0 {
interface "system" {
admin-state enable
Expand All @@ -190,10 +220,10 @@ configure {
interface "to-r1-pe2" {
admin-state enable
}
interface "to-r2_pe2" {
interface "to-r2-pe2" {
admin-state enable
}
interface "to-dc1_pe1" {
interface "to-dc1-pe1" {
admin-state enable
}
}
Expand Down
28 changes: 23 additions & 5 deletions containerlab/frinx_topo_1/config_dc1_pe1.partial.txt
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ configure {
interface "system" {
ipv4 {
primary {
address 1.1.1.93
address 7.7.7.7
prefix-length 32
}
}
Expand All @@ -142,8 +142,8 @@ configure {
port 1/1/c1/1
ipv4 {
primary {
address 10.10.10.93
prefix-length 24
address 10.20.0.9
prefix-length 31
}
}
}
Expand All @@ -152,13 +152,31 @@ configure {
port 1/1/c2/1
ipv4 {
primary {
address 20.20.20.93
prefix-length 24
address 10.20.0.11
prefix-length 31
}
}
}
ldp {
admin-state enable
interface-parameters {
interface "to-c1" {
admin-state enable
ipv4 {
admin-state enable
}
}
interface "to-c2" {
admin-state enable
ipv4 {
admin-state enable
}
}
}
}
ospf 0 {
admin-state enable
router-id 7.7.7.7
area 0.0.0.0 {
interface "system" {
admin-state enable
Expand Down
40 changes: 34 additions & 6 deletions containerlab/frinx_topo_1/config_r1_pe1.partial.txt
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ configure {
interface "system" {
ipv4 {
primary {
address 1.1.1.111
address 3.3.3.3
prefix-length 32
}
}
Expand All @@ -142,8 +142,8 @@ configure {
port 1/1/c2/1
ipv4 {
primary {
address 20.20.20.111
prefix-length 24
address 10.20.0.1
prefix-length 31
}
}
}
Expand All @@ -152,13 +152,41 @@ configure {
port 1/1/c1/1
ipv4 {
primary {
address 10.10.10.111
prefix-length 24
address 10.30.0.0
prefix-length 31
}
}
}
interface "to-bts" {
admin-state enable
port 1/1/c3/1
ipv4 {
primary {
address 120.0.0.1
prefix-length 16
}
}
}
ldp {
admin-state enable
interface-parameters {
interface "to-c1" {
admin-state enable
ipv4 {
admin-state enable
}
}
interface "to-r1-pe2" {
admin-state enable
ipv4 {
admin-state enable
}
}
}
}
ospf 0 {
admin-state enable
router-id 3.3.3.3
area 0.0.0.0 {
interface "system" {
admin-state enable
Expand Down Expand Up @@ -199,7 +227,7 @@ configure {
central-frequency-clock {
ref1 {
admin-state enable
source-port 1/1/c1/1
source-port 1/1/c2/1
}
}

Expand Down
30 changes: 24 additions & 6 deletions containerlab/frinx_topo_1/config_r1_pe2.partial.txt
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ configure {
interface "system" {
ipv4 {
primary {
address 1.1.1.112
address 4.4.4.4
prefix-length 32
}
}
Expand All @@ -142,8 +142,8 @@ configure {
port 1/1/c2/1
ipv4 {
primary {
address 40.40.40.112
prefix-length 24
address 10.20.0.3
prefix-length 31
}
}
}
Expand All @@ -152,13 +152,31 @@ configure {
port 1/1/c1/1
ipv4 {
primary {
address 10.10.10.112
prefix-length 24
address 10.30.0.1
prefix-length 31
}
}
}
ldp {
admin-state enable
interface-parameters {
interface "to-c2" {
admin-state enable
ipv4 {
admin-state enable
}
}
interface "to-r1-pe1" {
admin-state enable
ipv4 {
admin-state enable
}
}
}
}
ospf 0 {
admin-state enable
router-id 4.4.4.4
area 0.0.0.0 {
interface "system" {
admin-state enable
Expand Down Expand Up @@ -199,7 +217,7 @@ configure {
central-frequency-clock {
ref1 {
admin-state enable
source-port 1/1/c1/1
source-port 1/1/c2/1
}
}

Expand Down
Loading
Loading