Complete lab0/lab1/lab2 setup with 2 hosts and 1 TAP device + OVS configs

This commit is contained in:
Pim van Pelt
2023-05-06 17:56:23 +00:00
parent 72245529a2
commit 3f737293b9
60 changed files with 843 additions and 13 deletions

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,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

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,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

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

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,7 @@
#!/bin/bash
echo " * Fixing permissions"
chown -R root. /root/
chown -R ipng. /home/ipng/
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local

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,7 @@
#!/bin/bash
echo " * Fixing permissions"
chown -R root. /root/
chown -R ipng. /home/ipng/
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local

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,7 @@
#!/bin/bash
echo " * Fixing permissions"
chown -R root. /root/
chown -R ipng. /home/ipng/
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local

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,7 @@
#!/bin/bash
echo " * Fixing permissions"
chown -R root. /root/
chown -R ipng. /home/ipng/
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local

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

@ -2,5 +2,6 @@
echo " * Disabling VPP, Bird and FRR"
for i in vpp vppcfg bird-dataplane frr; do
ln -sf /dev/null /etc/systemd/system/multi-user.target.wants/${i}.service
rm -f /etc/systemd/system/multi-user.target.wants/${i}.service
ln -sf /dev/null /etc/systemd/system/${i}.service
done

View File

@ -3,3 +3,5 @@
echo " * Fixing permissions"
chown -R root. /root/
chown -R ipng. /home/ipng/
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local

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

@ -2,5 +2,6 @@
echo " * Disabling VPP, Bird and FRR"
for i in vpp vppcfg bird-dataplane frr; do
ln -sf /dev/null /etc/systemd/system/multi-user.target.wants/${i}.service
rm -f /etc/systemd/system/multi-user.target.wants/${i}.service
ln -sf /dev/null /etc/systemd/system/${i}.service
done

View File

@ -3,3 +3,5 @@
echo " * Fixing permissions"
chown -R root. /root/
chown -R ipng. /home/ipng/
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local

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

@ -3,3 +3,5 @@
echo " * Fixing permissions"
chown -R root. /root/
chown -R ipng. /home/ipng/
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local

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

@ -3,3 +3,5 @@
echo " * Fixing permissions"
chown -R root. /root/
chown -R ipng. /home/ipng/
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local

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

@ -3,3 +3,5 @@
echo " * Fixing permissions"
chown -R root. /root/
chown -R ipng. /home/ipng/
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local

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

@ -3,3 +3,5 @@
echo " * Fixing permissions"
chown -R root. /root/
chown -R ipng. /home/ipng/
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local

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

@ -3,3 +3,5 @@
echo " * Fixing permissions"
chown -R root. /root/
chown -R ipng. /home/ipng/
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local

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,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

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,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

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

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,7 @@
#!/bin/bash
echo " * Fixing permissions"
chown -R root. /root/
chown -R ipng. /home/ipng/
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local

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,7 @@
#!/bin/bash
echo " * Fixing permissions"
chown -R root. /root/
chown -R ipng. /home/ipng/
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local

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,7 @@
#!/bin/bash
echo " * Fixing permissions"
chown -R root. /root/
chown -R ipng. /home/ipng/
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local

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,7 @@
#!/bin/bash
echo " * Fixing permissions"
chown -R root. /root/
chown -R ipng. /home/ipng/
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local

View File

@ -0,0 +1,28 @@
-*%%=
=%@@@@@:
:%@@@@@@@*
:*@@@@@@@@@@ .=+-
:=*#%@@@@@@@@@@@@@+ .+@@@@#
.+@@@@@@@@@@@@@@@@@@@@##@@@@@@@=
+@@@@@@@@@@@%*+@@@@@@@@@@@@@@@@@*
=@@@@@@@@@#=: *@@@@%#*+*@@@@@@@#
-%@@@@@@@*- ::. :*@@@@@@@@@
=%@@@@@@@+ *@@@@@@@@@@@*
:*@@@@@@@@+ %@@@@@@@@@@@@@@+.
-*@@@@@@@@@+ +%@@@@@@@@@@@@@@@*.
.-+%@@@@@@@@@#- =@@@@@@@@@@@@@@@+
:=*%@@@@@@@@%*=: @@@@@@@@@@@@@@@@#
:+#@@@@@@@#*+-: :*%@@@@@@%%@@@@@@@@@@@@@@@@@#
.=#@@%#*+=-. :##%%@@@@@@@@@@@@@@@@@@@@@@@@@#
.-=-: ..:-=+*#%@@@@@@@@@@@@@@-
..::--==++***##%%%%@@@@@@@@@@@@@@@@%%%##***+==-::. .-=*#@@@@@@@@*
.:=+*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+-: :=+#@@@%
..:--=+**#%@@@@@@@@@@@@@@@@@@@@@@%#*##%@@@@@@@@@@@@@@@#+-. .-+-
.:=+*#%@@@@@@@@@@@@@@@@#+=:..-=+#%@@@@@@@@@@@@#+-.
.:=+#%@@@@@@@@@@@@@@@#+-. :-+#@@@@@@@@@@@%=
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

