Generate lab3

This commit is contained in:
Pim van Pelt
2023-11-19 14:15:53 +00:00
parent a3db62a2e5
commit 37b4b725d9
235 changed files with 2304 additions and 0 deletions

View File

@ -0,0 +1 @@
host3-0

View File

@ -0,0 +1,7 @@
127.0.0.1 localhost
127.0.1.1 host3-0.lab.ipng.ch host3-0
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

View File

@ -0,0 +1,27 @@
-*%%=
=%@@@@@:
:%@@@@@@@*
:*@@@@@@@@@@ .=+-
:=*#%@@@@@@@@@@@@@+ .+@@@@#
.+@@@@@@@@@@@@@@@@@@@@##@@@@@@@=
+@@@@@@@@@@@%*+@@@@@@@@@@@@@@@@@*
=@@@@@@@@@#=: *@@@@%#*+*@@@@@@@#
-%@@@@@@@*- ::. :*@@@@@@@@@
=%@@@@@@@+ *@@@@@@@@@@@*
:*@@@@@@@@+ %@@@@@@@@@@@@@@+.
-*@@@@@@@@@+ +%@@@@@@@@@@@@@@@*.
.-+%@@@@@@@@@#- =@@@@@@@@@@@@@@@+
:=*%@@@@@@@@%*=: @@@@@@@@@@@@@@@@#
:+#@@@@@@@#*+-: :*%@@@@@@%%@@@@@@@@@@@@@@@@@#
.=#@@%#*+=-. :##%%@@@@@@@@@@@@@@@@@@@@@@@@@#
.-=-: ..:-=+*#%@@@@@@@@@@@@@@-
..::--==++***##%%%%@@@@@@@@@@@@@@@@%%%##***+==-::. .-=*#@@@@@@@@*
.:=+*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+-: :=+#@@@%
..:--=+**#%@@@@@@@@@@@@@@@@@@@@@@%#*##%@@@@@@@@@@@@@@@#+-. .-+-
.:=+*#%@@@@@@@@@@@@@@@@#+=:..-=+#%@@@@@@@@@@@@#+-.
.:=+#%@@@@@@@@@@@@@@@#+-. :-+#@@@@@@@@@@@%=
https://ipng.ch/ :-+#@@@@@@@@@@@@@@@#+-. .-+*%@%*-.
IPng Networks GmbH :=*%@@@@@@@@@@@@@%*-
:=*%@@@@@@@#+-.
Restricted access. Authorized users only. :=+-.
All connections are monitored and recorded. Contact <noc@ipng.ch> for details.

View File

@ -0,0 +1,4 @@
domain lab.ipng.ch
search lab.ipng.ch net.ipng.ch ipng.ch
nameserver 192.168.13.4
nameserver 2001:678:d78:231::ffff

View File

@ -0,0 +1,15 @@
network:
version: 2
renderer: networkd
ethernets:
enp1s0:
optional: true
accept-ra: false
dhcp4: false
mtu: 9000
addresses: [ 198.19.5.41/26, 2001:678:d78:50b::29/64 ]
routes:
- to: 0.0.0.0/0
via: 198.19.5.1
- to: ::/0
via: 2001:678:d78:50b::1

View File

@ -0,0 +1,4 @@
domain lab.ipng.ch
search lab.ipng.ch net.ipng.ch ipng.ch
nameserver 194.1.163.3
nameserver 194.1.163.4

View File

@ -0,0 +1,6 @@
# 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=

View File

@ -0,0 +1,6 @@
# 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=

View File

@ -0,0 +1,7 @@
#!/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

View File

@ -0,0 +1,7 @@
#!/bin/bash
echo " * Fixing permissions"
chown -R root:root /root/
chown -R ipng:ipng /home/ipng/
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local

View File

@ -0,0 +1 @@
host3-1

View File

@ -0,0 +1,7 @@
127.0.0.1 localhost
127.0.1.1 host3-1.lab.ipng.ch host3-1
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

View File

@ -0,0 +1,27 @@
-*%%=
=%@@@@@:
:%@@@@@@@*
:*@@@@@@@@@@ .=+-
:=*#%@@@@@@@@@@@@@+ .+@@@@#
.+@@@@@@@@@@@@@@@@@@@@##@@@@@@@=
+@@@@@@@@@@@%*+@@@@@@@@@@@@@@@@@*
=@@@@@@@@@#=: *@@@@%#*+*@@@@@@@#
-%@@@@@@@*- ::. :*@@@@@@@@@
=%@@@@@@@+ *@@@@@@@@@@@*
:*@@@@@@@@+ %@@@@@@@@@@@@@@+.
-*@@@@@@@@@+ +%@@@@@@@@@@@@@@@*.
.-+%@@@@@@@@@#- =@@@@@@@@@@@@@@@+
:=*%@@@@@@@@%*=: @@@@@@@@@@@@@@@@#
:+#@@@@@@@#*+-: :*%@@@@@@%%@@@@@@@@@@@@@@@@@#
.=#@@%#*+=-. :##%%@@@@@@@@@@@@@@@@@@@@@@@@@#
.-=-: ..:-=+*#%@@@@@@@@@@@@@@-
..::--==++***##%%%%@@@@@@@@@@@@@@@@%%%##***+==-::. .-=*#@@@@@@@@*
.:=+*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+-: :=+#@@@%
..:--=+**#%@@@@@@@@@@@@@@@@@@@@@@%#*##%@@@@@@@@@@@@@@@#+-. .-+-
.:=+*#%@@@@@@@@@@@@@@@@#+=:..-=+#%@@@@@@@@@@@@#+-.
.:=+#%@@@@@@@@@@@@@@@#+-. :-+#@@@@@@@@@@@%=
https://ipng.ch/ :-+#@@@@@@@@@@@@@@@#+-. .-+*%@%*-.
IPng Networks GmbH :=*%@@@@@@@@@@@@@%*-
:=*%@@@@@@@#+-.
Restricted access. Authorized users only. :=+-.
All connections are monitored and recorded. Contact <noc@ipng.ch> for details.

