Generate FRR Profile for lab0 and lab2

This commit is contained in:
Pim van Pelt
2023-05-31 15:43:21 +00:00
parent 8a64c5594a
commit f660985e31
222 changed files with 2420 additions and 0 deletions

View File

@ -0,0 +1 @@
tap0-0

View File

@ -0,0 +1,7 @@
127.0.0.1 localhost
127.0.1.1 tap0-0.lab.ipng.ch tap0-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.10.4
nameserver 2001:678:d78:201::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.22/26, 2001:678:d78:50b::16/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,8 @@
# 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=
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBy+EhCiRTcHgltaagVozgnROBy5Mi6Qslb3oWavDLSh vifino@tschunk
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID0hWe+3ovnwlOSDgexq/jcfyBS/NLIb7lC0yTtOvKWL vifino@firestorm

View File

@ -0,0 +1,8 @@
# 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=
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBy+EhCiRTcHgltaagVozgnROBy5Mi6Qslb3oWavDLSh vifino@tschunk
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID0hWe+3ovnwlOSDgexq/jcfyBS/NLIb7lC0yTtOvKWL vifino@firestorm

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/
chown -R ipng. /home/ipng/
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local