Add hvn1/hvn2 and remove the comments from hvn0
This commit is contained in:
6
build/default/hvn1.lab.ipng.ch/vpp1-0/etc/bird/bfd.conf
Normal file
6
build/default/hvn1.lab.ipng.ch/vpp1-0/etc/bird/bfd.conf
Normal file
@ -0,0 +1,6 @@
|
||||
protocol bfd bfd1 {
|
||||
interface "e*" {
|
||||
interval 100 ms;
|
||||
multiplier 20;
|
||||
};
|
||||
}
|
19
build/default/hvn1.lab.ipng.ch/vpp1-0/etc/bird/bird.conf
Normal file
19
build/default/hvn1.lab.ipng.ch/vpp1-0/etc/bird/bird.conf
Normal file
@ -0,0 +1,19 @@
|
||||
router id 192.168.11.0;
|
||||
|
||||
protocol device { scan time 30; }
|
||||
protocol direct { ipv4; ipv6; check link yes; }
|
||||
protocol kernel kernel4 {
|
||||
ipv4 { import none; export where source != RTS_DEVICE; };
|
||||
learn off;
|
||||
scan time 300;
|
||||
}
|
||||
protocol kernel kernel6 {
|
||||
ipv6 { import none; export where source != RTS_DEVICE; };
|
||||
learn off;
|
||||
scan time 300;
|
||||
}
|
||||
|
||||
include "static.conf";
|
||||
include "bfd.conf";
|
||||
include "ospf.conf";
|
||||
include "ibgp.conf";
|
1
build/default/hvn1.lab.ipng.ch/vpp1-0/etc/bird/ibgp.conf
Normal file
1
build/default/hvn1.lab.ipng.ch/vpp1-0/etc/bird/ibgp.conf
Normal file
@ -0,0 +1 @@
|
||||
# NOTE(ipng): Not created yet
|
21
build/default/hvn1.lab.ipng.ch/vpp1-0/etc/bird/ospf.conf
Normal file
21
build/default/hvn1.lab.ipng.ch/vpp1-0/etc/bird/ospf.conf
Normal file
@ -0,0 +1,21 @@
|
||||
protocol ospf v2 ospf4 {
|
||||
ipv4 { export where source = RTS_DEVICE; import all; };
|
||||
area 0 {
|
||||
interface "loop0" { stub yes; };
|
||||
interface "e0" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e1" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e2" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e3" { type pointopoint; cost 5; bfd off; };
|
||||
};
|
||||
}
|
||||
|
||||
protocol ospf v3 ospf6 {
|
||||
ipv6 { export where source = RTS_DEVICE; import all; };
|
||||
area 0 {
|
||||
interface "loop0" { stub yes; };
|
||||
interface "e0" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e1" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e2" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e3" { type pointopoint; cost 5; bfd off; };
|
||||
};
|
||||
}
|
11
build/default/hvn1.lab.ipng.ch/vpp1-0/etc/bird/static.conf
Normal file
11
build/default/hvn1.lab.ipng.ch/vpp1-0/etc/bird/static.conf
Normal file
@ -0,0 +1,11 @@
|
||||
protocol static static4 {
|
||||
ipv4 { export all; };
|
||||
# route 192.0.2.0/24 via 10.0.0.1;
|
||||
route 192.168.11.0/24 unreachable;
|
||||
}
|
||||
|
||||
protocol static static6 {
|
||||
ipv6 { export all; };
|
||||
# route 2001:db8:cafe::/48 via 2001:db8::1;;
|
||||
route 2001:678:d78:210::/60 unreachable;
|
||||
}
|
1
build/default/hvn1.lab.ipng.ch/vpp1-0/etc/hostname
Normal file
1
build/default/hvn1.lab.ipng.ch/vpp1-0/etc/hostname
Normal file
@ -0,0 +1 @@
|
||||
vpp1-0
|
7
build/default/hvn1.lab.ipng.ch/vpp1-0/etc/hosts
Normal file
7
build/default/hvn1.lab.ipng.ch/vpp1-0/etc/hosts
Normal file
@ -0,0 +1,7 @@
|
||||
127.0.0.1 localhost
|
||||
127.0.1.1 vpp1-0.lab.ipng.ch vpp1-0
|
||||
|
||||
# The following lines are desirable for IPv6 capable hosts
|
||||
::1 localhost ip6-localhost ip6-loopback
|
||||
ff02::1 ip6-allnodes
|
||||
ff02::2 ip6-allrouters
|
@ -0,0 +1,14 @@
|
||||
network:
|
||||
version: 2
|
||||
renderer: networkd
|
||||
ethernets:
|
||||
enp1s0:
|
||||
optional: true
|
||||
accept-ra: false
|
||||
dhcp4: false
|
||||
addresses: [ 192.168.1.84/24, 2001:678:d78:101::84/64 ]
|
||||
gateway4: 192.168.1.252
|
||||
gateway6: 2001:678:d78:101::1
|
||||
nameservers:
|
||||
addresses: [ "2001:678:d78::3", "2001:678:d78::4" ]
|
||||
search: [ "lab.ipng.ch", "ipng.ch", "ipng.nl", "rfc1918.ipng.nl" ]
|
38
build/default/hvn1.lab.ipng.ch/vpp1-0/etc/vpp/bootstrap.vpp
Normal file
38
build/default/hvn1.lab.ipng.ch/vpp1-0/etc/vpp/bootstrap.vpp
Normal file
@ -0,0 +1,38 @@
|
||||
set logging class linux-cp rate-limit 1000 level warn syslog-level notice
|
||||
|
||||
lcp default netns dataplane
|
||||
lcp lcp-sync on
|
||||
lcp lcp-auto-subint off
|
||||
|
||||
comment { Create a loopback interface }
|
||||
create loopback interface instance 0
|
||||
lcp create loop0 host-if loop0
|
||||
set interface state loop0 up
|
||||
set interface ip address loop0 192.168.11.0/32
|
||||
set interface ip address loop0 2001:678:d78:210::/128
|
||||
|
||||
comment { Create one LinuxCP Interface Pair for each phy }
|
||||
lcp create GigabitEthernet10/0/0 host-if e0
|
||||
lcp create GigabitEthernet10/0/1 host-if e1
|
||||
lcp create GigabitEthernet10/0/2 host-if e2
|
||||
lcp create GigabitEthernet10/0/3 host-if e3
|
||||
|
||||
comment { e0 is uplink to AS8298 }
|
||||
set interface state GigabitEthernet10/0/0 up
|
||||
set interface mtu packet 1500 GigabitEthernet10/0/0
|
||||
set interface ip address GigabitEthernet10/0/0 192.168.10.7/31
|
||||
set interface ip address GigabitEthernet10/0/0 2001:678:d78:201::00:00/112
|
||||
|
||||
comment { e1 is ptp with e0.vpp0-1 }
|
||||
set interface state GigabitEthernet10/0/1 up
|
||||
set interface mtu packet 9000 GigabitEthernet10/0/1
|
||||
set interface ip address GigabitEthernet10/0/1 192.168.10.8/31
|
||||
set interface ip address GigabitEthernet10/0/1 2001:678:d78:201::01:00/112
|
||||
|
||||
comment { e2 is free to use }
|
||||
set interface state GigabitEthernet10/0/2 down
|
||||
set interface mtu packet 9000 GigabitEthernet10/0/2
|
||||
|
||||
comment { e3 is free to use }
|
||||
set interface state GigabitEthernet10/0/3 down
|
||||
set interface mtu packet 9000 GigabitEthernet10/0/3
|
6
build/default/hvn1.lab.ipng.ch/vpp1-1/etc/bird/bfd.conf
Normal file
6
build/default/hvn1.lab.ipng.ch/vpp1-1/etc/bird/bfd.conf
Normal file
@ -0,0 +1,6 @@
|
||||
protocol bfd bfd1 {
|
||||
interface "e*" {
|
||||
interval 100 ms;
|
||||
multiplier 20;
|
||||
};
|
||||
}
|
19
build/default/hvn1.lab.ipng.ch/vpp1-1/etc/bird/bird.conf
Normal file
19
build/default/hvn1.lab.ipng.ch/vpp1-1/etc/bird/bird.conf
Normal file
@ -0,0 +1,19 @@
|
||||
router id 192.168.11.1;
|
||||
|
||||
protocol device { scan time 30; }
|
||||
protocol direct { ipv4; ipv6; check link yes; }
|
||||
protocol kernel kernel4 {
|
||||
ipv4 { import none; export where source != RTS_DEVICE; };
|
||||
learn off;
|
||||
scan time 300;
|
||||
}
|
||||
protocol kernel kernel6 {
|
||||
ipv6 { import none; export where source != RTS_DEVICE; };
|
||||
learn off;
|
||||
scan time 300;
|
||||
}
|
||||
|
||||
include "static.conf";
|
||||
include "bfd.conf";
|
||||
include "ospf.conf";
|
||||
include "ibgp.conf";
|
1
build/default/hvn1.lab.ipng.ch/vpp1-1/etc/bird/ibgp.conf
Normal file
1
build/default/hvn1.lab.ipng.ch/vpp1-1/etc/bird/ibgp.conf
Normal file
@ -0,0 +1 @@
|
||||
# NOTE(ipng): Not created yet
|
21
build/default/hvn1.lab.ipng.ch/vpp1-1/etc/bird/ospf.conf
Normal file
21
build/default/hvn1.lab.ipng.ch/vpp1-1/etc/bird/ospf.conf
Normal file
@ -0,0 +1,21 @@
|
||||
protocol ospf v2 ospf4 {
|
||||
ipv4 { export where source = RTS_DEVICE; import all; };
|
||||
area 0 {
|
||||
interface "loop0" { stub yes; };
|
||||
interface "e0" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e1" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e2" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e3" { type pointopoint; cost 5; bfd off; };
|
||||
};
|
||||
}
|
||||
|
||||
protocol ospf v3 ospf6 {
|
||||
ipv6 { export where source = RTS_DEVICE; import all; };
|
||||
area 0 {
|
||||
interface "loop0" { stub yes; };
|
||||
interface "e0" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e1" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e2" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e3" { type pointopoint; cost 5; bfd off; };
|
||||
};
|
||||
}
|
11
build/default/hvn1.lab.ipng.ch/vpp1-1/etc/bird/static.conf
Normal file
11
build/default/hvn1.lab.ipng.ch/vpp1-1/etc/bird/static.conf
Normal file
@ -0,0 +1,11 @@
|
||||
protocol static static4 {
|
||||
ipv4 { export all; };
|
||||
# route 192.0.2.0/24 via 10.0.0.1;
|
||||
route 192.168.11.0/24 unreachable;
|
||||
}
|
||||
|
||||
protocol static static6 {
|
||||
ipv6 { export all; };
|
||||
# route 2001:db8:cafe::/48 via 2001:db8::1;;
|
||||
route 2001:678:d78:210::/60 unreachable;
|
||||
}
|
1
build/default/hvn1.lab.ipng.ch/vpp1-1/etc/hostname
Normal file
1
build/default/hvn1.lab.ipng.ch/vpp1-1/etc/hostname
Normal file
@ -0,0 +1 @@
|
||||
vpp1-1
|
7
build/default/hvn1.lab.ipng.ch/vpp1-1/etc/hosts
Normal file
7
build/default/hvn1.lab.ipng.ch/vpp1-1/etc/hosts
Normal file
@ -0,0 +1,7 @@
|
||||
127.0.0.1 localhost
|
||||
127.0.1.1 vpp1-1.lab.ipng.ch vpp1-1
|
||||
|
||||
# The following lines are desirable for IPv6 capable hosts
|
||||
::1 localhost ip6-localhost ip6-loopback
|
||||
ff02::1 ip6-allnodes
|
||||
ff02::2 ip6-allrouters
|
@ -0,0 +1,14 @@
|
||||
network:
|
||||
version: 2
|
||||
renderer: networkd
|
||||
ethernets:
|
||||
enp1s0:
|
||||
optional: true
|
||||
accept-ra: false
|
||||
dhcp4: false
|
||||
addresses: [ 192.168.1.85/24, 2001:678:d78:101::85/64 ]
|
||||
gateway4: 192.168.1.252
|
||||
gateway6: 2001:678:d78:101::1
|
||||
nameservers:
|
||||
addresses: [ "2001:678:d78::3", "2001:678:d78::4" ]
|
||||
search: [ "lab.ipng.ch", "ipng.ch", "ipng.nl", "rfc1918.ipng.nl" ]
|
38
build/default/hvn1.lab.ipng.ch/vpp1-1/etc/vpp/bootstrap.vpp
Normal file
38
build/default/hvn1.lab.ipng.ch/vpp1-1/etc/vpp/bootstrap.vpp
Normal file
@ -0,0 +1,38 @@
|
||||
set logging class linux-cp rate-limit 1000 level warn syslog-level notice
|
||||
|
||||
lcp default netns dataplane
|
||||
lcp lcp-sync on
|
||||
lcp lcp-auto-subint off
|
||||
|
||||
comment { Create a loopback interface }
|
||||
create loopback interface instance 0
|
||||
lcp create loop0 host-if loop0
|
||||
set interface state loop0 up
|
||||
set interface ip address loop0 192.168.11.1/32
|
||||
set interface ip address loop0 2001:678:d78:210::1/128
|
||||
|
||||
comment { Create one LinuxCP Interface Pair for each phy }
|
||||
lcp create GigabitEthernet10/0/0 host-if e0
|
||||
lcp create GigabitEthernet10/0/1 host-if e1
|
||||
lcp create GigabitEthernet10/0/2 host-if e2
|
||||
lcp create GigabitEthernet10/0/3 host-if e3
|
||||
|
||||
comment { e0 is uplink to AS8298 }
|
||||
set interface state GigabitEthernet10/0/0 up
|
||||
set interface mtu packet 1500 GigabitEthernet10/0/0
|
||||
set interface ip address GigabitEthernet10/0/0 192.168.10.7/31
|
||||
set interface ip address GigabitEthernet10/0/0 2001:678:d78:201::00:00/112
|
||||
|
||||
comment { e1 is ptp with e0.vpp0-1 }
|
||||
set interface state GigabitEthernet10/0/1 up
|
||||
set interface mtu packet 9000 GigabitEthernet10/0/1
|
||||
set interface ip address GigabitEthernet10/0/1 192.168.10.8/31
|
||||
set interface ip address GigabitEthernet10/0/1 2001:678:d78:201::01:00/112
|
||||
|
||||
comment { e2 is free to use }
|
||||
set interface state GigabitEthernet10/0/2 down
|
||||
set interface mtu packet 9000 GigabitEthernet10/0/2
|
||||
|
||||
comment { e3 is free to use }
|
||||
set interface state GigabitEthernet10/0/3 down
|
||||
set interface mtu packet 9000 GigabitEthernet10/0/3
|
6
build/default/hvn1.lab.ipng.ch/vpp1-2/etc/bird/bfd.conf
Normal file
6
build/default/hvn1.lab.ipng.ch/vpp1-2/etc/bird/bfd.conf
Normal file
@ -0,0 +1,6 @@
|
||||
protocol bfd bfd1 {
|
||||
interface "e*" {
|
||||
interval 100 ms;
|
||||
multiplier 20;
|
||||
};
|
||||
}
|
19
build/default/hvn1.lab.ipng.ch/vpp1-2/etc/bird/bird.conf
Normal file
19
build/default/hvn1.lab.ipng.ch/vpp1-2/etc/bird/bird.conf
Normal file
@ -0,0 +1,19 @@
|
||||
router id 192.168.11.2;
|
||||
|
||||
protocol device { scan time 30; }
|
||||
protocol direct { ipv4; ipv6; check link yes; }
|
||||
protocol kernel kernel4 {
|
||||
ipv4 { import none; export where source != RTS_DEVICE; };
|
||||
learn off;
|
||||
scan time 300;
|
||||
}
|
||||
protocol kernel kernel6 {
|
||||
ipv6 { import none; export where source != RTS_DEVICE; };
|
||||
learn off;
|
||||
scan time 300;
|
||||
}
|
||||
|
||||
include "static.conf";
|
||||
include "bfd.conf";
|
||||
include "ospf.conf";
|
||||
include "ibgp.conf";
|
1
build/default/hvn1.lab.ipng.ch/vpp1-2/etc/bird/ibgp.conf
Normal file
1
build/default/hvn1.lab.ipng.ch/vpp1-2/etc/bird/ibgp.conf
Normal file
@ -0,0 +1 @@
|
||||
# NOTE(ipng): Not created yet
|
21
build/default/hvn1.lab.ipng.ch/vpp1-2/etc/bird/ospf.conf
Normal file
21
build/default/hvn1.lab.ipng.ch/vpp1-2/etc/bird/ospf.conf
Normal file
@ -0,0 +1,21 @@
|
||||
protocol ospf v2 ospf4 {
|
||||
ipv4 { export where source = RTS_DEVICE; import all; };
|
||||
area 0 {
|
||||
interface "loop0" { stub yes; };
|
||||
interface "e0" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e1" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e2" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e3" { type pointopoint; cost 5; bfd off; };
|
||||
};
|
||||
}
|
||||
|
||||
protocol ospf v3 ospf6 {
|
||||
ipv6 { export where source = RTS_DEVICE; import all; };
|
||||
area 0 {
|
||||
interface "loop0" { stub yes; };
|
||||
interface "e0" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e1" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e2" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e3" { type pointopoint; cost 5; bfd off; };
|
||||
};
|
||||
}
|
11
build/default/hvn1.lab.ipng.ch/vpp1-2/etc/bird/static.conf
Normal file
11
build/default/hvn1.lab.ipng.ch/vpp1-2/etc/bird/static.conf
Normal file
@ -0,0 +1,11 @@
|
||||
protocol static static4 {
|
||||
ipv4 { export all; };
|
||||
# route 192.0.2.0/24 via 10.0.0.1;
|
||||
route 192.168.11.0/24 unreachable;
|
||||
}
|
||||
|
||||
protocol static static6 {
|
||||
ipv6 { export all; };
|
||||
# route 2001:db8:cafe::/48 via 2001:db8::1;;
|
||||
route 2001:678:d78:210::/60 unreachable;
|
||||
}
|
1
build/default/hvn1.lab.ipng.ch/vpp1-2/etc/hostname
Normal file
1
build/default/hvn1.lab.ipng.ch/vpp1-2/etc/hostname
Normal file
@ -0,0 +1 @@
|
||||
vpp1-2
|
7
build/default/hvn1.lab.ipng.ch/vpp1-2/etc/hosts
Normal file
7
build/default/hvn1.lab.ipng.ch/vpp1-2/etc/hosts
Normal file
@ -0,0 +1,7 @@
|
||||
127.0.0.1 localhost
|
||||
127.0.1.1 vpp1-2.lab.ipng.ch vpp1-2
|
||||
|
||||
# The following lines are desirable for IPv6 capable hosts
|
||||
::1 localhost ip6-localhost ip6-loopback
|
||||
ff02::1 ip6-allnodes
|
||||
ff02::2 ip6-allrouters
|
@ -0,0 +1,14 @@
|
||||
network:
|
||||
version: 2
|
||||
renderer: networkd
|
||||
ethernets:
|
||||
enp1s0:
|
||||
optional: true
|
||||
accept-ra: false
|
||||
dhcp4: false
|
||||
addresses: [ 192.168.1.86/24, 2001:678:d78:101::86/64 ]
|
||||
gateway4: 192.168.1.252
|
||||
gateway6: 2001:678:d78:101::1
|
||||
nameservers:
|
||||
addresses: [ "2001:678:d78::3", "2001:678:d78::4" ]
|
||||
search: [ "lab.ipng.ch", "ipng.ch", "ipng.nl", "rfc1918.ipng.nl" ]
|
38
build/default/hvn1.lab.ipng.ch/vpp1-2/etc/vpp/bootstrap.vpp
Normal file
38
build/default/hvn1.lab.ipng.ch/vpp1-2/etc/vpp/bootstrap.vpp
Normal file
@ -0,0 +1,38 @@
|
||||
set logging class linux-cp rate-limit 1000 level warn syslog-level notice
|
||||
|
||||
lcp default netns dataplane
|
||||
lcp lcp-sync on
|
||||
lcp lcp-auto-subint off
|
||||
|
||||
comment { Create a loopback interface }
|
||||
create loopback interface instance 0
|
||||
lcp create loop0 host-if loop0
|
||||
set interface state loop0 up
|
||||
set interface ip address loop0 192.168.11.2/32
|
||||
set interface ip address loop0 2001:678:d78:210::2/128
|
||||
|
||||
comment { Create one LinuxCP Interface Pair for each phy }
|
||||
lcp create GigabitEthernet10/0/0 host-if e0
|
||||
lcp create GigabitEthernet10/0/1 host-if e1
|
||||
lcp create GigabitEthernet10/0/2 host-if e2
|
||||
lcp create GigabitEthernet10/0/3 host-if e3
|
||||
|
||||
comment { e0 is uplink to AS8298 }
|
||||
set interface state GigabitEthernet10/0/0 up
|
||||
set interface mtu packet 1500 GigabitEthernet10/0/0
|
||||
set interface ip address GigabitEthernet10/0/0 192.168.10.7/31
|
||||
set interface ip address GigabitEthernet10/0/0 2001:678:d78:201::00:00/112
|
||||
|
||||
comment { e1 is ptp with e0.vpp0-1 }
|
||||
set interface state GigabitEthernet10/0/1 up
|
||||
set interface mtu packet 9000 GigabitEthernet10/0/1
|
||||
set interface ip address GigabitEthernet10/0/1 192.168.10.8/31
|
||||
set interface ip address GigabitEthernet10/0/1 2001:678:d78:201::01:00/112
|
||||
|
||||
comment { e2 is free to use }
|
||||
set interface state GigabitEthernet10/0/2 down
|
||||
set interface mtu packet 9000 GigabitEthernet10/0/2
|
||||
|
||||
comment { e3 is free to use }
|
||||
set interface state GigabitEthernet10/0/3 down
|
||||
set interface mtu packet 9000 GigabitEthernet10/0/3
|
6
build/default/hvn1.lab.ipng.ch/vpp1-3/etc/bird/bfd.conf
Normal file
6
build/default/hvn1.lab.ipng.ch/vpp1-3/etc/bird/bfd.conf
Normal file
@ -0,0 +1,6 @@
|
||||
protocol bfd bfd1 {
|
||||
interface "e*" {
|
||||
interval 100 ms;
|
||||
multiplier 20;
|
||||
};
|
||||
}
|
19
build/default/hvn1.lab.ipng.ch/vpp1-3/etc/bird/bird.conf
Normal file
19
build/default/hvn1.lab.ipng.ch/vpp1-3/etc/bird/bird.conf
Normal file
@ -0,0 +1,19 @@
|
||||
router id 192.168.11.3;
|
||||
|
||||
protocol device { scan time 30; }
|
||||
protocol direct { ipv4; ipv6; check link yes; }
|
||||
protocol kernel kernel4 {
|
||||
ipv4 { import none; export where source != RTS_DEVICE; };
|
||||
learn off;
|
||||
scan time 300;
|
||||
}
|
||||
protocol kernel kernel6 {
|
||||
ipv6 { import none; export where source != RTS_DEVICE; };
|
||||
learn off;
|
||||
scan time 300;
|
||||
}
|
||||
|
||||
include "static.conf";
|
||||
include "bfd.conf";
|
||||
include "ospf.conf";
|
||||
include "ibgp.conf";
|
1
build/default/hvn1.lab.ipng.ch/vpp1-3/etc/bird/ibgp.conf
Normal file
1
build/default/hvn1.lab.ipng.ch/vpp1-3/etc/bird/ibgp.conf
Normal file
@ -0,0 +1 @@
|
||||
# NOTE(ipng): Not created yet
|
21
build/default/hvn1.lab.ipng.ch/vpp1-3/etc/bird/ospf.conf
Normal file
21
build/default/hvn1.lab.ipng.ch/vpp1-3/etc/bird/ospf.conf
Normal file
@ -0,0 +1,21 @@
|
||||
protocol ospf v2 ospf4 {
|
||||
ipv4 { export where source = RTS_DEVICE; import all; };
|
||||
area 0 {
|
||||
interface "loop0" { stub yes; };
|
||||
interface "e0" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e1" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e2" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e3" { type pointopoint; cost 5; bfd off; };
|
||||
};
|
||||
}
|
||||
|
||||
protocol ospf v3 ospf6 {
|
||||
ipv6 { export where source = RTS_DEVICE; import all; };
|
||||
area 0 {
|
||||
interface "loop0" { stub yes; };
|
||||
interface "e0" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e1" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e2" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e3" { type pointopoint; cost 5; bfd off; };
|
||||
};
|
||||
}
|
11
build/default/hvn1.lab.ipng.ch/vpp1-3/etc/bird/static.conf
Normal file
11
build/default/hvn1.lab.ipng.ch/vpp1-3/etc/bird/static.conf
Normal file
@ -0,0 +1,11 @@
|
||||
protocol static static4 {
|
||||
ipv4 { export all; };
|
||||
# route 192.0.2.0/24 via 10.0.0.1;
|
||||
route 192.168.11.0/24 unreachable;
|
||||
}
|
||||
|
||||
protocol static static6 {
|
||||
ipv6 { export all; };
|
||||
# route 2001:db8:cafe::/48 via 2001:db8::1;;
|
||||
route 2001:678:d78:210::/60 unreachable;
|
||||
}
|
1
build/default/hvn1.lab.ipng.ch/vpp1-3/etc/hostname
Normal file
1
build/default/hvn1.lab.ipng.ch/vpp1-3/etc/hostname
Normal file
@ -0,0 +1 @@
|
||||
vpp1-3
|
7
build/default/hvn1.lab.ipng.ch/vpp1-3/etc/hosts
Normal file
7
build/default/hvn1.lab.ipng.ch/vpp1-3/etc/hosts
Normal file
@ -0,0 +1,7 @@
|
||||
127.0.0.1 localhost
|
||||
127.0.1.1 vpp1-3.lab.ipng.ch vpp1-3
|
||||
|
||||
# The following lines are desirable for IPv6 capable hosts
|
||||
::1 localhost ip6-localhost ip6-loopback
|
||||
ff02::1 ip6-allnodes
|
||||
ff02::2 ip6-allrouters
|
@ -0,0 +1,14 @@
|
||||
network:
|
||||
version: 2
|
||||
renderer: networkd
|
||||
ethernets:
|
||||
enp1s0:
|
||||
optional: true
|
||||
accept-ra: false
|
||||
dhcp4: false
|
||||
addresses: [ 192.168.1.87/24, 2001:678:d78:101::87/64 ]
|
||||
gateway4: 192.168.1.252
|
||||
gateway6: 2001:678:d78:101::1
|
||||
nameservers:
|
||||
addresses: [ "2001:678:d78::3", "2001:678:d78::4" ]
|
||||
search: [ "lab.ipng.ch", "ipng.ch", "ipng.nl", "rfc1918.ipng.nl" ]
|
38
build/default/hvn1.lab.ipng.ch/vpp1-3/etc/vpp/bootstrap.vpp
Normal file
38
build/default/hvn1.lab.ipng.ch/vpp1-3/etc/vpp/bootstrap.vpp
Normal file
@ -0,0 +1,38 @@
|
||||
set logging class linux-cp rate-limit 1000 level warn syslog-level notice
|
||||
|
||||
lcp default netns dataplane
|
||||
lcp lcp-sync on
|
||||
lcp lcp-auto-subint off
|
||||
|
||||
comment { Create a loopback interface }
|
||||
create loopback interface instance 0
|
||||
lcp create loop0 host-if loop0
|
||||
set interface state loop0 up
|
||||
set interface ip address loop0 192.168.11.3/32
|
||||
set interface ip address loop0 2001:678:d78:210::3/128
|
||||
|
||||
comment { Create one LinuxCP Interface Pair for each phy }
|
||||
lcp create GigabitEthernet10/0/0 host-if e0
|
||||
lcp create GigabitEthernet10/0/1 host-if e1
|
||||
lcp create GigabitEthernet10/0/2 host-if e2
|
||||
lcp create GigabitEthernet10/0/3 host-if e3
|
||||
|
||||
comment { e0 is uplink to AS8298 }
|
||||
set interface state GigabitEthernet10/0/0 up
|
||||
set interface mtu packet 1500 GigabitEthernet10/0/0
|
||||
set interface ip address GigabitEthernet10/0/0 192.168.10.7/31
|
||||
set interface ip address GigabitEthernet10/0/0 2001:678:d78:201::00:00/112
|
||||
|
||||
comment { e1 is ptp with e0.vpp0-1 }
|
||||
set interface state GigabitEthernet10/0/1 up
|
||||
set interface mtu packet 9000 GigabitEthernet10/0/1
|
||||
set interface ip address GigabitEthernet10/0/1 192.168.10.8/31
|
||||
set interface ip address GigabitEthernet10/0/1 2001:678:d78:201::01:00/112
|
||||
|
||||
comment { e2 is free to use }
|
||||
set interface state GigabitEthernet10/0/2 down
|
||||
set interface mtu packet 9000 GigabitEthernet10/0/2
|
||||
|
||||
comment { e3 is free to use }
|
||||
set interface state GigabitEthernet10/0/3 down
|
||||
set interface mtu packet 9000 GigabitEthernet10/0/3
|
6
build/default/hvn2.lab.ipng.ch/vpp2-0/etc/bird/bfd.conf
Normal file
6
build/default/hvn2.lab.ipng.ch/vpp2-0/etc/bird/bfd.conf
Normal file
@ -0,0 +1,6 @@
|
||||
protocol bfd bfd1 {
|
||||
interface "e*" {
|
||||
interval 100 ms;
|
||||
multiplier 20;
|
||||
};
|
||||
}
|
19
build/default/hvn2.lab.ipng.ch/vpp2-0/etc/bird/bird.conf
Normal file
19
build/default/hvn2.lab.ipng.ch/vpp2-0/etc/bird/bird.conf
Normal file
@ -0,0 +1,19 @@
|
||||
router id 192.168.12.0;
|
||||
|
||||
protocol device { scan time 30; }
|
||||
protocol direct { ipv4; ipv6; check link yes; }
|
||||
protocol kernel kernel4 {
|
||||
ipv4 { import none; export where source != RTS_DEVICE; };
|
||||
learn off;
|
||||
scan time 300;
|
||||
}
|
||||
protocol kernel kernel6 {
|
||||
ipv6 { import none; export where source != RTS_DEVICE; };
|
||||
learn off;
|
||||
scan time 300;
|
||||
}
|
||||
|
||||
include "static.conf";
|
||||
include "bfd.conf";
|
||||
include "ospf.conf";
|
||||
include "ibgp.conf";
|
1
build/default/hvn2.lab.ipng.ch/vpp2-0/etc/bird/ibgp.conf
Normal file
1
build/default/hvn2.lab.ipng.ch/vpp2-0/etc/bird/ibgp.conf
Normal file
@ -0,0 +1 @@
|
||||
# NOTE(ipng): Not created yet
|
21
build/default/hvn2.lab.ipng.ch/vpp2-0/etc/bird/ospf.conf
Normal file
21
build/default/hvn2.lab.ipng.ch/vpp2-0/etc/bird/ospf.conf
Normal file
@ -0,0 +1,21 @@
|
||||
protocol ospf v2 ospf4 {
|
||||
ipv4 { export where source = RTS_DEVICE; import all; };
|
||||
area 0 {
|
||||
interface "loop0" { stub yes; };
|
||||
interface "e0" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e1" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e2" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e3" { type pointopoint; cost 5; bfd off; };
|
||||
};
|
||||
}
|
||||
|
||||
protocol ospf v3 ospf6 {
|
||||
ipv6 { export where source = RTS_DEVICE; import all; };
|
||||
area 0 {
|
||||
interface "loop0" { stub yes; };
|
||||
interface "e0" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e1" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e2" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e3" { type pointopoint; cost 5; bfd off; };
|
||||
};
|
||||
}
|
11
build/default/hvn2.lab.ipng.ch/vpp2-0/etc/bird/static.conf
Normal file
11
build/default/hvn2.lab.ipng.ch/vpp2-0/etc/bird/static.conf
Normal file
@ -0,0 +1,11 @@
|
||||
protocol static static4 {
|
||||
ipv4 { export all; };
|
||||
# route 192.0.2.0/24 via 10.0.0.1;
|
||||
route 192.168.12.0/24 unreachable;
|
||||
}
|
||||
|
||||
protocol static static6 {
|
||||
ipv6 { export all; };
|
||||
# route 2001:db8:cafe::/48 via 2001:db8::1;;
|
||||
route 2001:678:d78:220::/60 unreachable;
|
||||
}
|
1
build/default/hvn2.lab.ipng.ch/vpp2-0/etc/hostname
Normal file
1
build/default/hvn2.lab.ipng.ch/vpp2-0/etc/hostname
Normal file
@ -0,0 +1 @@
|
||||
vpp2-0
|
7
build/default/hvn2.lab.ipng.ch/vpp2-0/etc/hosts
Normal file
7
build/default/hvn2.lab.ipng.ch/vpp2-0/etc/hosts
Normal file
@ -0,0 +1,7 @@
|
||||
127.0.0.1 localhost
|
||||
127.0.1.1 vpp2-0.lab.ipng.ch vpp2-0
|
||||
|
||||
# The following lines are desirable for IPv6 capable hosts
|
||||
::1 localhost ip6-localhost ip6-loopback
|
||||
ff02::1 ip6-allnodes
|
||||
ff02::2 ip6-allrouters
|
@ -0,0 +1,14 @@
|
||||
network:
|
||||
version: 2
|
||||
renderer: networkd
|
||||
ethernets:
|
||||
enp1s0:
|
||||
optional: true
|
||||
accept-ra: false
|
||||
dhcp4: false
|
||||
addresses: [ 192.168.1.88/24, 2001:678:d78:101::88/64 ]
|
||||
gateway4: 192.168.1.252
|
||||
gateway6: 2001:678:d78:101::1
|
||||
nameservers:
|
||||
addresses: [ "2001:678:d78::3", "2001:678:d78::4" ]
|
||||
search: [ "lab.ipng.ch", "ipng.ch", "ipng.nl", "rfc1918.ipng.nl" ]
|
38
build/default/hvn2.lab.ipng.ch/vpp2-0/etc/vpp/bootstrap.vpp
Normal file
38
build/default/hvn2.lab.ipng.ch/vpp2-0/etc/vpp/bootstrap.vpp
Normal file
@ -0,0 +1,38 @@
|
||||
set logging class linux-cp rate-limit 1000 level warn syslog-level notice
|
||||
|
||||
lcp default netns dataplane
|
||||
lcp lcp-sync on
|
||||
lcp lcp-auto-subint off
|
||||
|
||||
comment { Create a loopback interface }
|
||||
create loopback interface instance 0
|
||||
lcp create loop0 host-if loop0
|
||||
set interface state loop0 up
|
||||
set interface ip address loop0 192.168.12.0/32
|
||||
set interface ip address loop0 2001:678:d78:220::/128
|
||||
|
||||
comment { Create one LinuxCP Interface Pair for each phy }
|
||||
lcp create GigabitEthernet10/0/0 host-if e0
|
||||
lcp create GigabitEthernet10/0/1 host-if e1
|
||||
lcp create GigabitEthernet10/0/2 host-if e2
|
||||
lcp create GigabitEthernet10/0/3 host-if e3
|
||||
|
||||
comment { e0 is uplink to AS8298 }
|
||||
set interface state GigabitEthernet10/0/0 up
|
||||
set interface mtu packet 1500 GigabitEthernet10/0/0
|
||||
set interface ip address GigabitEthernet10/0/0 192.168.10.7/31
|
||||
set interface ip address GigabitEthernet10/0/0 2001:678:d78:201::00:00/112
|
||||
|
||||
comment { e1 is ptp with e0.vpp0-1 }
|
||||
set interface state GigabitEthernet10/0/1 up
|
||||
set interface mtu packet 9000 GigabitEthernet10/0/1
|
||||
set interface ip address GigabitEthernet10/0/1 192.168.10.8/31
|
||||
set interface ip address GigabitEthernet10/0/1 2001:678:d78:201::01:00/112
|
||||
|
||||
comment { e2 is free to use }
|
||||
set interface state GigabitEthernet10/0/2 down
|
||||
set interface mtu packet 9000 GigabitEthernet10/0/2
|
||||
|
||||
comment { e3 is free to use }
|
||||
set interface state GigabitEthernet10/0/3 down
|
||||
set interface mtu packet 9000 GigabitEthernet10/0/3
|
6
build/default/hvn2.lab.ipng.ch/vpp2-1/etc/bird/bfd.conf
Normal file
6
build/default/hvn2.lab.ipng.ch/vpp2-1/etc/bird/bfd.conf
Normal file
@ -0,0 +1,6 @@
|
||||
protocol bfd bfd1 {
|
||||
interface "e*" {
|
||||
interval 100 ms;
|
||||
multiplier 20;
|
||||
};
|
||||
}
|
19
build/default/hvn2.lab.ipng.ch/vpp2-1/etc/bird/bird.conf
Normal file
19
build/default/hvn2.lab.ipng.ch/vpp2-1/etc/bird/bird.conf
Normal file
@ -0,0 +1,19 @@
|
||||
router id 192.168.12.1;
|
||||
|
||||
protocol device { scan time 30; }
|
||||
protocol direct { ipv4; ipv6; check link yes; }
|
||||
protocol kernel kernel4 {
|
||||
ipv4 { import none; export where source != RTS_DEVICE; };
|
||||
learn off;
|
||||
scan time 300;
|
||||
}
|
||||
protocol kernel kernel6 {
|
||||
ipv6 { import none; export where source != RTS_DEVICE; };
|
||||
learn off;
|
||||
scan time 300;
|
||||
}
|
||||
|
||||
include "static.conf";
|
||||
include "bfd.conf";
|
||||
include "ospf.conf";
|
||||
include "ibgp.conf";
|
1
build/default/hvn2.lab.ipng.ch/vpp2-1/etc/bird/ibgp.conf
Normal file
1
build/default/hvn2.lab.ipng.ch/vpp2-1/etc/bird/ibgp.conf
Normal file
@ -0,0 +1 @@
|
||||
# NOTE(ipng): Not created yet
|
21
build/default/hvn2.lab.ipng.ch/vpp2-1/etc/bird/ospf.conf
Normal file
21
build/default/hvn2.lab.ipng.ch/vpp2-1/etc/bird/ospf.conf
Normal file
@ -0,0 +1,21 @@
|
||||
protocol ospf v2 ospf4 {
|
||||
ipv4 { export where source = RTS_DEVICE; import all; };
|
||||
area 0 {
|
||||
interface "loop0" { stub yes; };
|
||||
interface "e0" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e1" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e2" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e3" { type pointopoint; cost 5; bfd off; };
|
||||
};
|
||||
}
|
||||
|
||||
protocol ospf v3 ospf6 {
|
||||
ipv6 { export where source = RTS_DEVICE; import all; };
|
||||
area 0 {
|
||||
interface "loop0" { stub yes; };
|
||||
interface "e0" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e1" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e2" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e3" { type pointopoint; cost 5; bfd off; };
|
||||
};
|
||||
}
|
11
build/default/hvn2.lab.ipng.ch/vpp2-1/etc/bird/static.conf
Normal file
11
build/default/hvn2.lab.ipng.ch/vpp2-1/etc/bird/static.conf
Normal file
@ -0,0 +1,11 @@
|
||||
protocol static static4 {
|
||||
ipv4 { export all; };
|
||||
# route 192.0.2.0/24 via 10.0.0.1;
|
||||
route 192.168.12.0/24 unreachable;
|
||||
}
|
||||
|
||||
protocol static static6 {
|
||||
ipv6 { export all; };
|
||||
# route 2001:db8:cafe::/48 via 2001:db8::1;;
|
||||
route 2001:678:d78:220::/60 unreachable;
|
||||
}
|
1
build/default/hvn2.lab.ipng.ch/vpp2-1/etc/hostname
Normal file
1
build/default/hvn2.lab.ipng.ch/vpp2-1/etc/hostname
Normal file
@ -0,0 +1 @@
|
||||
vpp2-1
|
7
build/default/hvn2.lab.ipng.ch/vpp2-1/etc/hosts
Normal file
7
build/default/hvn2.lab.ipng.ch/vpp2-1/etc/hosts
Normal file
@ -0,0 +1,7 @@
|
||||
127.0.0.1 localhost
|
||||
127.0.1.1 vpp2-1.lab.ipng.ch vpp2-1
|
||||
|
||||
# The following lines are desirable for IPv6 capable hosts
|
||||
::1 localhost ip6-localhost ip6-loopback
|
||||
ff02::1 ip6-allnodes
|
||||
ff02::2 ip6-allrouters
|
@ -0,0 +1,14 @@
|
||||
network:
|
||||
version: 2
|
||||
renderer: networkd
|
||||
ethernets:
|
||||
enp1s0:
|
||||
optional: true
|
||||
accept-ra: false
|
||||
dhcp4: false
|
||||
addresses: [ 192.168.1.89/24, 2001:678:d78:101::89/64 ]
|
||||
gateway4: 192.168.1.252
|
||||
gateway6: 2001:678:d78:101::1
|
||||
nameservers:
|
||||
addresses: [ "2001:678:d78::3", "2001:678:d78::4" ]
|
||||
search: [ "lab.ipng.ch", "ipng.ch", "ipng.nl", "rfc1918.ipng.nl" ]
|
38
build/default/hvn2.lab.ipng.ch/vpp2-1/etc/vpp/bootstrap.vpp
Normal file
38
build/default/hvn2.lab.ipng.ch/vpp2-1/etc/vpp/bootstrap.vpp
Normal file
@ -0,0 +1,38 @@
|
||||
set logging class linux-cp rate-limit 1000 level warn syslog-level notice
|
||||
|
||||
lcp default netns dataplane
|
||||
lcp lcp-sync on
|
||||
lcp lcp-auto-subint off
|
||||
|
||||
comment { Create a loopback interface }
|
||||
create loopback interface instance 0
|
||||
lcp create loop0 host-if loop0
|
||||
set interface state loop0 up
|
||||
set interface ip address loop0 192.168.12.1/32
|
||||
set interface ip address loop0 2001:678:d78:220::1/128
|
||||
|
||||
comment { Create one LinuxCP Interface Pair for each phy }
|
||||
lcp create GigabitEthernet10/0/0 host-if e0
|
||||
lcp create GigabitEthernet10/0/1 host-if e1
|
||||
lcp create GigabitEthernet10/0/2 host-if e2
|
||||
lcp create GigabitEthernet10/0/3 host-if e3
|
||||
|
||||
comment { e0 is uplink to AS8298 }
|
||||
set interface state GigabitEthernet10/0/0 up
|
||||
set interface mtu packet 1500 GigabitEthernet10/0/0
|
||||
set interface ip address GigabitEthernet10/0/0 192.168.10.7/31
|
||||
set interface ip address GigabitEthernet10/0/0 2001:678:d78:201::00:00/112
|
||||
|
||||
comment { e1 is ptp with e0.vpp0-1 }
|
||||
set interface state GigabitEthernet10/0/1 up
|
||||
set interface mtu packet 9000 GigabitEthernet10/0/1
|
||||
set interface ip address GigabitEthernet10/0/1 192.168.10.8/31
|
||||
set interface ip address GigabitEthernet10/0/1 2001:678:d78:201::01:00/112
|
||||
|
||||
comment { e2 is free to use }
|
||||
set interface state GigabitEthernet10/0/2 down
|
||||
set interface mtu packet 9000 GigabitEthernet10/0/2
|
||||
|
||||
comment { e3 is free to use }
|
||||
set interface state GigabitEthernet10/0/3 down
|
||||
set interface mtu packet 9000 GigabitEthernet10/0/3
|
6
build/default/hvn2.lab.ipng.ch/vpp2-2/etc/bird/bfd.conf
Normal file
6
build/default/hvn2.lab.ipng.ch/vpp2-2/etc/bird/bfd.conf
Normal file
@ -0,0 +1,6 @@
|
||||
protocol bfd bfd1 {
|
||||
interface "e*" {
|
||||
interval 100 ms;
|
||||
multiplier 20;
|
||||
};
|
||||
}
|
19
build/default/hvn2.lab.ipng.ch/vpp2-2/etc/bird/bird.conf
Normal file
19
build/default/hvn2.lab.ipng.ch/vpp2-2/etc/bird/bird.conf
Normal file
@ -0,0 +1,19 @@
|
||||
router id 192.168.12.2;
|
||||
|
||||
protocol device { scan time 30; }
|
||||
protocol direct { ipv4; ipv6; check link yes; }
|
||||
protocol kernel kernel4 {
|
||||
ipv4 { import none; export where source != RTS_DEVICE; };
|
||||
learn off;
|
||||
scan time 300;
|
||||
}
|
||||
protocol kernel kernel6 {
|
||||
ipv6 { import none; export where source != RTS_DEVICE; };
|
||||
learn off;
|
||||
scan time 300;
|
||||
}
|
||||
|
||||
include "static.conf";
|
||||
include "bfd.conf";
|
||||
include "ospf.conf";
|
||||
include "ibgp.conf";
|
1
build/default/hvn2.lab.ipng.ch/vpp2-2/etc/bird/ibgp.conf
Normal file
1
build/default/hvn2.lab.ipng.ch/vpp2-2/etc/bird/ibgp.conf
Normal file
@ -0,0 +1 @@
|
||||
# NOTE(ipng): Not created yet
|
21
build/default/hvn2.lab.ipng.ch/vpp2-2/etc/bird/ospf.conf
Normal file
21
build/default/hvn2.lab.ipng.ch/vpp2-2/etc/bird/ospf.conf
Normal file
@ -0,0 +1,21 @@
|
||||
protocol ospf v2 ospf4 {
|
||||
ipv4 { export where source = RTS_DEVICE; import all; };
|
||||
area 0 {
|
||||
interface "loop0" { stub yes; };
|
||||
interface "e0" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e1" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e2" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e3" { type pointopoint; cost 5; bfd off; };
|
||||
};
|
||||
}
|
||||
|
||||
protocol ospf v3 ospf6 {
|
||||
ipv6 { export where source = RTS_DEVICE; import all; };
|
||||
area 0 {
|
||||
interface "loop0" { stub yes; };
|
||||
interface "e0" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e1" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e2" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e3" { type pointopoint; cost 5; bfd off; };
|
||||
};
|
||||
}
|
11
build/default/hvn2.lab.ipng.ch/vpp2-2/etc/bird/static.conf
Normal file
11
build/default/hvn2.lab.ipng.ch/vpp2-2/etc/bird/static.conf
Normal file
@ -0,0 +1,11 @@
|
||||
protocol static static4 {
|
||||
ipv4 { export all; };
|
||||
# route 192.0.2.0/24 via 10.0.0.1;
|
||||
route 192.168.12.0/24 unreachable;
|
||||
}
|
||||
|
||||
protocol static static6 {
|
||||
ipv6 { export all; };
|
||||
# route 2001:db8:cafe::/48 via 2001:db8::1;;
|
||||
route 2001:678:d78:220::/60 unreachable;
|
||||
}
|
1
build/default/hvn2.lab.ipng.ch/vpp2-2/etc/hostname
Normal file
1
build/default/hvn2.lab.ipng.ch/vpp2-2/etc/hostname
Normal file
@ -0,0 +1 @@
|
||||
vpp2-2
|
7
build/default/hvn2.lab.ipng.ch/vpp2-2/etc/hosts
Normal file
7
build/default/hvn2.lab.ipng.ch/vpp2-2/etc/hosts
Normal file
@ -0,0 +1,7 @@
|
||||
127.0.0.1 localhost
|
||||
127.0.1.1 vpp2-2.lab.ipng.ch vpp2-2
|
||||
|
||||
# The following lines are desirable for IPv6 capable hosts
|
||||
::1 localhost ip6-localhost ip6-loopback
|
||||
ff02::1 ip6-allnodes
|
||||
ff02::2 ip6-allrouters
|
@ -0,0 +1,14 @@
|
||||
network:
|
||||
version: 2
|
||||
renderer: networkd
|
||||
ethernets:
|
||||
enp1s0:
|
||||
optional: true
|
||||
accept-ra: false
|
||||
dhcp4: false
|
||||
addresses: [ 192.168.1.90/24, 2001:678:d78:101::8a/64 ]
|
||||
gateway4: 192.168.1.252
|
||||
gateway6: 2001:678:d78:101::1
|
||||
nameservers:
|
||||
addresses: [ "2001:678:d78::3", "2001:678:d78::4" ]
|
||||
search: [ "lab.ipng.ch", "ipng.ch", "ipng.nl", "rfc1918.ipng.nl" ]
|
38
build/default/hvn2.lab.ipng.ch/vpp2-2/etc/vpp/bootstrap.vpp
Normal file
38
build/default/hvn2.lab.ipng.ch/vpp2-2/etc/vpp/bootstrap.vpp
Normal file
@ -0,0 +1,38 @@
|
||||
set logging class linux-cp rate-limit 1000 level warn syslog-level notice
|
||||
|
||||
lcp default netns dataplane
|
||||
lcp lcp-sync on
|
||||
lcp lcp-auto-subint off
|
||||
|
||||
comment { Create a loopback interface }
|
||||
create loopback interface instance 0
|
||||
lcp create loop0 host-if loop0
|
||||
set interface state loop0 up
|
||||
set interface ip address loop0 192.168.12.2/32
|
||||
set interface ip address loop0 2001:678:d78:220::2/128
|
||||
|
||||
comment { Create one LinuxCP Interface Pair for each phy }
|
||||
lcp create GigabitEthernet10/0/0 host-if e0
|
||||
lcp create GigabitEthernet10/0/1 host-if e1
|
||||
lcp create GigabitEthernet10/0/2 host-if e2
|
||||
lcp create GigabitEthernet10/0/3 host-if e3
|
||||
|
||||
comment { e0 is uplink to AS8298 }
|
||||
set interface state GigabitEthernet10/0/0 up
|
||||
set interface mtu packet 1500 GigabitEthernet10/0/0
|
||||
set interface ip address GigabitEthernet10/0/0 192.168.10.7/31
|
||||
set interface ip address GigabitEthernet10/0/0 2001:678:d78:201::00:00/112
|
||||
|
||||
comment { e1 is ptp with e0.vpp0-1 }
|
||||
set interface state GigabitEthernet10/0/1 up
|
||||
set interface mtu packet 9000 GigabitEthernet10/0/1
|
||||
set interface ip address GigabitEthernet10/0/1 192.168.10.8/31
|
||||
set interface ip address GigabitEthernet10/0/1 2001:678:d78:201::01:00/112
|
||||
|
||||
comment { e2 is free to use }
|
||||
set interface state GigabitEthernet10/0/2 down
|
||||
set interface mtu packet 9000 GigabitEthernet10/0/2
|
||||
|
||||
comment { e3 is free to use }
|
||||
set interface state GigabitEthernet10/0/3 down
|
||||
set interface mtu packet 9000 GigabitEthernet10/0/3
|
6
build/default/hvn2.lab.ipng.ch/vpp2-3/etc/bird/bfd.conf
Normal file
6
build/default/hvn2.lab.ipng.ch/vpp2-3/etc/bird/bfd.conf
Normal file
@ -0,0 +1,6 @@
|
||||
protocol bfd bfd1 {
|
||||
interface "e*" {
|
||||
interval 100 ms;
|
||||
multiplier 20;
|
||||
};
|
||||
}
|
19
build/default/hvn2.lab.ipng.ch/vpp2-3/etc/bird/bird.conf
Normal file
19
build/default/hvn2.lab.ipng.ch/vpp2-3/etc/bird/bird.conf
Normal file
@ -0,0 +1,19 @@
|
||||
router id 192.168.12.3;
|
||||
|
||||
protocol device { scan time 30; }
|
||||
protocol direct { ipv4; ipv6; check link yes; }
|
||||
protocol kernel kernel4 {
|
||||
ipv4 { import none; export where source != RTS_DEVICE; };
|
||||
learn off;
|
||||
scan time 300;
|
||||
}
|
||||
protocol kernel kernel6 {
|
||||
ipv6 { import none; export where source != RTS_DEVICE; };
|
||||
learn off;
|
||||
scan time 300;
|
||||
}
|
||||
|
||||
include "static.conf";
|
||||
include "bfd.conf";
|
||||
include "ospf.conf";
|
||||
include "ibgp.conf";
|
1
build/default/hvn2.lab.ipng.ch/vpp2-3/etc/bird/ibgp.conf
Normal file
1
build/default/hvn2.lab.ipng.ch/vpp2-3/etc/bird/ibgp.conf
Normal file
@ -0,0 +1 @@
|
||||
# NOTE(ipng): Not created yet
|
21
build/default/hvn2.lab.ipng.ch/vpp2-3/etc/bird/ospf.conf
Normal file
21
build/default/hvn2.lab.ipng.ch/vpp2-3/etc/bird/ospf.conf
Normal file
@ -0,0 +1,21 @@
|
||||
protocol ospf v2 ospf4 {
|
||||
ipv4 { export where source = RTS_DEVICE; import all; };
|
||||
area 0 {
|
||||
interface "loop0" { stub yes; };
|
||||
interface "e0" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e1" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e2" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e3" { type pointopoint; cost 5; bfd off; };
|
||||
};
|
||||
}
|
||||
|
||||
protocol ospf v3 ospf6 {
|
||||
ipv6 { export where source = RTS_DEVICE; import all; };
|
||||
area 0 {
|
||||
interface "loop0" { stub yes; };
|
||||
interface "e0" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e1" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e2" { type pointopoint; cost 5; bfd off; };
|
||||
interface "e3" { type pointopoint; cost 5; bfd off; };
|
||||
};
|
||||
}
|
11
build/default/hvn2.lab.ipng.ch/vpp2-3/etc/bird/static.conf
Normal file
11
build/default/hvn2.lab.ipng.ch/vpp2-3/etc/bird/static.conf
Normal file
@ -0,0 +1,11 @@
|
||||
protocol static static4 {
|
||||
ipv4 { export all; };
|
||||
# route 192.0.2.0/24 via 10.0.0.1;
|
||||
route 192.168.12.0/24 unreachable;
|
||||
}
|
||||
|
||||
protocol static static6 {
|
||||
ipv6 { export all; };
|
||||
# route 2001:db8:cafe::/48 via 2001:db8::1;;
|
||||
route 2001:678:d78:220::/60 unreachable;
|
||||
}
|
1
build/default/hvn2.lab.ipng.ch/vpp2-3/etc/hostname
Normal file
1
build/default/hvn2.lab.ipng.ch/vpp2-3/etc/hostname
Normal file
@ -0,0 +1 @@
|
||||
vpp2-3
|
7
build/default/hvn2.lab.ipng.ch/vpp2-3/etc/hosts
Normal file
7
build/default/hvn2.lab.ipng.ch/vpp2-3/etc/hosts
Normal file
@ -0,0 +1,7 @@
|
||||
127.0.0.1 localhost
|
||||
127.0.1.1 vpp2-3.lab.ipng.ch vpp2-3
|
||||
|
||||
# The following lines are desirable for IPv6 capable hosts
|
||||
::1 localhost ip6-localhost ip6-loopback
|
||||
ff02::1 ip6-allnodes
|
||||
ff02::2 ip6-allrouters
|
@ -0,0 +1,14 @@
|
||||
network:
|
||||
version: 2
|
||||
renderer: networkd
|
||||
ethernets:
|
||||
enp1s0:
|
||||
optional: true
|
||||
accept-ra: false
|
||||
dhcp4: false
|
||||
addresses: [ 192.168.1.91/24, 2001:678:d78:101::8b/64 ]
|
||||
gateway4: 192.168.1.252
|
||||
gateway6: 2001:678:d78:101::1
|
||||
nameservers:
|
||||
addresses: [ "2001:678:d78::3", "2001:678:d78::4" ]
|
||||
search: [ "lab.ipng.ch", "ipng.ch", "ipng.nl", "rfc1918.ipng.nl" ]
|
38
build/default/hvn2.lab.ipng.ch/vpp2-3/etc/vpp/bootstrap.vpp
Normal file
38
build/default/hvn2.lab.ipng.ch/vpp2-3/etc/vpp/bootstrap.vpp
Normal file
@ -0,0 +1,38 @@
|
||||
set logging class linux-cp rate-limit 1000 level warn syslog-level notice
|
||||
|
||||
lcp default netns dataplane
|
||||
lcp lcp-sync on
|
||||
lcp lcp-auto-subint off
|
||||
|
||||
comment { Create a loopback interface }
|
||||
create loopback interface instance 0
|
||||
lcp create loop0 host-if loop0
|
||||
set interface state loop0 up
|
||||
set interface ip address loop0 192.168.12.3/32
|
||||
set interface ip address loop0 2001:678:d78:220::3/128
|
||||
|
||||
comment { Create one LinuxCP Interface Pair for each phy }
|
||||
lcp create GigabitEthernet10/0/0 host-if e0
|
||||
lcp create GigabitEthernet10/0/1 host-if e1
|
||||
lcp create GigabitEthernet10/0/2 host-if e2
|
||||
lcp create GigabitEthernet10/0/3 host-if e3
|
||||
|
||||
comment { e0 is uplink to AS8298 }
|
||||
set interface state GigabitEthernet10/0/0 up
|
||||
set interface mtu packet 1500 GigabitEthernet10/0/0
|
||||
set interface ip address GigabitEthernet10/0/0 192.168.10.7/31
|
||||
set interface ip address GigabitEthernet10/0/0 2001:678:d78:201::00:00/112
|
||||
|
||||
comment { e1 is ptp with e0.vpp0-1 }
|
||||
set interface state GigabitEthernet10/0/1 up
|
||||
set interface mtu packet 9000 GigabitEthernet10/0/1
|
||||
set interface ip address GigabitEthernet10/0/1 192.168.10.8/31
|
||||
set interface ip address GigabitEthernet10/0/1 2001:678:d78:201::01:00/112
|
||||
|
||||
comment { e2 is free to use }
|
||||
set interface state GigabitEthernet10/0/2 down
|
||||
set interface mtu packet 9000 GigabitEthernet10/0/2
|
||||
|
||||
comment { e3 is free to use }
|
||||
set interface state GigabitEthernet10/0/3 down
|
||||
set interface mtu packet 9000 GigabitEthernet10/0/3
|
@ -9,14 +9,3 @@ lab:
|
||||
ipv6: 2001:678:d78:200::/60
|
||||
hypervisor: hvn0.lab.ipng.ch
|
||||
nodes: 4
|
||||
|
||||
## for i in lab.nodes; do
|
||||
# node:
|
||||
# hostname: "vpp" + lab.id + "-" + i
|
||||
# id: i
|
||||
# mgmt:
|
||||
# ipv4: lab.mgmt.ipv4 + node.id
|
||||
# ipv6: lab.mgmt.ipv6 + node.id
|
||||
# loopback:
|
||||
# ipv4: lab.ipv4 + node.id + "/32"
|
||||
# ipv6: lab.ipv6 + node.id + "/128"
|
||||
|
11
config/hvn1.lab.ipng.ch.yaml
Normal file
11
config/hvn1.lab.ipng.ch.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
lab:
|
||||
id: 1
|
||||
mgmt:
|
||||
ipv4: 192.168.1.80/24
|
||||
ipv6: 2001:678:d78:101::80/64
|
||||
gw4: 192.168.1.252
|
||||
gw6: 2001:678:d78:101::1
|
||||
ipv4: 192.168.11.0/24
|
||||
ipv6: 2001:678:d78:210::/60
|
||||
hypervisor: hvn1.lab.ipng.ch
|
||||
nodes: 4
|
11
config/hvn2.lab.ipng.ch.yaml
Normal file
11
config/hvn2.lab.ipng.ch.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
lab:
|
||||
id: 2
|
||||
mgmt:
|
||||
ipv4: 192.168.1.80/24
|
||||
ipv6: 2001:678:d78:101::80/64
|
||||
gw4: 192.168.1.252
|
||||
gw6: 2001:678:d78:101::1
|
||||
ipv4: 192.168.12.0/24
|
||||
ipv6: 2001:678:d78:220::/60
|
||||
hypervisor: hvn1.lab.ipng.ch
|
||||
nodes: 4
|
Reference in New Issue
Block a user