View File

@ -0,0 +1,4 @@
domain lab.ipng.ch
search lab.ipng.ch net.ipng.ch ipng.ch
nameserver 192.168.13.4
nameserver 2001:678:d78:231::ffff

View File

@ -0,0 +1,15 @@
network:
version: 2
renderer: networkd
ethernets:
enp1s0:
optional: true
accept-ra: false
dhcp4: false
mtu: 9000
addresses: [ 198.19.5.42/26, 2001:678:d78:50b::2a/64 ]
routes:
- to: 0.0.0.0/0
via: 198.19.5.1
- to: ::/0
via: 2001:678:d78:50b::1

View File

@ -0,0 +1,4 @@
domain lab.ipng.ch
search lab.ipng.ch net.ipng.ch ipng.ch
nameserver 194.1.163.3
nameserver 194.1.163.4

View File

@ -0,0 +1,6 @@
# 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=

View File

@ -0,0 +1,6 @@
# 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=

View File

@ -0,0 +1,7 @@
#!/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

View File

@ -0,0 +1,7 @@
#!/bin/bash
echo " * Fixing permissions"
chown -R root:root /root/
chown -R ipng:ipng /home/ipng/
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local

View File

@ -0,0 +1 @@
tap3-0

View File

@ -0,0 +1,7 @@
127.0.0.1 localhost
127.0.1.1 tap3-0.lab.ipng.ch tap3-0
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

View File

@ -0,0 +1,27 @@
-*%%=
=%@@@@@:
:%@@@@@@@*
:*@@@@@@@@@@ .=+-
:=*#%@@@@@@@@@@@@@+ .+@@@@#
.+@@@@@@@@@@@@@@@@@@@@##@@@@@@@=
+@@@@@@@@@@@%*+@@@@@@@@@@@@@@@@@*
=@@@@@@@@@#=: *@@@@%#*+*@@@@@@@#
-%@@@@@@@*- ::. :*@@@@@@@@@
=%@@@@@@@+ *@@@@@@@@@@@*
:*@@@@@@@@+ %@@@@@@@@@@@@@@+.
-*@@@@@@@@@+ +%@@@@@@@@@@@@@@@*.
.-+%@@@@@@@@@#- =@@@@@@@@@@@@@@@+
:=*%@@@@@@@@%*=: @@@@@@@@@@@@@@@@#
:+#@@@@@@@#*+-: :*%@@@@@@%%@@@@@@@@@@@@@@@@@#
.=#@@%#*+=-. :##%%@@@@@@@@@@@@@@@@@@@@@@@@@#
.-=-: ..:-=+*#%@@@@@@@@@@@@@@-
..::--==++***##%%%%@@@@@@@@@@@@@@@@%%%##***+==-::. .-=*#@@@@@@@@*
.:=+*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+-: :=+#@@@%
..:--=+**#%@@@@@@@@@@@@@@@@@@@@@@%#*##%@@@@@@@@@@@@@@@#+-. .-+-
.:=+*#%@@@@@@@@@@@@@@@@#+=:..-=+#%@@@@@@@@@@@@#+-.
.:=+#%@@@@@@@@@@@@@@@#+-. :-+#@@@@@@@@@@@%=
https://ipng.ch/ :-+#@@@@@@@@@@@@@@@#+-. .-+*%@%*-.
IPng Networks GmbH :=*%@@@@@@@@@@@@@%*-
:=*%@@@@@@@#+-.
Restricted access. Authorized users only. :=+-.
All connections are monitored and recorded. Contact <noc@ipng.ch> for details.

View File

@ -0,0 +1,4 @@
domain lab.ipng.ch
search lab.ipng.ch net.ipng.ch ipng.ch
nameserver 192.168.13.4
nameserver 2001:678:d78:231::ffff

View File

@ -0,0 +1,15 @@
network:
version: 2
renderer: networkd
ethernets:
enp1s0:
optional: true
accept-ra: false
dhcp4: false
mtu: 9000
addresses: [ 198.19.5.43/26, 2001:678:d78:50b::2b/64 ]
routes:
- to: 0.0.0.0/0
via: 198.19.5.1
- to: ::/0
via: 2001:678:d78:50b::1

View File

@ -0,0 +1,4 @@
#!/bin/sh
ip link set enp16s0f0 alias mirror-rx mtu 9216 up
ip link set enp16s0f1 alias mirror-tx mtu 9216 up

View File

@ -0,0 +1,4 @@
domain lab.ipng.ch
search lab.ipng.ch net.ipng.ch ipng.ch
nameserver 194.1.163.3
nameserver 194.1.163.4

View File

@ -0,0 +1,6 @@
# 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=

