Compare commits
17 Commits
5e75a4904b
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
40a1a7c633 | ||
|
|
e5d34e5a69 | ||
|
|
ad72430086 | ||
|
|
14c20554b8 | ||
|
|
1575b4f6d6 | ||
|
|
a130d293e1 | ||
|
|
4b0088f935 | ||
|
|
1d10a2c67b | ||
|
|
a21e523ba5 | ||
|
|
491987d90c | ||
|
|
22b17f5db0 | ||
|
|
6e5773d5f4 | ||
|
|
0321ea9aee | ||
|
|
14ab4d4054 | ||
|
|
e9a1ec6920 | ||
|
|
f1a51505c3 | ||
|
|
a49c4519e1 |
5
build/bird/hvn0.lab.ipng.ch/host0-0/etc/rc.local
Normal file
5
build/bird/hvn0.lab.ipng.ch/host0-0/etc/rc.local
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
for port in 0 1 2 3; do
|
||||
ip link set enp16s0f${port} up mtu 1500 alias "vpp0-${port}:Gi10/0/2"
|
||||
done
|
||||
@@ -4,4 +4,4 @@ echo " * Disabling VPP, Bird and FRR"
|
||||
for i in vpp vppcfg bird-dataplane frr; do
|
||||
rm -f /etc/systemd/system/multi-user.target.wants/${i}.service
|
||||
ln -sf /dev/null /etc/systemd/system/${i}.service
|
||||
done
|
||||
done
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "* Fixing permissions of rc.local"
|
||||
chmod 755 /etc/rc.local
|
||||
@@ -21,30 +21,7 @@
|
||||
<apic/>
|
||||
<vmport state='off'/>
|
||||
</features>
|
||||
<cpu mode='custom' match='exact' check='full'>
|
||||
<model fallback='forbid'>SandyBridge-IBRS</model>
|
||||
<vendor>Intel</vendor>
|
||||
<feature policy='require' name='vme'/>
|
||||
<feature policy='require' name='ss'/>
|
||||
<feature policy='require' name='vmx'/>
|
||||
<feature policy='require' name='pdcm'/>
|
||||
<feature policy='require' name='pcid'/>
|
||||
<feature policy='require' name='hypervisor'/>
|
||||
<feature policy='require' name='arat'/>
|
||||
<feature policy='require' name='tsc_adjust'/>
|
||||
<feature policy='require' name='umip'/>
|
||||
<feature policy='require' name='md-clear'/>
|
||||
<feature policy='require' name='stibp'/>
|
||||
<feature policy='require' name='arch-capabilities'/>
|
||||
<feature policy='require' name='ssbd'/>
|
||||
<feature policy='require' name='xsaveopt'/>
|
||||
<feature policy='require' name='pdpe1gb'/>
|
||||
<feature policy='require' name='ibpb'/>
|
||||
<feature policy='require' name='amd-stibp'/>
|
||||
<feature policy='require' name='amd-ssbd'/>
|
||||
<feature policy='require' name='skip-l1dfl-vmentry'/>
|
||||
<feature policy='require' name='pschange-mc-no'/>
|
||||
</cpu>
|
||||
<cpu mode='host-passthrough'/>
|
||||
<clock offset='utc'>
|
||||
<timer name='rtc' tickpolicy='catchup'/>
|
||||
<timer name='pit' tickpolicy='delay'/>
|
||||
|
||||
5
build/bird/hvn0.lab.ipng.ch/host0-1/etc/rc.local
Normal file
5
build/bird/hvn0.lab.ipng.ch/host0-1/etc/rc.local
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
for port in 0 1 2 3; do
|
||||
ip link set enp16s0f${port} up mtu 1500 alias "vpp0-${port}:Gi10/0/3"
|
||||
done
|
||||
@@ -4,4 +4,4 @@ echo " * Disabling VPP, Bird and FRR"
|
||||
for i in vpp vppcfg bird-dataplane frr; do
|
||||
rm -f /etc/systemd/system/multi-user.target.wants/${i}.service
|
||||
ln -sf /dev/null /etc/systemd/system/${i}.service
|
||||
done
|
||||
done
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "* Fixing permissions of rc.local"
|
||||
chmod 755 /etc/rc.local
|
||||
@@ -21,30 +21,7 @@
|
||||
<apic/>
|
||||
<vmport state='off'/>
|
||||
</features>
|
||||
<cpu mode='custom' match='exact' check='full'>
|
||||
<model fallback='forbid'>SandyBridge-IBRS</model>
|
||||
<vendor>Intel</vendor>
|
||||
<feature policy='require' name='vme'/>
|
||||
<feature policy='require' name='ss'/>
|
||||
<feature policy='require' name='vmx'/>
|
||||
<feature policy='require' name='pdcm'/>
|
||||
<feature policy='require' name='pcid'/>
|
||||
<feature policy='require' name='hypervisor'/>
|
||||
<feature policy='require' name='arat'/>
|
||||
<feature policy='require' name='tsc_adjust'/>
|
||||
<feature policy='require' name='umip'/>
|
||||
<feature policy='require' name='md-clear'/>
|
||||
<feature policy='require' name='stibp'/>
|
||||
<feature policy='require' name='arch-capabilities'/>
|
||||
<feature policy='require' name='ssbd'/>
|
||||
<feature policy='require' name='xsaveopt'/>
|
||||
<feature policy='require' name='pdpe1gb'/>
|
||||
<feature policy='require' name='ibpb'/>
|
||||
<feature policy='require' name='amd-stibp'/>
|
||||
<feature policy='require' name='amd-ssbd'/>
|
||||
<feature policy='require' name='skip-l1dfl-vmentry'/>
|
||||
<feature policy='require' name='pschange-mc-no'/>
|
||||
</cpu>
|
||||
<cpu mode='host-passthrough'/>
|
||||
<clock offset='utc'>
|
||||
<timer name='rtc' tickpolicy='catchup'/>
|
||||
<timer name='pit' tickpolicy='delay'/>
|
||||
|
||||
@@ -4,4 +4,4 @@ echo " * Disabling VPP, Bird and FRR"
|
||||
for i in vpp vppcfg bird-dataplane frr; do
|
||||
rm -f /etc/systemd/system/multi-user.target.wants/${i}.service
|
||||
ln -sf /dev/null /etc/systemd/system/${i}.service
|
||||
done
|
||||
done
|
||||
|
||||
@@ -21,30 +21,7 @@
|
||||
<apic/>
|
||||
<vmport state='off'/>
|
||||
</features>
|
||||
<cpu mode='custom' match='exact' check='full'>
|
||||
<model fallback='forbid'>SandyBridge-IBRS</model>
|
||||
<vendor>Intel</vendor>
|
||||
<feature policy='require' name='vme'/>
|
||||
<feature policy='require' name='ss'/>
|
||||
<feature policy='require' name='vmx'/>
|
||||
<feature policy='require' name='pdcm'/>
|
||||
<feature policy='require' name='pcid'/>
|
||||
<feature policy='require' name='hypervisor'/>
|
||||
<feature policy='require' name='arat'/>
|
||||
<feature policy='require' name='tsc_adjust'/>
|
||||
<feature policy='require' name='umip'/>
|
||||
<feature policy='require' name='md-clear'/>
|
||||
<feature policy='require' name='stibp'/>
|
||||
<feature policy='require' name='arch-capabilities'/>
|
||||
<feature policy='require' name='ssbd'/>
|
||||
<feature policy='require' name='xsaveopt'/>
|
||||
<feature policy='require' name='pdpe1gb'/>
|
||||
<feature policy='require' name='ibpb'/>
|
||||
<feature policy='require' name='amd-stibp'/>
|
||||
<feature policy='require' name='amd-ssbd'/>
|
||||
<feature policy='require' name='skip-l1dfl-vmentry'/>
|
||||
<feature policy='require' name='pschange-mc-no'/>
|
||||
</cpu>
|
||||
<cpu mode='host-passthrough'/>
|
||||
<clock offset='utc'>
|
||||
<timer name='rtc' tickpolicy='catchup'/>
|
||||
<timer name='pit' tickpolicy='delay'/>
|
||||
|
||||
@@ -17,4 +17,5 @@ protocol kernel kernel6 {
|
||||
include "core/static.conf";
|
||||
include "core/bfd.conf";
|
||||
include "core/ospf.conf";
|
||||
# include "core/babel.conf";
|
||||
include "manual.conf";
|
||||
|
||||
13
build/bird/hvn0.lab.ipng.ch/vpp0-0/etc/bird/core/babel.conf
Normal file
13
build/bird/hvn0.lab.ipng.ch/vpp0-0/etc/bird/core/babel.conf
Normal file
@@ -0,0 +1,13 @@
|
||||
protocol babel {
|
||||
interface "e0", "e1" {
|
||||
type wired;
|
||||
extended next hop on;
|
||||
rtt cost 1000;
|
||||
rtt min 5ms;
|
||||
rtt max 30ms;
|
||||
authentication mac permissive;
|
||||
password "IPng loves bird";
|
||||
};
|
||||
ipv6 { import all; export all; };
|
||||
ipv4 { import all; export all; };
|
||||
}
|
||||
@@ -1,21 +1,17 @@
|
||||
protocol ospf v2 ospf4 {
|
||||
ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
|
||||
ipv4 { export where net ~ [ 192.168.10.0/24+, 0.0.0.0/0 ]; import where net ~ [ 192.168.10.0/24+, 0.0.0.0/0 ]; };
|
||||
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 || source = RTS_STATIC); import all; };
|
||||
ipv6 { export where net ~ [ 2001:678:d78:200::/60+, ::/0 ]; import where net ~ [ 2001:678:d78:200::/60+, ::/0]; };
|
||||
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; };
|
||||
};
|
||||
}
|
||||
@@ -1,15 +1,12 @@
|
||||
protocol static static4 {
|
||||
ipv4 { export all; };
|
||||
# route 192.0.2.0/24 via 10.0.0.1;
|
||||
route 192.168.10.0/24 unreachable;
|
||||
|
||||
route 0.0.0.0/0 via 192.168.10.4;
|
||||
# route 192.0.2.0/24 via 10.0.0.1;
|
||||
}
|
||||
|
||||
protocol static static6 {
|
||||
ipv6 { export all; };
|
||||
# route 2001:db8:cafe::/48 via 2001:db8::1;;
|
||||
route 2001:678:d78:200::/60 unreachable;
|
||||
|
||||
route ::/0 via 2001:678:d78:201::ffff;
|
||||
route 2001:678:d78:20f::/112 unreachable;
|
||||
# route 2001:db8:cafe::/48 via 2001:db8::1;
|
||||
}
|
||||
|
||||
@@ -4,6 +4,8 @@ exec /etc/vpp/config/loopback.vpp
|
||||
exec /etc/vpp/config/interface.vpp
|
||||
exec /etc/vpp/config/lcp.vpp
|
||||
exec /etc/vpp/config/mpls.vpp
|
||||
exec /etc/vpp/config/srv6.vpp
|
||||
exec /etc/vpp/config/sflow.vpp
|
||||
|
||||
comment { exec /etc/vpp/config/flowprobe.vpp }
|
||||
|
||||
|
||||
@@ -3,4 +3,3 @@ create loopback interface instance 0
|
||||
set interface state loop0 up
|
||||
set interface ip address loop0 192.168.10.0/32
|
||||
set interface ip address loop0 2001:678:d78:200::/128
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
sflow header-bytes 128
|
||||
sflow sampling-rate 100
|
||||
sflow polling-interval 10
|
||||
|
||||
sflow enable GigabitEthernet10/0/0
|
||||
sflow enable GigabitEthernet10/0/1
|
||||
sflow enable GigabitEthernet10/0/2
|
||||
sflow enable GigabitEthernet10/0/3
|
||||
@@ -0,0 +1,2 @@
|
||||
set sr encaps source addr 2001:678:d78:200::
|
||||
sr localsid address 2001:678:d78:20f:: behavior end
|
||||
@@ -21,30 +21,7 @@
|
||||
<apic/>
|
||||
<vmport state='off'/>
|
||||
</features>
|
||||
<cpu mode='custom' match='exact' check='full'>
|
||||
<model fallback='forbid'>SandyBridge-IBRS</model>
|
||||
<vendor>Intel</vendor>
|
||||
<feature policy='require' name='vme'/>
|
||||
<feature policy='require' name='ss'/>
|
||||
<feature policy='require' name='vmx'/>
|
||||
<feature policy='require' name='pdcm'/>
|
||||
<feature policy='require' name='pcid'/>
|
||||
<feature policy='require' name='hypervisor'/>
|
||||
<feature policy='require' name='arat'/>
|
||||
<feature policy='require' name='tsc_adjust'/>
|
||||
<feature policy='require' name='umip'/>
|
||||
<feature policy='require' name='md-clear'/>
|
||||
<feature policy='require' name='stibp'/>
|
||||
<feature policy='require' name='arch-capabilities'/>
|
||||
<feature policy='require' name='ssbd'/>
|
||||
<feature policy='require' name='xsaveopt'/>
|
||||
<feature policy='require' name='pdpe1gb'/>
|
||||
<feature policy='require' name='ibpb'/>
|
||||
<feature policy='require' name='amd-stibp'/>
|
||||
<feature policy='require' name='amd-ssbd'/>
|
||||
<feature policy='require' name='skip-l1dfl-vmentry'/>
|
||||
<feature policy='require' name='pschange-mc-no'/>
|
||||
</cpu>
|
||||
<cpu mode='host-passthrough'/>
|
||||
<clock offset='utc'>
|
||||
<timer name='rtc' tickpolicy='catchup'/>
|
||||
<timer name='pit' tickpolicy='delay'/>
|
||||
|
||||
@@ -17,4 +17,5 @@ protocol kernel kernel6 {
|
||||
include "core/static.conf";
|
||||
include "core/bfd.conf";
|
||||
include "core/ospf.conf";
|
||||
# include "core/babel.conf";
|
||||
include "manual.conf";
|
||||
|
||||
13
build/bird/hvn0.lab.ipng.ch/vpp0-1/etc/bird/core/babel.conf
Normal file
13
build/bird/hvn0.lab.ipng.ch/vpp0-1/etc/bird/core/babel.conf
Normal file
@@ -0,0 +1,13 @@
|
||||
protocol babel {
|
||||
interface "e0", "e1" {
|
||||
type wired;
|
||||
extended next hop on;
|
||||
rtt cost 1000;
|
||||
rtt min 5ms;
|
||||
rtt max 30ms;
|
||||
authentication mac permissive;
|
||||
password "IPng loves bird";
|
||||
};
|
||||
ipv6 { import all; export all; };
|
||||
ipv4 { import all; export all; };
|
||||
}
|
||||
@@ -1,21 +1,17 @@
|
||||
protocol ospf v2 ospf4 {
|
||||
ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
|
||||
ipv4 { export where net ~ [ 192.168.10.0/24+, 0.0.0.0/0 ]; import where net ~ [ 192.168.10.0/24+, 0.0.0.0/0 ]; };
|
||||
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 || source = RTS_STATIC); import all; };
|
||||
ipv6 { export where net ~ [ 2001:678:d78:200::/60+, ::/0 ]; import where net ~ [ 2001:678:d78:200::/60+, ::/0]; };
|
||||
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; };
|
||||
};
|
||||
}
|
||||
@@ -1,13 +1,12 @@
|
||||
protocol static static4 {
|
||||
ipv4 { export all; };
|
||||
# route 192.0.2.0/24 via 10.0.0.1;
|
||||
route 192.168.10.0/24 unreachable;
|
||||
|
||||
# route 192.0.2.0/24 via 10.0.0.1;
|
||||
}
|
||||
|
||||
protocol static static6 {
|
||||
ipv6 { export all; };
|
||||
# route 2001:db8:cafe::/48 via 2001:db8::1;;
|
||||
route 2001:678:d78:200::/60 unreachable;
|
||||
|
||||
route 2001:678:d78:20f::1:0/112 unreachable;
|
||||
# route 2001:db8:cafe::/48 via 2001:db8::1;
|
||||
}
|
||||
|
||||
@@ -4,6 +4,8 @@ exec /etc/vpp/config/loopback.vpp
|
||||
exec /etc/vpp/config/interface.vpp
|
||||
exec /etc/vpp/config/lcp.vpp
|
||||
exec /etc/vpp/config/mpls.vpp
|
||||
exec /etc/vpp/config/srv6.vpp
|
||||
exec /etc/vpp/config/sflow.vpp
|
||||
|
||||
comment { exec /etc/vpp/config/flowprobe.vpp }
|
||||
|
||||
|
||||
@@ -3,4 +3,3 @@ create loopback interface instance 0
|
||||
set interface state loop0 up
|
||||
set interface ip address loop0 192.168.10.1/32
|
||||
set interface ip address loop0 2001:678:d78:200::1/128
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
sflow header-bytes 128
|
||||
sflow sampling-rate 100
|
||||
sflow polling-interval 10
|
||||
|
||||
sflow enable GigabitEthernet10/0/0
|
||||
sflow enable GigabitEthernet10/0/1
|
||||
sflow enable GigabitEthernet10/0/2
|
||||
sflow enable GigabitEthernet10/0/3
|
||||
@@ -0,0 +1,2 @@
|
||||
set sr encaps source addr 2001:678:d78:200::1
|
||||
sr localsid address 2001:678:d78:20f::1:0 behavior end
|
||||
@@ -21,30 +21,7 @@
|
||||
<apic/>
|
||||
<vmport state='off'/>
|
||||
</features>
|
||||
<cpu mode='custom' match='exact' check='full'>
|
||||
<model fallback='forbid'>SandyBridge-IBRS</model>
|
||||
<vendor>Intel</vendor>
|
||||
<feature policy='require' name='vme'/>
|
||||
<feature policy='require' name='ss'/>
|
||||
<feature policy='require' name='vmx'/>
|
||||
<feature policy='require' name='pdcm'/>
|
||||
<feature policy='require' name='pcid'/>
|
||||
<feature policy='require' name='hypervisor'/>
|
||||
<feature policy='require' name='arat'/>
|
||||
<feature policy='require' name='tsc_adjust'/>
|
||||
<feature policy='require' name='umip'/>
|
||||
<feature policy='require' name='md-clear'/>
|
||||
<feature policy='require' name='stibp'/>
|
||||
<feature policy='require' name='arch-capabilities'/>
|
||||
<feature policy='require' name='ssbd'/>
|
||||
<feature policy='require' name='xsaveopt'/>
|
||||
<feature policy='require' name='pdpe1gb'/>
|
||||
<feature policy='require' name='ibpb'/>
|
||||
<feature policy='require' name='amd-stibp'/>
|
||||
<feature policy='require' name='amd-ssbd'/>
|
||||
<feature policy='require' name='skip-l1dfl-vmentry'/>
|
||||
<feature policy='require' name='pschange-mc-no'/>
|
||||
</cpu>
|
||||
<cpu mode='host-passthrough'/>
|
||||
<clock offset='utc'>
|
||||
<timer name='rtc' tickpolicy='catchup'/>
|
||||
<timer name='pit' tickpolicy='delay'/>
|
||||
|
||||
@@ -17,4 +17,5 @@ protocol kernel kernel6 {
|
||||
include "core/static.conf";
|
||||
include "core/bfd.conf";
|
||||
include "core/ospf.conf";
|
||||
# include "core/babel.conf";
|
||||
include "manual.conf";
|
||||
|
||||
13
build/bird/hvn0.lab.ipng.ch/vpp0-2/etc/bird/core/babel.conf
Normal file
13
build/bird/hvn0.lab.ipng.ch/vpp0-2/etc/bird/core/babel.conf
Normal file
@@ -0,0 +1,13 @@
|
||||
protocol babel {
|
||||
interface "e0", "e1" {
|
||||
type wired;
|
||||
extended next hop on;
|
||||
rtt cost 1000;
|
||||
rtt min 5ms;
|
||||
rtt max 30ms;
|
||||
authentication mac permissive;
|
||||
password "IPng loves bird";
|
||||
};
|
||||
ipv6 { import all; export all; };
|
||||
ipv4 { import all; export all; };
|
||||
}
|
||||
@@ -1,21 +1,17 @@
|
||||
protocol ospf v2 ospf4 {
|
||||
ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
|
||||
ipv4 { export where net ~ [ 192.168.10.0/24+, 0.0.0.0/0 ]; import where net ~ [ 192.168.10.0/24+, 0.0.0.0/0 ]; };
|
||||
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 || source = RTS_STATIC); import all; };
|
||||
ipv6 { export where net ~ [ 2001:678:d78:200::/60+, ::/0 ]; import where net ~ [ 2001:678:d78:200::/60+, ::/0]; };
|
||||
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; };
|
||||
};
|
||||
}
|
||||
@@ -1,13 +1,12 @@
|
||||
protocol static static4 {
|
||||
ipv4 { export all; };
|
||||
# route 192.0.2.0/24 via 10.0.0.1;
|
||||
route 192.168.10.0/24 unreachable;
|
||||
|
||||
# route 192.0.2.0/24 via 10.0.0.1;
|
||||
}
|
||||
|
||||
protocol static static6 {
|
||||
ipv6 { export all; };
|
||||
# route 2001:db8:cafe::/48 via 2001:db8::1;;
|
||||
route 2001:678:d78:200::/60 unreachable;
|
||||
|
||||
route 2001:678:d78:20f::2:0/112 unreachable;
|
||||
# route 2001:db8:cafe::/48 via 2001:db8::1;
|
||||
}
|
||||
|
||||
@@ -4,6 +4,8 @@ exec /etc/vpp/config/loopback.vpp
|
||||
exec /etc/vpp/config/interface.vpp
|
||||
exec /etc/vpp/config/lcp.vpp
|
||||
exec /etc/vpp/config/mpls.vpp
|
||||
exec /etc/vpp/config/srv6.vpp
|
||||
exec /etc/vpp/config/sflow.vpp
|
||||
|
||||
comment { exec /etc/vpp/config/flowprobe.vpp }
|
||||
|
||||
|
||||
@@ -3,4 +3,3 @@ create loopback interface instance 0
|
||||
set interface state loop0 up
|
||||
set interface ip address loop0 192.168.10.2/32
|
||||
set interface ip address loop0 2001:678:d78:200::2/128
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
sflow header-bytes 128
|
||||
sflow sampling-rate 100
|
||||
sflow polling-interval 10
|
||||
|
||||
sflow enable GigabitEthernet10/0/0
|
||||
sflow enable GigabitEthernet10/0/1
|
||||
sflow enable GigabitEthernet10/0/2
|
||||
sflow enable GigabitEthernet10/0/3
|
||||
@@ -0,0 +1,2 @@
|
||||
set sr encaps source addr 2001:678:d78:200::2
|
||||
sr localsid address 2001:678:d78:20f::2:0 behavior end
|
||||
@@ -21,30 +21,7 @@
|
||||
<apic/>
|
||||
<vmport state='off'/>
|
||||
</features>
|
||||
<cpu mode='custom' match='exact' check='full'>
|
||||
<model fallback='forbid'>SandyBridge-IBRS</model>
|
||||
<vendor>Intel</vendor>
|
||||
<feature policy='require' name='vme'/>
|
||||
<feature policy='require' name='ss'/>
|
||||
<feature policy='require' name='vmx'/>
|
||||
<feature policy='require' name='pdcm'/>
|
||||
<feature policy='require' name='pcid'/>
|
||||
<feature policy='require' name='hypervisor'/>
|
||||
<feature policy='require' name='arat'/>
|
||||
<feature policy='require' name='tsc_adjust'/>
|
||||
<feature policy='require' name='umip'/>
|
||||
<feature policy='require' name='md-clear'/>
|
||||
<feature policy='require' name='stibp'/>
|
||||
<feature policy='require' name='arch-capabilities'/>
|
||||
<feature policy='require' name='ssbd'/>
|
||||
<feature policy='require' name='xsaveopt'/>
|
||||
<feature policy='require' name='pdpe1gb'/>
|
||||
<feature policy='require' name='ibpb'/>
|
||||
<feature policy='require' name='amd-stibp'/>
|
||||
<feature policy='require' name='amd-ssbd'/>
|
||||
<feature policy='require' name='skip-l1dfl-vmentry'/>
|
||||
<feature policy='require' name='pschange-mc-no'/>
|
||||
</cpu>
|
||||
<cpu mode='host-passthrough'/>
|
||||
<clock offset='utc'>
|
||||
<timer name='rtc' tickpolicy='catchup'/>
|
||||
<timer name='pit' tickpolicy='delay'/>
|
||||
|
||||
@@ -17,4 +17,5 @@ protocol kernel kernel6 {
|
||||
include "core/static.conf";
|
||||
include "core/bfd.conf";
|
||||
include "core/ospf.conf";
|
||||
# include "core/babel.conf";
|
||||
include "manual.conf";
|
||||
|
||||
13
build/bird/hvn0.lab.ipng.ch/vpp0-3/etc/bird/core/babel.conf
Normal file
13
build/bird/hvn0.lab.ipng.ch/vpp0-3/etc/bird/core/babel.conf
Normal file
@@ -0,0 +1,13 @@
|
||||
protocol babel {
|
||||
interface "e0", "e1" {
|
||||
type wired;
|
||||
extended next hop on;
|
||||
rtt cost 1000;
|
||||
rtt min 5ms;
|
||||
rtt max 30ms;
|
||||
authentication mac permissive;
|
||||
password "IPng loves bird";
|
||||
};
|
||||
ipv6 { import all; export all; };
|
||||
ipv4 { import all; export all; };
|
||||
}
|
||||
@@ -1,21 +1,17 @@
|
||||
protocol ospf v2 ospf4 {
|
||||
ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
|
||||
ipv4 { export where net ~ [ 192.168.10.0/24+, 0.0.0.0/0 ]; import where net ~ [ 192.168.10.0/24+, 0.0.0.0/0 ]; };
|
||||
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 || source = RTS_STATIC); import all; };
|
||||
ipv6 { export where net ~ [ 2001:678:d78:200::/60+, ::/0 ]; import where net ~ [ 2001:678:d78:200::/60+, ::/0]; };
|
||||
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; };
|
||||
};
|
||||
}
|
||||
@@ -1,13 +1,12 @@
|
||||
protocol static static4 {
|
||||
ipv4 { export all; };
|
||||
# route 192.0.2.0/24 via 10.0.0.1;
|
||||
route 192.168.10.0/24 unreachable;
|
||||
|
||||
# route 192.0.2.0/24 via 10.0.0.1;
|
||||
}
|
||||
|
||||
protocol static static6 {
|
||||
ipv6 { export all; };
|
||||
# route 2001:db8:cafe::/48 via 2001:db8::1;;
|
||||
route 2001:678:d78:200::/60 unreachable;
|
||||
|
||||
route 2001:678:d78:20f::3:0/112 unreachable;
|
||||
# route 2001:db8:cafe::/48 via 2001:db8::1;
|
||||
}
|
||||
|
||||
@@ -4,6 +4,8 @@ exec /etc/vpp/config/loopback.vpp
|
||||
exec /etc/vpp/config/interface.vpp
|
||||
exec /etc/vpp/config/lcp.vpp
|
||||
exec /etc/vpp/config/mpls.vpp
|
||||
exec /etc/vpp/config/srv6.vpp
|
||||
exec /etc/vpp/config/sflow.vpp
|
||||
|
||||
comment { exec /etc/vpp/config/flowprobe.vpp }
|
||||
|
||||
|
||||
@@ -3,4 +3,3 @@ create loopback interface instance 0
|
||||
set interface state loop0 up
|
||||
set interface ip address loop0 192.168.10.3/32
|
||||
set interface ip address loop0 2001:678:d78:200::3/128
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
sflow header-bytes 128
|
||||
sflow sampling-rate 100
|
||||
sflow polling-interval 10
|
||||
|
||||
sflow enable GigabitEthernet10/0/0
|
||||
sflow enable GigabitEthernet10/0/1
|
||||
sflow enable GigabitEthernet10/0/2
|
||||
sflow enable GigabitEthernet10/0/3
|
||||
@@ -0,0 +1,2 @@
|
||||
set sr encaps source addr 2001:678:d78:200::3
|
||||
sr localsid address 2001:678:d78:20f::3:0 behavior end
|
||||
@@ -21,30 +21,7 @@
|
||||
<apic/>
|
||||
<vmport state='off'/>
|
||||
</features>
|
||||
<cpu mode='custom' match='exact' check='full'>
|
||||
<model fallback='forbid'>SandyBridge-IBRS</model>
|
||||
<vendor>Intel</vendor>
|
||||
<feature policy='require' name='vme'/>
|
||||
<feature policy='require' name='ss'/>
|
||||
<feature policy='require' name='vmx'/>
|
||||
<feature policy='require' name='pdcm'/>
|
||||
<feature policy='require' name='pcid'/>
|
||||
<feature policy='require' name='hypervisor'/>
|
||||
<feature policy='require' name='arat'/>
|
||||
<feature policy='require' name='tsc_adjust'/>
|
||||
<feature policy='require' name='umip'/>
|
||||
<feature policy='require' name='md-clear'/>
|
||||
<feature policy='require' name='stibp'/>
|
||||
<feature policy='require' name='arch-capabilities'/>
|
||||
<feature policy='require' name='ssbd'/>
|
||||
<feature policy='require' name='xsaveopt'/>
|
||||
<feature policy='require' name='pdpe1gb'/>
|
||||
<feature policy='require' name='ibpb'/>
|
||||
<feature policy='require' name='amd-stibp'/>
|
||||
<feature policy='require' name='amd-ssbd'/>
|
||||
<feature policy='require' name='skip-l1dfl-vmentry'/>
|
||||
<feature policy='require' name='pschange-mc-no'/>
|
||||
</cpu>
|
||||
<cpu mode='host-passthrough'/>
|
||||
<clock offset='utc'>
|
||||
<timer name='rtc' tickpolicy='catchup'/>
|
||||
<timer name='pit' tickpolicy='delay'/>
|
||||
|
||||
5
build/bird/hvn1.lab.ipng.ch/host1-0/etc/rc.local
Normal file
5
build/bird/hvn1.lab.ipng.ch/host1-0/etc/rc.local
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
for port in 0 1 2 3; do
|
||||
ip link set enp16s0f${port} up mtu 1500 alias "vpp1-${port}:Gi10/0/2"
|
||||
done
|
||||
@@ -4,4 +4,4 @@ echo " * Disabling VPP, Bird and FRR"
|
||||
for i in vpp vppcfg bird-dataplane frr; do
|
||||
rm -f /etc/systemd/system/multi-user.target.wants/${i}.service
|
||||
ln -sf /dev/null /etc/systemd/system/${i}.service
|
||||
done
|
||||
done
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "* Fixing permissions of rc.local"
|
||||
chmod 755 /etc/rc.local
|
||||
@@ -21,30 +21,7 @@
|
||||
<apic/>
|
||||
<vmport state='off'/>
|
||||
</features>
|
||||
<cpu mode='custom' match='exact' check='full'>
|
||||
<model fallback='forbid'>SandyBridge-IBRS</model>
|
||||
<vendor>Intel</vendor>
|
||||
<feature policy='require' name='vme'/>
|
||||
<feature policy='require' name='ss'/>
|
||||
<feature policy='require' name='vmx'/>
|
||||
<feature policy='require' name='pdcm'/>
|
||||
<feature policy='require' name='pcid'/>
|
||||
<feature policy='require' name='hypervisor'/>
|
||||
<feature policy='require' name='arat'/>
|
||||
<feature policy='require' name='tsc_adjust'/>
|
||||
<feature policy='require' name='umip'/>
|
||||
<feature policy='require' name='md-clear'/>
|
||||
<feature policy='require' name='stibp'/>
|
||||
<feature policy='require' name='arch-capabilities'/>
|
||||
<feature policy='require' name='ssbd'/>
|
||||
<feature policy='require' name='xsaveopt'/>
|
||||
<feature policy='require' name='pdpe1gb'/>
|
||||
<feature policy='require' name='ibpb'/>
|
||||
<feature policy='require' name='amd-stibp'/>
|
||||
<feature policy='require' name='amd-ssbd'/>
|
||||
<feature policy='require' name='skip-l1dfl-vmentry'/>
|
||||
<feature policy='require' name='pschange-mc-no'/>
|
||||
</cpu>
|
||||
<cpu mode='host-passthrough'/>
|
||||
<clock offset='utc'>
|
||||
<timer name='rtc' tickpolicy='catchup'/>
|
||||
<timer name='pit' tickpolicy='delay'/>
|
||||
|
||||
5
build/bird/hvn1.lab.ipng.ch/host1-1/etc/rc.local
Normal file
5
build/bird/hvn1.lab.ipng.ch/host1-1/etc/rc.local
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
for port in 0 1 2 3; do
|
||||
ip link set enp16s0f${port} up mtu 1500 alias "vpp1-${port}:Gi10/0/3"
|
||||
done
|
||||
@@ -4,4 +4,4 @@ echo " * Disabling VPP, Bird and FRR"
|
||||
for i in vpp vppcfg bird-dataplane frr; do
|
||||
rm -f /etc/systemd/system/multi-user.target.wants/${i}.service
|
||||
ln -sf /dev/null /etc/systemd/system/${i}.service
|
||||
done
|
||||
done
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "* Fixing permissions of rc.local"
|
||||
chmod 755 /etc/rc.local
|
||||
@@ -21,30 +21,7 @@
|
||||
<apic/>
|
||||
<vmport state='off'/>
|
||||
</features>
|
||||
<cpu mode='custom' match='exact' check='full'>
|
||||
<model fallback='forbid'>SandyBridge-IBRS</model>
|
||||
<vendor>Intel</vendor>
|
||||
<feature policy='require' name='vme'/>
|
||||
<feature policy='require' name='ss'/>
|
||||
<feature policy='require' name='vmx'/>
|
||||
<feature policy='require' name='pdcm'/>
|
||||
<feature policy='require' name='pcid'/>
|
||||
<feature policy='require' name='hypervisor'/>
|
||||
<feature policy='require' name='arat'/>
|
||||
<feature policy='require' name='tsc_adjust'/>
|
||||
<feature policy='require' name='umip'/>
|
||||
<feature policy='require' name='md-clear'/>
|
||||
<feature policy='require' name='stibp'/>
|
||||
<feature policy='require' name='arch-capabilities'/>
|
||||
<feature policy='require' name='ssbd'/>
|
||||
<feature policy='require' name='xsaveopt'/>
|
||||
<feature policy='require' name='pdpe1gb'/>
|
||||
<feature policy='require' name='ibpb'/>
|
||||
<feature policy='require' name='amd-stibp'/>
|
||||
<feature policy='require' name='amd-ssbd'/>
|
||||
<feature policy='require' name='skip-l1dfl-vmentry'/>
|
||||
<feature policy='require' name='pschange-mc-no'/>
|
||||
</cpu>
|
||||
<cpu mode='host-passthrough'/>
|
||||
<clock offset='utc'>
|
||||
<timer name='rtc' tickpolicy='catchup'/>
|
||||
<timer name='pit' tickpolicy='delay'/>
|
||||
|
||||
@@ -4,4 +4,4 @@ echo " * Disabling VPP, Bird and FRR"
|
||||
for i in vpp vppcfg bird-dataplane frr; do
|
||||
rm -f /etc/systemd/system/multi-user.target.wants/${i}.service
|
||||
ln -sf /dev/null /etc/systemd/system/${i}.service
|
||||
done
|
||||
done
|
||||
|
||||
@@ -21,30 +21,7 @@
|
||||
<apic/>
|
||||
<vmport state='off'/>
|
||||
</features>
|
||||
<cpu mode='custom' match='exact' check='full'>
|
||||
<model fallback='forbid'>SandyBridge-IBRS</model>
|
||||
<vendor>Intel</vendor>
|
||||
<feature policy='require' name='vme'/>
|
||||
<feature policy='require' name='ss'/>
|
||||
<feature policy='require' name='vmx'/>
|
||||
<feature policy='require' name='pdcm'/>
|
||||
<feature policy='require' name='pcid'/>
|
||||
<feature policy='require' name='hypervisor'/>
|
||||
<feature policy='require' name='arat'/>
|
||||
<feature policy='require' name='tsc_adjust'/>
|
||||
<feature policy='require' name='umip'/>
|
||||
<feature policy='require' name='md-clear'/>
|
||||
<feature policy='require' name='stibp'/>
|
||||
<feature policy='require' name='arch-capabilities'/>
|
||||
<feature policy='require' name='ssbd'/>
|
||||
<feature policy='require' name='xsaveopt'/>
|
||||
<feature policy='require' name='pdpe1gb'/>
|
||||
<feature policy='require' name='ibpb'/>
|
||||
<feature policy='require' name='amd-stibp'/>
|
||||
<feature policy='require' name='amd-ssbd'/>
|
||||
<feature policy='require' name='skip-l1dfl-vmentry'/>
|
||||
<feature policy='require' name='pschange-mc-no'/>
|
||||
</cpu>
|
||||
<cpu mode='host-passthrough'/>
|
||||
<clock offset='utc'>
|
||||
<timer name='rtc' tickpolicy='catchup'/>
|
||||
<timer name='pit' tickpolicy='delay'/>
|
||||
|
||||
@@ -17,4 +17,5 @@ protocol kernel kernel6 {
|
||||
include "core/static.conf";
|
||||
include "core/bfd.conf";
|
||||
include "core/ospf.conf";
|
||||
# include "core/babel.conf";
|
||||
include "manual.conf";
|
||||
|
||||
13
build/bird/hvn1.lab.ipng.ch/vpp1-0/etc/bird/core/babel.conf
Normal file
13
build/bird/hvn1.lab.ipng.ch/vpp1-0/etc/bird/core/babel.conf
Normal file
@@ -0,0 +1,13 @@
|
||||
protocol babel {
|
||||
interface "e0", "e1" {
|
||||
type wired;
|
||||
extended next hop on;
|
||||
rtt cost 1000;
|
||||
rtt min 5ms;
|
||||
rtt max 30ms;
|
||||
authentication mac permissive;
|
||||
password "IPng loves bird";
|
||||
};
|
||||
ipv6 { import all; export all; };
|
||||
ipv4 { import all; export all; };
|
||||
}
|
||||
@@ -1,21 +1,17 @@
|
||||
protocol ospf v2 ospf4 {
|
||||
ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
|
||||
ipv4 { export where net ~ [ 192.168.11.0/24+, 0.0.0.0/0 ]; import where net ~ [ 192.168.11.0/24+, 0.0.0.0/0 ]; };
|
||||
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 || source = RTS_STATIC); import all; };
|
||||
ipv6 { export where net ~ [ 2001:678:d78:210::/60+, ::/0 ]; import where net ~ [ 2001:678:d78:210::/60+, ::/0]; };
|
||||
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; };
|
||||
};
|
||||
}
|
||||
@@ -1,15 +1,12 @@
|
||||
protocol static static4 {
|
||||
ipv4 { export all; };
|
||||
# route 192.0.2.0/24 via 10.0.0.1;
|
||||
route 192.168.11.0/24 unreachable;
|
||||
|
||||
route 0.0.0.0/0 via 192.168.11.4;
|
||||
# route 192.0.2.0/24 via 10.0.0.1;
|
||||
}
|
||||
|
||||
protocol static static6 {
|
||||
ipv6 { export all; };
|
||||
# route 2001:db8:cafe::/48 via 2001:db8::1;;
|
||||
route 2001:678:d78:210::/60 unreachable;
|
||||
|
||||
route ::/0 via 2001:678:d78:211::ffff;
|
||||
route 2001:678:d78:21f::/112 unreachable;
|
||||
# route 2001:db8:cafe::/48 via 2001:db8::1;
|
||||
}
|
||||
|
||||
@@ -4,6 +4,8 @@ exec /etc/vpp/config/loopback.vpp
|
||||
exec /etc/vpp/config/interface.vpp
|
||||
exec /etc/vpp/config/lcp.vpp
|
||||
exec /etc/vpp/config/mpls.vpp
|
||||
exec /etc/vpp/config/srv6.vpp
|
||||
exec /etc/vpp/config/sflow.vpp
|
||||
|
||||
comment { exec /etc/vpp/config/flowprobe.vpp }
|
||||
|
||||
|
||||
@@ -3,4 +3,3 @@ create loopback interface instance 0
|
||||
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
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
sflow header-bytes 128
|
||||
sflow sampling-rate 100
|
||||
sflow polling-interval 10
|
||||
|
||||
sflow enable GigabitEthernet10/0/0
|
||||
sflow enable GigabitEthernet10/0/1
|
||||
sflow enable GigabitEthernet10/0/2
|
||||
sflow enable GigabitEthernet10/0/3
|
||||
@@ -0,0 +1,2 @@
|
||||
set sr encaps source addr 2001:678:d78:210::
|
||||
sr localsid address 2001:678:d78:21f:: behavior end
|
||||
@@ -21,30 +21,7 @@
|
||||
<apic/>
|
||||
<vmport state='off'/>
|
||||
</features>
|
||||
<cpu mode='custom' match='exact' check='full'>
|
||||
<model fallback='forbid'>SandyBridge-IBRS</model>
|
||||
<vendor>Intel</vendor>
|
||||
<feature policy='require' name='vme'/>
|
||||
<feature policy='require' name='ss'/>
|
||||
<feature policy='require' name='vmx'/>
|
||||
<feature policy='require' name='pdcm'/>
|
||||
<feature policy='require' name='pcid'/>
|
||||
<feature policy='require' name='hypervisor'/>
|
||||
<feature policy='require' name='arat'/>
|
||||
<feature policy='require' name='tsc_adjust'/>
|
||||
<feature policy='require' name='umip'/>
|
||||
<feature policy='require' name='md-clear'/>
|
||||
<feature policy='require' name='stibp'/>
|
||||
<feature policy='require' name='arch-capabilities'/>
|
||||
<feature policy='require' name='ssbd'/>
|
||||
<feature policy='require' name='xsaveopt'/>
|
||||
<feature policy='require' name='pdpe1gb'/>
|
||||
<feature policy='require' name='ibpb'/>
|
||||
<feature policy='require' name='amd-stibp'/>
|
||||
<feature policy='require' name='amd-ssbd'/>
|
||||
<feature policy='require' name='skip-l1dfl-vmentry'/>
|
||||
<feature policy='require' name='pschange-mc-no'/>
|
||||
</cpu>
|
||||
<cpu mode='host-passthrough'/>
|
||||
<clock offset='utc'>
|
||||
<timer name='rtc' tickpolicy='catchup'/>
|
||||
<timer name='pit' tickpolicy='delay'/>
|
||||
|
||||
@@ -17,4 +17,5 @@ protocol kernel kernel6 {
|
||||
include "core/static.conf";
|
||||
include "core/bfd.conf";
|
||||
include "core/ospf.conf";
|
||||
# include "core/babel.conf";
|
||||
include "manual.conf";
|
||||
|
||||
13
build/bird/hvn1.lab.ipng.ch/vpp1-1/etc/bird/core/babel.conf
Normal file
13
build/bird/hvn1.lab.ipng.ch/vpp1-1/etc/bird/core/babel.conf
Normal file
@@ -0,0 +1,13 @@
|
||||
protocol babel {
|
||||
interface "e0", "e1" {
|
||||
type wired;
|
||||
extended next hop on;
|
||||
rtt cost 1000;
|
||||
rtt min 5ms;
|
||||
rtt max 30ms;
|
||||
authentication mac permissive;
|
||||
password "IPng loves bird";
|
||||
};
|
||||
ipv6 { import all; export all; };
|
||||
ipv4 { import all; export all; };
|
||||
}
|
||||
@@ -1,21 +1,17 @@
|
||||
protocol ospf v2 ospf4 {
|
||||
ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
|
||||
ipv4 { export where net ~ [ 192.168.11.0/24+, 0.0.0.0/0 ]; import where net ~ [ 192.168.11.0/24+, 0.0.0.0/0 ]; };
|
||||
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 || source = RTS_STATIC); import all; };
|
||||
ipv6 { export where net ~ [ 2001:678:d78:210::/60+, ::/0 ]; import where net ~ [ 2001:678:d78:210::/60+, ::/0]; };
|
||||
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; };
|
||||
};
|
||||
}
|
||||
@@ -1,13 +1,12 @@
|
||||
protocol static static4 {
|
||||
ipv4 { export all; };
|
||||
# route 192.0.2.0/24 via 10.0.0.1;
|
||||
route 192.168.11.0/24 unreachable;
|
||||
|
||||
# route 192.0.2.0/24 via 10.0.0.1;
|
||||
}
|
||||
|
||||
protocol static static6 {
|
||||
ipv6 { export all; };
|
||||
# route 2001:db8:cafe::/48 via 2001:db8::1;;
|
||||
route 2001:678:d78:210::/60 unreachable;
|
||||
|
||||
route 2001:678:d78:21f::1:0/112 unreachable;
|
||||
# route 2001:db8:cafe::/48 via 2001:db8::1;
|
||||
}
|
||||
|
||||
@@ -4,6 +4,8 @@ exec /etc/vpp/config/loopback.vpp
|
||||
exec /etc/vpp/config/interface.vpp
|
||||
exec /etc/vpp/config/lcp.vpp
|
||||
exec /etc/vpp/config/mpls.vpp
|
||||
exec /etc/vpp/config/srv6.vpp
|
||||
exec /etc/vpp/config/sflow.vpp
|
||||
|
||||
comment { exec /etc/vpp/config/flowprobe.vpp }
|
||||
|
||||
|
||||
@@ -3,4 +3,3 @@ create loopback interface instance 0
|
||||
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
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
sflow header-bytes 128
|
||||
sflow sampling-rate 100
|
||||
sflow polling-interval 10
|
||||
|
||||
sflow enable GigabitEthernet10/0/0
|
||||
sflow enable GigabitEthernet10/0/1
|
||||
sflow enable GigabitEthernet10/0/2
|
||||
sflow enable GigabitEthernet10/0/3
|
||||
@@ -0,0 +1,2 @@
|
||||
set sr encaps source addr 2001:678:d78:210::1
|
||||
sr localsid address 2001:678:d78:21f::1:0 behavior end
|
||||
@@ -21,30 +21,7 @@
|
||||
<apic/>
|
||||
<vmport state='off'/>
|
||||
</features>
|
||||
<cpu mode='custom' match='exact' check='full'>
|
||||
<model fallback='forbid'>SandyBridge-IBRS</model>
|
||||
<vendor>Intel</vendor>
|
||||
<feature policy='require' name='vme'/>
|
||||
<feature policy='require' name='ss'/>
|
||||
<feature policy='require' name='vmx'/>
|
||||
<feature policy='require' name='pdcm'/>
|
||||
<feature policy='require' name='pcid'/>
|
||||
<feature policy='require' name='hypervisor'/>
|
||||
<feature policy='require' name='arat'/>
|
||||
<feature policy='require' name='tsc_adjust'/>
|
||||
<feature policy='require' name='umip'/>
|
||||
<feature policy='require' name='md-clear'/>
|
||||
<feature policy='require' name='stibp'/>
|
||||
<feature policy='require' name='arch-capabilities'/>
|
||||
<feature policy='require' name='ssbd'/>
|
||||
<feature policy='require' name='xsaveopt'/>
|
||||
<feature policy='require' name='pdpe1gb'/>
|
||||
<feature policy='require' name='ibpb'/>
|
||||
<feature policy='require' name='amd-stibp'/>
|
||||
<feature policy='require' name='amd-ssbd'/>
|
||||
<feature policy='require' name='skip-l1dfl-vmentry'/>
|
||||
<feature policy='require' name='pschange-mc-no'/>
|
||||
</cpu>
|
||||
<cpu mode='host-passthrough'/>
|
||||
<clock offset='utc'>
|
||||
<timer name='rtc' tickpolicy='catchup'/>
|
||||
<timer name='pit' tickpolicy='delay'/>
|
||||
|
||||
@@ -17,4 +17,5 @@ protocol kernel kernel6 {
|
||||
include "core/static.conf";
|
||||
include "core/bfd.conf";
|
||||
include "core/ospf.conf";
|
||||
# include "core/babel.conf";
|
||||
include "manual.conf";
|
||||
|
||||
13
build/bird/hvn1.lab.ipng.ch/vpp1-2/etc/bird/core/babel.conf
Normal file
13
build/bird/hvn1.lab.ipng.ch/vpp1-2/etc/bird/core/babel.conf
Normal file
@@ -0,0 +1,13 @@
|
||||
protocol babel {
|
||||
interface "e0", "e1" {
|
||||
type wired;
|
||||
extended next hop on;
|
||||
rtt cost 1000;
|
||||
rtt min 5ms;
|
||||
rtt max 30ms;
|
||||
authentication mac permissive;
|
||||
password "IPng loves bird";
|
||||
};
|
||||
ipv6 { import all; export all; };
|
||||
ipv4 { import all; export all; };
|
||||
}
|
||||
@@ -1,21 +1,17 @@
|
||||
protocol ospf v2 ospf4 {
|
||||
ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
|
||||
ipv4 { export where net ~ [ 192.168.11.0/24+, 0.0.0.0/0 ]; import where net ~ [ 192.168.11.0/24+, 0.0.0.0/0 ]; };
|
||||
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 || source = RTS_STATIC); import all; };
|
||||
ipv6 { export where net ~ [ 2001:678:d78:210::/60+, ::/0 ]; import where net ~ [ 2001:678:d78:210::/60+, ::/0]; };
|
||||
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; };
|
||||
};
|
||||
}
|
||||
@@ -1,13 +1,12 @@
|
||||
protocol static static4 {
|
||||
ipv4 { export all; };
|
||||
# route 192.0.2.0/24 via 10.0.0.1;
|
||||
route 192.168.11.0/24 unreachable;
|
||||
|
||||
# route 192.0.2.0/24 via 10.0.0.1;
|
||||
}
|
||||
|
||||
protocol static static6 {
|
||||
ipv6 { export all; };
|
||||
# route 2001:db8:cafe::/48 via 2001:db8::1;;
|
||||
route 2001:678:d78:210::/60 unreachable;
|
||||
|
||||
route 2001:678:d78:21f::2:0/112 unreachable;
|
||||
# route 2001:db8:cafe::/48 via 2001:db8::1;
|
||||
}
|
||||
|
||||
@@ -4,6 +4,8 @@ exec /etc/vpp/config/loopback.vpp
|
||||
exec /etc/vpp/config/interface.vpp
|
||||
exec /etc/vpp/config/lcp.vpp
|
||||
exec /etc/vpp/config/mpls.vpp
|
||||
exec /etc/vpp/config/srv6.vpp
|
||||
exec /etc/vpp/config/sflow.vpp
|
||||
|
||||
comment { exec /etc/vpp/config/flowprobe.vpp }
|
||||
|
||||
|
||||
@@ -3,4 +3,3 @@ create loopback interface instance 0
|
||||
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
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
sflow header-bytes 128
|
||||
sflow sampling-rate 100
|
||||
sflow polling-interval 10
|
||||
|
||||
sflow enable GigabitEthernet10/0/0
|
||||
sflow enable GigabitEthernet10/0/1
|
||||
sflow enable GigabitEthernet10/0/2
|
||||
sflow enable GigabitEthernet10/0/3
|
||||
@@ -0,0 +1,2 @@
|
||||
set sr encaps source addr 2001:678:d78:210::2
|
||||
sr localsid address 2001:678:d78:21f::2:0 behavior end
|
||||
@@ -21,30 +21,7 @@
|
||||
<apic/>
|
||||
<vmport state='off'/>
|
||||
</features>
|
||||
<cpu mode='custom' match='exact' check='full'>
|
||||
<model fallback='forbid'>SandyBridge-IBRS</model>
|
||||
<vendor>Intel</vendor>
|
||||
<feature policy='require' name='vme'/>
|
||||
<feature policy='require' name='ss'/>
|
||||
<feature policy='require' name='vmx'/>
|
||||
<feature policy='require' name='pdcm'/>
|
||||
<feature policy='require' name='pcid'/>
|
||||
<feature policy='require' name='hypervisor'/>
|
||||
<feature policy='require' name='arat'/>
|
||||
<feature policy='require' name='tsc_adjust'/>
|
||||
<feature policy='require' name='umip'/>
|
||||
<feature policy='require' name='md-clear'/>
|
||||
<feature policy='require' name='stibp'/>
|
||||
<feature policy='require' name='arch-capabilities'/>
|
||||
<feature policy='require' name='ssbd'/>
|
||||
<feature policy='require' name='xsaveopt'/>
|
||||
<feature policy='require' name='pdpe1gb'/>
|
||||
<feature policy='require' name='ibpb'/>
|
||||
<feature policy='require' name='amd-stibp'/>
|
||||
<feature policy='require' name='amd-ssbd'/>
|
||||
<feature policy='require' name='skip-l1dfl-vmentry'/>
|
||||
<feature policy='require' name='pschange-mc-no'/>
|
||||
</cpu>
|
||||
<cpu mode='host-passthrough'/>
|
||||
<clock offset='utc'>
|
||||
<timer name='rtc' tickpolicy='catchup'/>
|
||||
<timer name='pit' tickpolicy='delay'/>
|
||||
|
||||
@@ -17,4 +17,5 @@ protocol kernel kernel6 {
|
||||
include "core/static.conf";
|
||||
include "core/bfd.conf";
|
||||
include "core/ospf.conf";
|
||||
# include "core/babel.conf";
|
||||
include "manual.conf";
|
||||
|
||||
13
build/bird/hvn1.lab.ipng.ch/vpp1-3/etc/bird/core/babel.conf
Normal file
13
build/bird/hvn1.lab.ipng.ch/vpp1-3/etc/bird/core/babel.conf
Normal file
@@ -0,0 +1,13 @@
|
||||
protocol babel {
|
||||
interface "e0", "e1" {
|
||||
type wired;
|
||||
extended next hop on;
|
||||
rtt cost 1000;
|
||||
rtt min 5ms;
|
||||
rtt max 30ms;
|
||||
authentication mac permissive;
|
||||
password "IPng loves bird";
|
||||
};
|
||||
ipv6 { import all; export all; };
|
||||
ipv4 { import all; export all; };
|
||||
}
|
||||
@@ -1,21 +1,17 @@
|
||||
protocol ospf v2 ospf4 {
|
||||
ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
|
||||
ipv4 { export where net ~ [ 192.168.11.0/24+, 0.0.0.0/0 ]; import where net ~ [ 192.168.11.0/24+, 0.0.0.0/0 ]; };
|
||||
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 || source = RTS_STATIC); import all; };
|
||||
ipv6 { export where net ~ [ 2001:678:d78:210::/60+, ::/0 ]; import where net ~ [ 2001:678:d78:210::/60+, ::/0]; };
|
||||
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; };
|
||||
};
|
||||
}
|
||||
@@ -1,13 +1,12 @@
|
||||
protocol static static4 {
|
||||
ipv4 { export all; };
|
||||
# route 192.0.2.0/24 via 10.0.0.1;
|
||||
route 192.168.11.0/24 unreachable;
|
||||
|
||||
# route 192.0.2.0/24 via 10.0.0.1;
|
||||
}
|
||||
|
||||
protocol static static6 {
|
||||
ipv6 { export all; };
|
||||
# route 2001:db8:cafe::/48 via 2001:db8::1;;
|
||||
route 2001:678:d78:210::/60 unreachable;
|
||||
|
||||
route 2001:678:d78:21f::3:0/112 unreachable;
|
||||
# route 2001:db8:cafe::/48 via 2001:db8::1;
|
||||
}
|
||||
|
||||
@@ -4,6 +4,8 @@ exec /etc/vpp/config/loopback.vpp
|
||||
exec /etc/vpp/config/interface.vpp
|
||||
exec /etc/vpp/config/lcp.vpp
|
||||
exec /etc/vpp/config/mpls.vpp
|
||||
exec /etc/vpp/config/srv6.vpp
|
||||
exec /etc/vpp/config/sflow.vpp
|
||||
|
||||
comment { exec /etc/vpp/config/flowprobe.vpp }
|
||||
|
||||
|
||||
@@ -3,4 +3,3 @@ create loopback interface instance 0
|
||||
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
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
sflow header-bytes 128
|
||||
sflow sampling-rate 100
|
||||
sflow polling-interval 10
|
||||
|
||||
sflow enable GigabitEthernet10/0/0
|
||||
sflow enable GigabitEthernet10/0/1
|
||||
sflow enable GigabitEthernet10/0/2
|
||||
sflow enable GigabitEthernet10/0/3
|
||||
@@ -0,0 +1,2 @@
|
||||
set sr encaps source addr 2001:678:d78:210::3
|
||||
sr localsid address 2001:678:d78:21f::3:0 behavior end
|
||||
@@ -21,30 +21,7 @@
|
||||
<apic/>
|
||||
<vmport state='off'/>
|
||||
</features>
|
||||
<cpu mode='custom' match='exact' check='full'>
|
||||
<model fallback='forbid'>SandyBridge-IBRS</model>
|
||||
<vendor>Intel</vendor>
|
||||
<feature policy='require' name='vme'/>
|
||||
<feature policy='require' name='ss'/>
|
||||
<feature policy='require' name='vmx'/>
|
||||
<feature policy='require' name='pdcm'/>
|
||||
<feature policy='require' name='pcid'/>
|
||||
<feature policy='require' name='hypervisor'/>
|
||||
<feature policy='require' name='arat'/>
|
||||
<feature policy='require' name='tsc_adjust'/>
|
||||
<feature policy='require' name='umip'/>
|
||||
<feature policy='require' name='md-clear'/>
|
||||
<feature policy='require' name='stibp'/>
|
||||
<feature policy='require' name='arch-capabilities'/>
|
||||
<feature policy='require' name='ssbd'/>
|
||||
<feature policy='require' name='xsaveopt'/>
|
||||
<feature policy='require' name='pdpe1gb'/>
|
||||
<feature policy='require' name='ibpb'/>
|
||||
<feature policy='require' name='amd-stibp'/>
|
||||
<feature policy='require' name='amd-ssbd'/>
|
||||
<feature policy='require' name='skip-l1dfl-vmentry'/>
|
||||
<feature policy='require' name='pschange-mc-no'/>
|
||||
</cpu>
|
||||
<cpu mode='host-passthrough'/>
|
||||
<clock offset='utc'>
|
||||
<timer name='rtc' tickpolicy='catchup'/>
|
||||
<timer name='pit' tickpolicy='delay'/>
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
host2-0
|
||||
@@ -1,7 +0,0 @@
|
||||
127.0.0.1 localhost
|
||||
127.0.1.1 host2-0.lab.ipng.ch host2-0
|
||||
|
||||
# The following lines are desirable for IPv6 capable hosts
|
||||
::1 localhost ip6-localhost ip6-loopback
|
||||
ff02::1 ip6-allnodes
|
||||
ff02::2 ip6-allrouters
|
||||
@@ -1,27 +0,0 @@
|
||||
-*%%=
|
||||
=%@@@@@:
|
||||
:%@@@@@@@*
|
||||
:*@@@@@@@@@@ .=+-
|
||||
:=*#%@@@@@@@@@@@@@+ .+@@@@#
|
||||
.+@@@@@@@@@@@@@@@@@@@@##@@@@@@@=
|
||||
+@@@@@@@@@@@%*+@@@@@@@@@@@@@@@@@*
|
||||
=@@@@@@@@@#=: *@@@@%#*+*@@@@@@@#
|
||||
-%@@@@@@@*- ::. :*@@@@@@@@@
|
||||
=%@@@@@@@+ *@@@@@@@@@@@*
|
||||
:*@@@@@@@@+ %@@@@@@@@@@@@@@+.
|
||||
-*@@@@@@@@@+ +%@@@@@@@@@@@@@@@*.
|
||||
.-+%@@@@@@@@@#- =@@@@@@@@@@@@@@@+
|
||||
:=*%@@@@@@@@%*=: @@@@@@@@@@@@@@@@#
|
||||
:+#@@@@@@@#*+-: :*%@@@@@@%%@@@@@@@@@@@@@@@@@#
|
||||
.=#@@%#*+=-. :##%%@@@@@@@@@@@@@@@@@@@@@@@@@#
|
||||
.-=-: ..:-=+*#%@@@@@@@@@@@@@@-
|
||||
..::--==++***##%%%%@@@@@@@@@@@@@@@@%%%##***+==-::. .-=*#@@@@@@@@*
|
||||
.:=+*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+-: :=+#@@@%
|
||||
..:--=+**#%@@@@@@@@@@@@@@@@@@@@@@%#*##%@@@@@@@@@@@@@@@#+-. .-+-
|
||||
.:=+*#%@@@@@@@@@@@@@@@@#+=:..-=+#%@@@@@@@@@@@@#+-.
|
||||
.:=+#%@@@@@@@@@@@@@@@#+-. :-+#@@@@@@@@@@@%=
|
||||
https://ipng.ch/ :-+#@@@@@@@@@@@@@@@#+-. .-+*%@%*-.
|
||||
IPng Networks GmbH :=*%@@@@@@@@@@@@@%*-
|
||||
:=*%@@@@@@@#+-.
|
||||
Restricted access. Authorized users only. :=+-.
|
||||
All connections are monitored and recorded. Contact <noc@ipng.ch> for details.
|
||||
@@ -1,4 +0,0 @@
|
||||
domain lab.ipng.ch
|
||||
search lab.ipng.ch net.ipng.ch ipng.ch
|
||||
nameserver 192.168.12.4
|
||||
nameserver 2001:678:d78:221::ffff
|
||||
@@ -1,15 +0,0 @@
|
||||
network:
|
||||
version: 2
|
||||
renderer: networkd
|
||||
ethernets:
|
||||
enp1s0:
|
||||
optional: true
|
||||
accept-ra: false
|
||||
dhcp4: false
|
||||
mtu: 9000
|
||||
addresses: [ 198.19.5.34/24, 2001:678:d78:50b::22/64 ]
|
||||
routes:
|
||||
- to: 0.0.0.0/0
|
||||
via: 198.19.5.1
|
||||
- to: ::/0
|
||||
via: 2001:678:d78:50b::1
|
||||
@@ -1,4 +0,0 @@
|
||||
domain lab.ipng.ch
|
||||
search lab.ipng.ch net.ipng.ch ipng.ch
|
||||
nameserver 194.1.163.3
|
||||
nameserver 194.1.163.4
|
||||
@@ -1,6 +0,0 @@
|
||||
# pim@ipng.nl - absynth, bfib, gripe, spongebob, homenet
|
||||
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8X6oRdLn7PckWIRL+Fgp46qN+fglQLBJIvPHJ2P277v4tx/qlELaT8w45YyEPrUZ4XbbNIB4P59H63wPxIpk/d15k0C7Zx3kTESaEQuts3fne3ZFmrWm0dLD2yDTiB0zCraiQ5a0w++xuGEC3wdWPV+FHZh5Ea+WCd91g2xXPHJeosAQzBBBBaC9Shhx91h6lbCm4evvgqLnwt7JgnI2N4w2qr13lDDaRD4BXfyFrtLSTdhBgYEaFnUd6Afz5ilfDYXQW/yTSHZOIQ/vNVFpFxYrtmwHDdrSMiDpz0FE/4LLBG/rFl2VvRTmTEyjvwpGpEVaivMOLo/jRc3TA7jKB pim@ipng.nl
|
||||
|
||||
# pim's M1 macbookpro SeKEY
|
||||
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKDP/hLZusPNfKTy3t9bbbOHyczX+UACc4rYstc3QEDBDfxBnCZcMKN5Mv10o+q/+ap7wyFhONlz/qcUhEMbI1k=
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo " * Disabling VPP, Bird and FRR"
|
||||
for i in vpp vppcfg bird-dataplane frr; do
|
||||
rm -f /etc/systemd/system/multi-user.target.wants/${i}.service
|
||||
ln -sf /dev/null /etc/systemd/system/${i}.service
|
||||
done
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user