@ -4,3 +4,4 @@ echo " * Fixing permissions"
chown -R root. /root/
chown -R ipng. /home/ipng/
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local

View File

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

View File

@ -0,0 +1 @@
../../../tap/root/lab-build/disable-vpp

View File

@ -1,12 +1,11 @@
#!/bin/sh
#!/bin/bash
#
# OVS configuration for the `bird` overlay
LAB=${LAB:=0}
for node in 0 1 2 3; do
for int in 0 1 2 3; do
ovs-vsctl set port vpp${LAB}-${node}-${int} vlan_mode=access
done
BR=vpplan
for p in $(ovs-vsctl list-ifaces $BR); do
ovs-vsctl set port $p vlan_mode=access
done
# Uplink is VLAN 10
@ -24,3 +23,57 @@ ovs-vsctl add port vpp${LAB}-2-0 tag 21
# Link vpp${LAB}-2 <-> vpp${LAB}-3 in VLAN 22
ovs-vsctl add port vpp${LAB}-2-1 tag 22
ovs-vsctl add port vpp${LAB}-3-0 tag 22
## Wire host${LAB}-0-[0123] to e2 of all VPP machines
ovs-vsctl set port vpp${LAB}-0-2 tag=30
ovs-vsctl set port host${LAB}-0-0 tag=30
ovs-vsctl set port vpp${LAB}-1-2 tag=31
ovs-vsctl set port host${LAB}-0-1 tag=31
ovs-vsctl set port vpp${LAB}-2-2 tag=32
ovs-vsctl set port host${LAB}-0-2 tag=32
ovs-vsctl set port vpp${LAB}-3-2 tag=33
ovs-vsctl set port host${LAB}-0-3 tag=33
## Wire host${LAB}-1-[0123] to e3 of all VPP machines
ovs-vsctl set port vpp${LAB}-0-3 tag=40
ovs-vsctl set port host${LAB}-1-0 tag=40
ovs-vsctl set port vpp${LAB}-1-3 tag=41
ovs-vsctl set port host${LAB}-1-1 tag=41
ovs-vsctl set port vpp${LAB}-2-3 tag=42
ovs-vsctl set port host${LAB}-1-2 tag=42
ovs-vsctl set port vpp${LAB}-3-3 tag=43
ovs-vsctl set port host${LAB}-1-3 tag=43
## Wire tap${LAB}-0-0 as 'rx' tap
MIRROR=mirror-rx
ovs-vsctl set port tap${LAB}-0-0 vlan_mode=native-tagged
[ ovs-vsctl list mirror $MIRROR >/dev/null 2>&1 ] || \
ovs-vsctl -- --id=@m get mirror $MIRROR -- remove bridge $BR mirrors @m
ovs-vsctl --id=@m create mirror name=$MIRROR \
-- --id=@p get port tap${LAB}-0-0 \
-- add bridge $BR mirrors @m \
-- set mirror $MIRROR output-port=@p \
-- set mirror $MIRROR select_dst_port=[] \
-- set mirror $MIRROR select_src_port=[]
for iface in $(ovs-vsctl list-ports $BR); do
[[ $iface == tap* ]] && continue
[[ $iface == uplink ]] && continue
ovs-vsctl add mirror $MIRROR select_dst_port $(ovs-vsctl get port $iface _uuid)
done
## Wire tap${LAB}-0-1 as 'tx' tap
MIRROR=mirror-tx
ovs-vsctl set port tap${LAB}-0-1 vlan_mode=native-tagged
[ ovs-vsctl list mirror $MIRROR >/dev/null 2>&1 ] || \
ovs-vsctl -- --id=@m get mirror $MIRROR -- remove bridge $BR mirrors @m
ovs-vsctl --id=@m create mirror name=$MIRROR \
-- --id=@p get port tap${LAB}-0-1 \
-- add bridge $BR mirrors @m \
-- set mirror $MIRROR output-port=@p \
-- set mirror $MIRROR select_dst_port=[] \
-- set mirror $MIRROR select_src_port=[]
for iface in $(ovs-vsctl list-ports $BR); do
[[ $iface == tap* ]] && continue
[[ $iface == uplink ]] && continue
ovs-vsctl add mirror $MIRROR select_src_port $(ovs-vsctl get port $iface _uuid)
done

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,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