View File

@ -0,0 +1,6 @@
# 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=

View File

@ -0,0 +1,7 @@
#!/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

View File

@ -0,0 +1,7 @@
#!/bin/bash
echo " * Fixing permissions"
chown -R root:root /root/
chown -R ipng:ipng /home/ipng/
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local

View File

@ -0,0 +1,15 @@
bgpd=yes
ospfd=yes
ospf6d=yes
bfdd=yes
ldpd=yes
vtysh_enable=yes
watchfrr_options="--netns=dataplane"
zebra_options=" -A 127.0.0.1 -s 67108864 -M dplane_fpm_nl"
bgpd_options=" -A 127.0.0.1"
ospfd_options=" -A 127.0.0.1"
ospf6d_options=" -A ::1"
staticd_options="-A 127.0.0.1"
bfdd_options=" -A 127.0.0.1"
ldpd_options=" -A 127.0.0.1"

View File

@ -0,0 +1,63 @@
hostname vpp3-0
log syslog informational
no ip forwarding
no ipv6 forwarding
service integrated-vtysh-config
!
ip router-id 192.168.13.0
!
interface e0
mpls enable
exit
!
interface e1
ip ospf area 0
ip ospf network point-to-point
ipv6 ospf6 area 0
ipv6 ospf6 network point-to-point
mpls enable
exit
!
interface loop0
ip ospf area 0
ip ospf passive
ipv6 ospf6 area 0
ipv6 ospf6 passive
exit
!
router ospf
distribute connected
disrtibute static
exit
!
router ospf6
distribute connected
disrtibute static
exit
!
mpls ldp
router-id 192.168.13.0
dual-stack cisco-interop
ordered-control
!
address-family ipv4
discovery transport-address 192.168.13.0
label local advertise explicit-null
!
interface e1
exit
!
exit-address-family
!
address-family ipv6
discovery transport-address 2001:678:d78:230::
label local advertise explicit-null
ttl-security disable
!
interface e1
exit
!
exit-address-family
!
exit
!

View File

@ -0,0 +1 @@
vpp3-0

View File

@ -0,0 +1,7 @@
127.0.0.1 localhost
127.0.1.1 vpp3-0.lab.ipng.ch vpp3-0
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

View File

@ -0,0 +1,27 @@
-*%%=
=%@@@@@:
:%@@@@@@@*
:*@@@@@@@@@@ .=+-
:=*#%@@@@@@@@@@@@@+ .+@@@@#
.+@@@@@@@@@@@@@@@@@@@@##@@@@@@@=
+@@@@@@@@@@@%*+@@@@@@@@@@@@@@@@@*
=@@@@@@@@@#=: *@@@@%#*+*@@@@@@@#
-%@@@@@@@*- ::. :*@@@@@@@@@
=%@@@@@@@+ *@@@@@@@@@@@*
:*@@@@@@@@+ %@@@@@@@@@@@@@@+.
-*@@@@@@@@@+ +%@@@@@@@@@@@@@@@*.
.-+%@@@@@@@@@#- =@@@@@@@@@@@@@@@+
:=*%@@@@@@@@%*=: @@@@@@@@@@@@@@@@#
:+#@@@@@@@#*+-: :*%@@@@@@%%@@@@@@@@@@@@@@@@@#
.=#@@%#*+=-. :##%%@@@@@@@@@@@@@@@@@@@@@@@@@#
.-=-: ..:-=+*#%@@@@@@@@@@@@@@-
..::--==++***##%%%%@@@@@@@@@@@@@@@@%%%##***+==-::. .-=*#@@@@@@@@*
.:=+*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+-: :=+#@@@%
..:--=+**#%@@@@@@@@@@@@@@@@@@@@@@%#*##%@@@@@@@@@@@@@@@#+-. .-+-
.:=+*#%@@@@@@@@@@@@@@@@#+=:..-=+#%@@@@@@@@@@@@#+-.
.:=+#%@@@@@@@@@@@@@@@#+-. :-+#@@@@@@@@@@@%=
https://ipng.ch/ :-+#@@@@@@@@@@@@@@@#+-. .-+*%@%*-.
IPng Networks GmbH :=*%@@@@@@@@@@@@@%*-
:=*%@@@@@@@#+-.
Restricted access. Authorized users only. :=+-.
All connections are monitored and recorded. Contact <noc@ipng.ch> for details.

View File

@ -0,0 +1,4 @@
domain lab.ipng.ch
search lab.ipng.ch net.ipng.ch ipng.ch
nameserver 192.168.13.4
nameserver 2001:678:d78:231::ffff

View File

@ -0,0 +1,15 @@
network:
version: 2
renderer: networkd
ethernets:
enp1s0:
optional: true
accept-ra: false
dhcp4: false
mtu: 9000
addresses: [ 198.19.5.37/26, 2001:678:d78:50b::25/64 ]
routes:
- to: 0.0.0.0/0
via: 198.19.5.1
- to: ::/0
via: 2001:678:d78:50b::1

View File

@ -0,0 +1,4 @@
domain lab.ipng.ch
search lab.ipng.ch net.ipng.ch ipng.ch
nameserver 194.1.163.3
nameserver 194.1.163.4

View File

