Add a simple containerlab
This commit is contained in:
19
config/vpp1/bird-local.conf
Normal file
19
config/vpp1/bird-local.conf
Normal file
@ -0,0 +1,19 @@
|
||||
protocol bfd bfd1 {
|
||||
interface "eth2" { interval 100 ms; multiplier 30; };
|
||||
}
|
||||
|
||||
protocol ospf v2 ospf4 {
|
||||
ipv4 { import all; export all; };
|
||||
area 0 {
|
||||
interface "loop0" { stub yes; };
|
||||
interface "eth2" { type pointopoint; cost 10; bfd on; };
|
||||
};
|
||||
}
|
||||
|
||||
protocol ospf v3 ospf6 {
|
||||
ipv6 { import all; export all; };
|
||||
area 0 {
|
||||
interface "loop0" { stub yes; };
|
||||
interface "eth2" { type pointopoint; cost 10; bfd on; };
|
||||
};
|
||||
}
|
16
config/vpp1/vppcfg.yaml
Normal file
16
config/vpp1/vppcfg.yaml
Normal file
@ -0,0 +1,16 @@
|
||||
interfaces:
|
||||
eth1:
|
||||
description: 'To client1'
|
||||
mtu: 1500
|
||||
lcp: eth1
|
||||
addresses: [ 10.82.98.65/28, 2001:db8:8298:101::1/64 ]
|
||||
eth2:
|
||||
description: 'To vpp2'
|
||||
mtu: 9000
|
||||
lcp: eth2
|
||||
addresses: [ 10.82.98.16/31, 2001:db8:8298:1::1/64 ]
|
||||
loopbacks:
|
||||
loop0:
|
||||
description: 'vpp1'
|
||||
lcp: loop0
|
||||
addresses: [ 10.82.98.0/32, 2001:db8:8298::/128 ]
|
19
config/vpp2/bird-local.conf
Normal file
19
config/vpp2/bird-local.conf
Normal file
@ -0,0 +1,19 @@
|
||||
protocol bfd bfd1 {
|
||||
interface "eth2" { interval 100 ms; multiplier 30; };
|
||||
}
|
||||
|
||||
protocol ospf v2 ospf4 {
|
||||
ipv4 { import all; export all; };
|
||||
area 0 {
|
||||
interface "loop0" { stub yes; };
|
||||
interface "eth2" { type pointopoint; cost 10; bfd on; };
|
||||
};
|
||||
}
|
||||
|
||||
protocol ospf v3 ospf6 {
|
||||
ipv6 { import all; export all; };
|
||||
area 0 {
|
||||
interface "loop0" { stub yes; };
|
||||
interface "eth2" { type pointopoint; cost 10; bfd on; };
|
||||
};
|
||||
}
|
16
config/vpp2/vppcfg.yaml
Normal file
16
config/vpp2/vppcfg.yaml
Normal file
@ -0,0 +1,16 @@
|
||||
interfaces:
|
||||
eth1:
|
||||
description: 'To client2'
|
||||
mtu: 1500
|
||||
lcp: eth1
|
||||
addresses: [ 10.82.98.81/28, 2001:db8:8298:102::1/64 ]
|
||||
eth2:
|
||||
description: 'To vpp1'
|
||||
mtu: 9000
|
||||
lcp: eth2
|
||||
addresses: [ 10.82.98.17/31, 2001:db8:8298:1::2/64 ]
|
||||
loopbacks:
|
||||
loop0:
|
||||
description: 'vpp2'
|
||||
lcp: loop0
|
||||
addresses: [ 10.82.98.1/32, 2001:db8:8298::1/128 ]
|
Reference in New Issue
Block a user