@ -0,0 +1,11 @@
comment { Apply system defaults from the build }
exec /etc/vpp/config/defaults.vpp
exec /etc/vpp/config/loopback.vpp
exec /etc/vpp/config/interface.vpp
exec /etc/vpp/config/lcp.vpp
exec /etc/vpp/config/mpls.vpp
comment { exec /etc/vpp/config/flowprobe.vpp }
comment { Allow user to set persistent manual configs }
exec /etc/vpp/config/manual.vpp

View File

@ -0,0 +1,5 @@
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

View File

@ -0,0 +1,10 @@
comment { Generate full IPFIX stats, send them to lab.ipng.ch }
set ipfix exporter collector 194.1.163.86 src 192.168.13.0 port 4739 path-mtu 1450 template-interval 30
flowprobe params record l2 l3 l4 active 10 passive 60
flowprobe feature add-del GigabitEthernet10/0/0 l2 both
flowprobe feature add-del GigabitEthernet10/0/1 l2 both
flowprobe feature add-del GigabitEthernet10/0/2 l2 both
flowprobe feature add-del GigabitEthernet10/0/3 l2 both

View File

@ -0,0 +1,24 @@
comment { Gi10/0/0 is connected to lab.ipng.ch:lab3 }
set interface mtu 9000 GigabitEthernet10/0/0
set interface mtu packet 9000 GigabitEthernet10/0/0
set interface ip address GigabitEthernet10/0/0 2001:678:d78:231::0:fffe/112
set interface ip address GigabitEthernet10/0/0 192.168.13.5/31
set interface state GigabitEthernet10/0/0 up
comment { Gi10/0/1 is connected to vpp3-1:Gi10/0/0 }
set interface mtu 9000 GigabitEthernet10/0/1
set interface mtu packet 9000 GigabitEthernet10/0/1
set interface ip address GigabitEthernet10/0/1 2001:678:d78:231::1:30/112
set interface ip address GigabitEthernet10/0/1 192.168.13.6/31
set interface state GigabitEthernet10/0/1 up
comment { Gi10/0/2 is free to use }
set interface mtu 9000 GigabitEthernet10/0/2
set interface mtu packet 9000 GigabitEthernet10/0/2
set interface state GigabitEthernet10/0/2 down
comment { Gi10/0/3 is free to use }
set interface mtu 9000 GigabitEthernet10/0/3
set interface mtu packet 9000 GigabitEthernet10/0/3
set interface state GigabitEthernet10/0/3 down

View File

@ -0,0 +1,7 @@
comment { Create one LinuxCP Interface Pair for each phy }
lcp create loop0 host-if loop0
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

View File

@ -0,0 +1,6 @@
comment { Create a loopback interface }
create loopback interface instance 0
set interface state loop0 up
set interface ip address loop0 192.168.13.0/32
set interface ip address loop0 2001:678:d78:230::/128

View File

@ -0,0 +1,2 @@
comment { Put any config for vpp3-0 you'd like here. }
comment { It will persist across restarts of VPP and reboots of the VM. }

View File

@ -0,0 +1,2 @@
mpls table add 0
set interface mpls GigabitEthernet10/0/1 enable

View File

@ -0,0 +1,6 @@
# 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=

View File

@ -0,0 +1,6 @@
# 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=

View File

@ -0,0 +1,7 @@
#!/bin/sh
echo " * Disabling Bird"
for i in bird-dataplane; do
rm -f /etc/systemd/system/multi-user.target.wants/${i}.service
ln -sf /dev/null /etc/systemd/system/${i}.service
done

View File

@ -0,0 +1,7 @@
#!/bin/bash
echo " * Fixing permissions"
chown -R root:root /root/
chown -R ipng:ipng /home/ipng/
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local

View File

@ -0,0 +1,15 @@
bgpd=yes
ospfd=yes
ospf6d=yes
bfdd=yes
ldpd=yes
vtysh_enable=yes
watchfrr_options="--netns=dataplane"
zebra_options=" -A 127.0.0.1 -s 67108864 -M dplane_fpm_nl"
bgpd_options=" -A 127.0.0.1"
ospfd_options=" -A 127.0.0.1"
ospf6d_options=" -A ::1"
staticd_options="-A 127.0.0.1"
bfdd_options=" -A 127.0.0.1"
ldpd_options=" -A 127.0.0.1"

View File

@ -0,0 +1,73 @@
hostname vpp3-1
log syslog informational
no ip forwarding
no ipv6 forwarding
service integrated-vtysh-config
!
ip router-id 192.168.13.1
!
interface e0
ip ospf area 0
ip ospf network point-to-point
ipv6 ospf6 area 0
ipv6 ospf6 network point-to-point
mpls enable
exit
!
interface e1
ip ospf area 0
ip ospf network point-to-point
ipv6 ospf6 area 0
ipv6 ospf6 network point-to-point
mpls enable
exit
!
interface loop0
ip ospf area 0
ip ospf passive
ipv6 ospf6 area 0
ipv6 ospf6 passive
exit
!
router ospf
distribute connected
disrtibute static
exit
!
router ospf6
distribute connected
disrtibute static
exit
!
mpls ldp
router-id 192.168.13.1
dual-stack cisco-interop
ordered-control
!
address-family ipv4
discovery transport-address 192.168.13.1
label local advertise explicit-null
!
interface e0
exit
!
interface e1
exit
!
exit-address-family
!
address-family ipv6
discovery transport-address 2001:678:d78:230::1
label local advertise explicit-null
ttl-security disable
!
interface e0
exit
!
interface e1
exit
!
exit-address-family
!
exit
!

View File

@ -0,0 +1 @@
vpp3-1

View File

@ -0,0 +1,7 @@
127.0.0.1 localhost
127.0.1.1 vpp3-1.lab.ipng.ch vpp3-1
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

View File

@ -0,0 +1,27 @@
-*%%=
=%@@@@@:
:%@@@@@@@*
:*@@@@@@@@@@ .=+-
:=*#%@@@@@@@@@@@@@+ .+@@@@#
.+@@@@@@@@@@@@@@@@@@@@##@@@@@@@=
+@@@@@@@@@@@%*+@@@@@@@@@@@@@@@@@*
=@@@@@@@@@#=: *@@@@%#*+*@@@@@@@#
-%@@@@@@@*- ::. :*@@@@@@@@@
=%@@@@@@@+ *@@@@@@@@@@@*
:*@@@@@@@@+ %@@@@@@@@@@@@@@+.
-*@@@@@@@@@+ +%@@@@@@@@@@@@@@@*.
.-+%@@@@@@@@@#- =@@@@@@@@@@@@@@@+
:=*%@@@@@@@@%*=: @@@@@@@@@@@@@@@@#
:+#@@@@@@@#*+-: :*%@@@@@@%%@@@@@@@@@@@@@@@@@#
.=#@@%#*+=-. :##%%@@@@@@@@@@@@@@@@@@@@@@@@@#
.-=-: ..:-=+*#%@@@@@@@@@@@@@@-
..::--==++***##%%%%@@@@@@@@@@@@@@@@%%%##***+==-::. .-=*#@@@@@@@@*
.:=+*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+-: :=+#@@@%
..:--=+**#%@@@@@@@@@@@@@@@@@@@@@@%#*##%@@@@@@@@@@@@@@@#+-. .-+-
.:=+*#%@@@@@@@@@@@@@@@@#+=:..-=+#%@@@@@@@@@@@@#+-.
.:=+#%@@@@@@@@@@@@@@@#+-. :-+#@@@@@@@@@@@%=
https://ipng.ch/ :-+#@@@@@@@@@@@@@@@#+-. .-+*%@%*-.
IPng Networks GmbH :=*%@@@@@@@@@@@@@%*-
:=*%@@@@@@@#+-.
Restricted access. Authorized users only. :=+-.
All connections are monitored and recorded. Contact <noc@ipng.ch> for details.

View File

@ -0,0 +1,4 @@
domain lab.ipng.ch
search lab.ipng.ch net.ipng.ch ipng.ch
nameserver 192.168.13.4
nameserver 2001:678:d78:231::ffff

View File

@ -0,0 +1,15 @@
network:
version: 2
renderer: networkd
ethernets:
enp1s0:
optional: true
accept-ra: false
dhcp4: false
mtu: 9000
addresses: [ 198.19.5.38/26, 2001:678:d78:50b::26/64 ]
routes:
- to: 0.0.0.0/0
via: 198.19.5.1
- to: ::/0
via: 2001:678:d78:50b::1

View File

@ -0,0 +1,4 @@
domain lab.ipng.ch
search lab.ipng.ch net.ipng.ch ipng.ch
nameserver 194.1.163.3
nameserver 194.1.163.4

View File

@ -0,0 +1,11 @@
comment { Apply system defaults from the build }
exec /etc/vpp/config/defaults.vpp
exec /etc/vpp/config/loopback.vpp
exec /etc/vpp/config/interface.vpp
exec /etc/vpp/config/lcp.vpp
exec /etc/vpp/config/mpls.vpp
comment { exec /etc/vpp/config/flowprobe.vpp }
comment { Allow user to set persistent manual configs }
exec /etc/vpp/config/manual.vpp

View File

@ -0,0 +1,5 @@
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

View File

@ -0,0 +1,10 @@
comment { Generate full IPFIX stats, send them to lab.ipng.ch }
set ipfix exporter collector 194.1.163.86 src 192.168.13.1 port 4739 path-mtu 1450 template-interval 30
flowprobe params record l2 l3 l4 active 10 passive 60
flowprobe feature add-del GigabitEthernet10/0/0 l2 both
flowprobe feature add-del GigabitEthernet10/0/1 l2 both
flowprobe feature add-del GigabitEthernet10/0/2 l2 both
flowprobe feature add-del GigabitEthernet10/0/3 l2 both

View File

@ -0,0 +1,24 @@
comment { Gi10/0/0 is connected to vpp3-0:Gi10/0/1 }
set interface mtu 9000 GigabitEthernet10/0/0
set interface mtu packet 9000 GigabitEthernet10/0/0
set interface ip address GigabitEthernet10/0/0 2001:678:d78:231::1:31/112
set interface ip address GigabitEthernet10/0/0 192.168.13.7/31
set interface state GigabitEthernet10/0/0 up
comment { Gi10/0/1 is connected to vpp3-2:Gi10/0/0 }
set interface mtu 9000 GigabitEthernet10/0/1
set interface mtu packet 9000 GigabitEthernet10/0/1
set interface ip address GigabitEthernet10/0/1 2001:678:d78:231::2:31/112
set interface ip address GigabitEthernet10/0/1 192.168.13.8/31
set interface state GigabitEthernet10/0/1 up
comment { Gi10/0/2 is free to use }
set interface mtu 9000 GigabitEthernet10/0/2
set interface mtu packet 9000 GigabitEthernet10/0/2
set interface state GigabitEthernet10/0/2 down
comment { Gi10/0/3 is free to use }
set interface mtu 9000 GigabitEthernet10/0/3
set interface mtu packet 9000 GigabitEthernet10/0/3
set interface state GigabitEthernet10/0/3 down

View File

@ -0,0 +1,7 @@
comment { Create one LinuxCP Interface Pair for each phy }
lcp create loop0 host-if loop0
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

View File

@ -0,0 +1,6 @@
comment { Create a loopback interface }
create loopback interface instance 0
set interface state loop0 up
set interface ip address loop0 192.168.13.1/32
set interface ip address loop0 2001:678:d78:230::1/128

View File

@ -0,0 +1,2 @@
comment { Put any config for vpp3-1 you'd like here. }
comment { It will persist across restarts of VPP and reboots of the VM. }

View File

@ -0,0 +1,3 @@
mpls table add 0
set interface mpls GigabitEthernet10/0/0 enable
set interface mpls GigabitEthernet10/0/1 enable

View File

@ -0,0 +1,6 @@
# 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=

View File

@ -0,0 +1,6 @@
# 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=

View File

@ -0,0 +1,7 @@
#!/bin/sh
echo " * Disabling Bird"
for i in bird-dataplane; do
rm -f /etc/systemd/system/multi-user.target.wants/${i}.service
ln -sf /dev/null /etc/systemd/system/${i}.service
done

View File

@ -0,0 +1,7 @@
#!/bin/bash
echo " * Fixing permissions"
chown -R root:root /root/
chown -R ipng:ipng /home/ipng/
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local

View File

@ -0,0 +1,15 @@
bgpd=yes
ospfd=yes
ospf6d=yes
bfdd=yes
ldpd=yes
vtysh_enable=yes
watchfrr_options="--netns=dataplane"
zebra_options=" -A 127.0.0.1 -s 67108864 -M dplane_fpm_nl"
bgpd_options=" -A 127.0.0.1"
ospfd_options=" -A 127.0.0.1"
ospf6d_options=" -A ::1"
staticd_options="-A 127.0.0.1"
bfdd_options=" -A 127.0.0.1"
ldpd_options=" -A 127.0.0.1"

View File

@ -0,0 +1,73 @@
hostname vpp3-2
log syslog informational
no ip forwarding
no ipv6 forwarding
service integrated-vtysh-config
!
ip router-id 192.168.13.2
!
interface e0
ip ospf area 0
ip ospf network point-to-point
ipv6 ospf6 area 0
ipv6 ospf6 network point-to-point
mpls enable
exit
!
interface e1
ip ospf area 0
ip ospf network point-to-point
ipv6 ospf6 area 0
ipv6 ospf6 network point-to-point
mpls enable
exit
!
interface loop0
ip ospf area 0
ip ospf passive
ipv6 ospf6 area 0
ipv6 ospf6 passive
exit
!
router ospf
distribute connected
disrtibute static
exit
!
router ospf6
distribute connected
disrtibute static
exit
!
mpls ldp
router-id 192.168.13.2
dual-stack cisco-interop
ordered-control
!
address-family ipv4
discovery transport-address 192.168.13.2
label local advertise explicit-null
!
interface e0
exit
!
interface e1
exit
!
exit-address-family
!
address-family ipv6
discovery transport-address 2001:678:d78:230::2
label local advertise explicit-null
ttl-security disable
!
interface e0
exit
!
interface e1
exit
!
exit-address-family
!
exit
!

View File

@ -0,0 +1 @@
vpp3-2

View File

@ -0,0 +1,7 @@
127.0.0.1 localhost
127.0.1.1 vpp3-2.lab.ipng.ch vpp3-2
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

View File

@ -0,0 +1,27 @@
-*%%=
=%@@@@@:
:%@@@@@@@*
:*@@@@@@@@@@ .=+-
:=*#%@@@@@@@@@@@@@+ .+@@@@#
.+@@@@@@@@@@@@@@@@@@@@##@@@@@@@=
+@@@@@@@@@@@%*+@@@@@@@@@@@@@@@@@*
=@@@@@@@@@#=: *@@@@%#*+*@@@@@@@#
-%@@@@@@@*- ::. :*@@@@@@@@@
=%@@@@@@@+ *@@@@@@@@@@@*
:*@@@@@@@@+ %@@@@@@@@@@@@@@+.
-*@@@@@@@@@+ +%@@@@@@@@@@@@@@@*.
.-+%@@@@@@@@@#- =@@@@@@@@@@@@@@@+
:=*%@@@@@@@@%*=: @@@@@@@@@@@@@@@@#
:+#@@@@@@@#*+-: :*%@@@@@@%%@@@@@@@@@@@@@@@@@#
.=#@@%#*+=-. :##%%@@@@@@@@@@@@@@@@@@@@@@@@@#
.-=-: ..:-=+*#%@@@@@@@@@@@@@@-
..::--==++***##%%%%@@@@@@@@@@@@@@@@%%%##***+==-::. .-=*#@@@@@@@@*
.:=+*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+-: :=+#@@@%
..:--=+**#%@@@@@@@@@@@@@@@@@@@@@@%#*##%@@@@@@@@@@@@@@@#+-. .-+-
.:=+*#%@@@@@@@@@@@@@@@@#+=:..-=+#%@@@@@@@@@@@@#+-.
.:=+#%@@@@@@@@@@@@@@@#+-. :-+#@@@@@@@@@@@%=
https://ipng.ch/ :-+#@@@@@@@@@@@@@@@#+-. .-+*%@%*-.
IPng Networks GmbH :=*%@@@@@@@@@@@@@%*-
:=*%@@@@@@@#+-.
Restricted access. Authorized users only. :=+-.
All connections are monitored and recorded. Contact <noc@ipng.ch> for details.

View File

@ -0,0 +1,4 @@
domain lab.ipng.ch
search lab.ipng.ch net.ipng.ch ipng.ch
nameserver 192.168.13.4
nameserver 2001:678:d78:231::ffff

View File

@ -0,0 +1,15 @@
network:
version: 2
renderer: networkd
ethernets:
enp1s0:
optional: true
accept-ra: false
dhcp4: false
mtu: 9000
addresses: [ 198.19.5.39/26, 2001:678:d78:50b::27/64 ]
routes:
- to: 0.0.0.0/0
via: 198.19.5.1
- to: ::/0
via: 2001:678:d78:50b::1

View File

@ -0,0 +1,4 @@
domain lab.ipng.ch
search lab.ipng.ch net.ipng.ch ipng.ch
nameserver 194.1.163.3
nameserver 194.1.163.4

View File

@ -0,0 +1,11 @@
comment { Apply system defaults from the build }
exec /etc/vpp/config/defaults.vpp
exec /etc/vpp/config/loopback.vpp
exec /etc/vpp/config/interface.vpp
exec /etc/vpp/config/lcp.vpp
exec /etc/vpp/config/mpls.vpp
comment { exec /etc/vpp/config/flowprobe.vpp }
comment { Allow user to set persistent manual configs }
exec /etc/vpp/config/manual.vpp

View File

@ -0,0 +1,5 @@
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

View File

@ -0,0 +1,10 @@
comment { Generate full IPFIX stats, send them to lab.ipng.ch }
set ipfix exporter collector 194.1.163.86 src 192.168.13.2 port 4739 path-mtu 1450 template-interval 30
flowprobe params record l2 l3 l4 active 10 passive 60
flowprobe feature add-del GigabitEthernet10/0/0 l2 both
flowprobe feature add-del GigabitEthernet10/0/1 l2 both
flowprobe feature add-del GigabitEthernet10/0/2 l2 both
flowprobe feature add-del GigabitEthernet10/0/3 l2 both

View File

@ -0,0 +1,24 @@
comment { Gi10/0/0 is connected to vpp3-1:Gi10/0/1 }
set interface mtu 9000 GigabitEthernet10/0/0
set interface mtu packet 9000 GigabitEthernet10/0/0
set interface ip address GigabitEthernet10/0/0 2001:678:d78:231::2:32/112
set interface ip address GigabitEthernet10/0/0 192.168.13.9/31
set interface state GigabitEthernet10/0/0 up
comment { Gi10/0/1 is connected to vpp3-3:Gi10/0/0 }
set interface mtu 9000 GigabitEthernet10/0/1
set interface mtu packet 9000 GigabitEthernet10/0/1
set interface ip address GigabitEthernet10/0/1 2001:678:d78:231::3:32/112
set interface ip address GigabitEthernet10/0/1 192.168.13.10/31
set interface state GigabitEthernet10/0/1 up
comment { Gi10/0/2 is free to use }
set interface mtu 9000 GigabitEthernet10/0/2
set interface mtu packet 9000 GigabitEthernet10/0/2
set interface state GigabitEthernet10/0/2 down
comment { Gi10/0/3 is free to use }
set interface mtu 9000 GigabitEthernet10/0/3
set interface mtu packet 9000 GigabitEthernet10/0/3
set interface state GigabitEthernet10/0/3 down

View File

@ -0,0 +1,7 @@
comment { Create one LinuxCP Interface Pair for each phy }
lcp create loop0 host-if loop0
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

View File

@ -0,0 +1,6 @@
comment { Create a loopback interface }
create loopback interface instance 0
set interface state loop0 up
set interface ip address loop0 192.168.13.2/32
set interface ip address loop0 2001:678:d78:230::2/128

View File

@ -0,0 +1,2 @@
comment { Put any config for vpp3-2 you'd like here. }
comment { It will persist across restarts of VPP and reboots of the VM. }

View File

@ -0,0 +1,3 @@
mpls table add 0
set interface mpls GigabitEthernet10/0/0 enable
set interface mpls GigabitEthernet10/0/1 enable

View File

@ -0,0 +1,6 @@
# 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=

View File

@ -0,0 +1,6 @@
# 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=

View File

@ -0,0 +1,7 @@
#!/bin/sh
echo " * Disabling Bird"
for i in bird-dataplane; do
rm -f /etc/systemd/system/multi-user.target.wants/${i}.service
ln -sf /dev/null /etc/systemd/system/${i}.service
done

View File

@ -0,0 +1,7 @@
#!/bin/bash
echo " * Fixing permissions"
chown -R root:root /root/
chown -R ipng:ipng /home/ipng/
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local

View File

@ -0,0 +1,15 @@
bgpd=yes
ospfd=yes
ospf6d=yes
bfdd=yes
ldpd=yes
vtysh_enable=yes
watchfrr_options="--netns=dataplane"
zebra_options=" -A 127.0.0.1 -s 67108864 -M dplane_fpm_nl"
bgpd_options=" -A 127.0.0.1"
ospfd_options=" -A 127.0.0.1"
ospf6d_options=" -A ::1"
staticd_options="-A 127.0.0.1"
bfdd_options=" -A 127.0.0.1"
ldpd_options=" -A 127.0.0.1"

View File

@ -0,0 +1,62 @@
hostname vpp3-3
log syslog informational
no ip forwarding
no ipv6 forwarding
service integrated-vtysh-config
!
ip router-id 192.168.13.3
!
interface e0
ip ospf area 0
ip ospf network point-to-point
ipv6 ospf6 area 0
ipv6 ospf6 network point-to-point
mpls enable
exit
!
interface e1
exit
!
interface loop0
ip ospf area 0
ip ospf passive
ipv6 ospf6 area 0
ipv6 ospf6 passive
exit
!
router ospf
distribute connected
disrtibute static
exit
!
router ospf6
distribute connected
disrtibute static
exit
!
mpls ldp
router-id 192.168.13.3
dual-stack cisco-interop
ordered-control
!
address-family ipv4
discovery transport-address 192.168.13.3
label local advertise explicit-null
!
interface e0
exit
!
exit-address-family
!
address-family ipv6
discovery transport-address 2001:678:d78:230::3
label local advertise explicit-null
ttl-security disable
!
interface e0
exit
!
exit-address-family
!
exit
!

View File

@ -0,0 +1 @@
vpp3-3

View File

@ -0,0 +1,7 @@
127.0.0.1 localhost
127.0.1.1 vpp3-3.lab.ipng.ch vpp3-3
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

View File

@ -0,0 +1,27 @@
-*%%=
=%@@@@@:
:%@@@@@@@*
:*@@@@@@@@@@ .=+-
:=*#%@@@@@@@@@@@@@+ .+@@@@#
.+@@@@@@@@@@@@@@@@@@@@##@@@@@@@=
+@@@@@@@@@@@%*+@@@@@@@@@@@@@@@@@*
=@@@@@@@@@#=: *@@@@%#*+*@@@@@@@#
-%@@@@@@@*- ::. :*@@@@@@@@@
=%@@@@@@@+ *@@@@@@@@@@@*
:*@@@@@@@@+ %@@@@@@@@@@@@@@+.
-*@@@@@@@@@+ +%@@@@@@@@@@@@@@@*.
.-+%@@@@@@@@@#- =@@@@@@@@@@@@@@@+
:=*%@@@@@@@@%*=: @@@@@@@@@@@@@@@@#
:+#@@@@@@@#*+-: :*%@@@@@@%%@@@@@@@@@@@@@@@@@#
.=#@@%#*+=-. :##%%@@@@@@@@@@@@@@@@@@@@@@@@@#
.-=-: ..:-=+*#%@@@@@@@@@@@@@@-
..::--==++***##%%%%@@@@@@@@@@@@@@@@%%%##***+==-::. .-=*#@@@@@@@@*
.:=+*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+-: :=+#@@@%
..:--=+**#%@@@@@@@@@@@@@@@@@@@@@@%#*##%@@@@@@@@@@@@@@@#+-. .-+-
.:=+*#%@@@@@@@@@@@@@@@@#+=:..-=+#%@@@@@@@@@@@@#+-.
.:=+#%@@@@@@@@@@@@@@@#+-. :-+#@@@@@@@@@@@%=
https://ipng.ch/ :-+#@@@@@@@@@@@@@@@#+-. .-+*%@%*-.
IPng Networks GmbH :=*%@@@@@@@@@@@@@%*-
:=*%@@@@@@@#+-.
Restricted access. Authorized users only. :=+-.
All connections are monitored and recorded. Contact <noc@ipng.ch> for details.

View File

@ -0,0 +1,4 @@
domain lab.ipng.ch
search lab.ipng.ch net.ipng.ch ipng.ch
nameserver 192.168.13.4
nameserver 2001:678:d78:231::ffff

View File

@ -0,0 +1,15 @@
network:
version: 2
renderer: networkd
ethernets:
enp1s0:
optional: true
accept-ra: false
dhcp4: false
mtu: 9000
addresses: [ 198.19.5.40/26, 2001:678:d78:50b::28/64 ]
routes:
- to: 0.0.0.0/0
via: 198.19.5.1
- to: ::/0
via: 2001:678:d78:50b::1

View File

@ -0,0 +1,4 @@
domain lab.ipng.ch
search lab.ipng.ch net.ipng.ch ipng.ch
nameserver 194.1.163.3
nameserver 194.1.163.4

View File

@ -0,0 +1,11 @@
comment { Apply system defaults from the build }
exec /etc/vpp/config/defaults.vpp
exec /etc/vpp/config/loopback.vpp
exec /etc/vpp/config/interface.vpp
exec /etc/vpp/config/lcp.vpp
exec /etc/vpp/config/mpls.vpp
comment { exec /etc/vpp/config/flowprobe.vpp }
comment { Allow user to set persistent manual configs }
exec /etc/vpp/config/manual.vpp

Some files were not shown because too many files have changed in this diff Show More