Refactor away 'default' and just call the default profile 'bird'
This commit is contained in:
		
							
								
								
									
										1
									
								
								build/bird/hvn1.lab.ipng.ch/host1-0/etc/hostname
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								build/bird/hvn1.lab.ipng.ch/host1-0/etc/hostname
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
host1-0
 | 
			
		||||
							
								
								
									
										7
									
								
								build/bird/hvn1.lab.ipng.ch/host1-0/etc/hosts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								build/bird/hvn1.lab.ipng.ch/host1-0/etc/hosts
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
			
		||||
127.0.0.1       localhost
 | 
			
		||||
127.0.1.1       host1-0.lab.ipng.ch  host1-0
 | 
			
		||||
 | 
			
		||||
# The following lines are desirable for IPv6 capable hosts
 | 
			
		||||
::1     localhost ip6-localhost ip6-loopback
 | 
			
		||||
ff02::1 ip6-allnodes
 | 
			
		||||
ff02::2 ip6-allrouters
 | 
			
		||||
							
								
								
									
										27
									
								
								build/bird/hvn1.lab.ipng.ch/host1-0/etc/motd
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								build/bird/hvn1.lab.ipng.ch/host1-0/etc/motd
									
									
									
									
									
										Normal 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.
 | 
			
		||||
@@ -0,0 +1,4 @@
 | 
			
		||||
domain lab.ipng.ch
 | 
			
		||||
search lab.ipng.ch net.ipng.ch ipng.ch
 | 
			
		||||
nameserver 192.168.11.4
 | 
			
		||||
nameserver 2001:678:d78:211::ffff
 | 
			
		||||
@@ -0,0 +1,15 @@
 | 
			
		||||
network:
 | 
			
		||||
  version: 2
 | 
			
		||||
  renderer: networkd
 | 
			
		||||
  ethernets:
 | 
			
		||||
    enp1s0:
 | 
			
		||||
      optional: true
 | 
			
		||||
      accept-ra: false
 | 
			
		||||
      dhcp4: false
 | 
			
		||||
      mtu: 9000
 | 
			
		||||
      addresses: [ 198.19.5.27/26, 2001:678:d78:50b::1b/64 ]
 | 
			
		||||
      routes:
 | 
			
		||||
       - to: 0.0.0.0/0
 | 
			
		||||
         via: 198.19.5.1
 | 
			
		||||
       - to: ::/0
 | 
			
		||||
         via: 2001:678:d78:50b::1
 | 
			
		||||
							
								
								
									
										4
									
								
								build/bird/hvn1.lab.ipng.ch/host1-0/etc/resolv.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								build/bird/hvn1.lab.ipng.ch/host1-0/etc/resolv.conf
									
									
									
									
									
										Normal 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
 | 
			
		||||
@@ -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=
 | 
			
		||||
 | 
			
		||||
@@ -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=
 | 
			
		||||
 | 
			
		||||
@@ -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
 | 
			
		||||
							
								
								
									
										7
									
								
								build/bird/hvn1.lab.ipng.ch/host1-0/root/lab-build/perms
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								build/bird/hvn1.lab.ipng.ch/host1-0/root/lab-build/perms
									
									
									
									
									
										Normal 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
 | 
			
		||||
							
								
								
									
										1
									
								
								build/bird/hvn1.lab.ipng.ch/host1-1/etc/hostname
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								build/bird/hvn1.lab.ipng.ch/host1-1/etc/hostname
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
host1-1
 | 
			
		||||
							
								
								
									
										7
									
								
								build/bird/hvn1.lab.ipng.ch/host1-1/etc/hosts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								build/bird/hvn1.lab.ipng.ch/host1-1/etc/hosts
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
			
		||||
127.0.0.1       localhost
 | 
			
		||||
127.0.1.1       host1-1.lab.ipng.ch  host1-1
 | 
			
		||||
 | 
			
		||||
# The following lines are desirable for IPv6 capable hosts
 | 
			
		||||
::1     localhost ip6-localhost ip6-loopback
 | 
			
		||||
ff02::1 ip6-allnodes
 | 
			
		||||
ff02::2 ip6-allrouters
 | 
			
		||||
							
								
								
									
										27
									
								
								build/bird/hvn1.lab.ipng.ch/host1-1/etc/motd
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								build/bird/hvn1.lab.ipng.ch/host1-1/etc/motd
									
									
									
									
									
										Normal 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.
 | 
			
		||||
@@ -0,0 +1,4 @@
 | 
			
		||||
domain lab.ipng.ch
 | 
			
		||||
search lab.ipng.ch net.ipng.ch ipng.ch
 | 
			
		||||
nameserver 192.168.11.4
 | 
			
		||||
nameserver 2001:678:d78:211::ffff
 | 
			
		||||
@@ -0,0 +1,15 @@
 | 
			
		||||
network:
 | 
			
		||||
  version: 2
 | 
			
		||||
  renderer: networkd
 | 
			
		||||
  ethernets:
 | 
			
		||||
    enp1s0:
 | 
			
		||||
      optional: true
 | 
			
		||||
      accept-ra: false
 | 
			
		||||
      dhcp4: false
 | 
			
		||||
      mtu: 9000
 | 
			
		||||
      addresses: [ 198.19.5.28/26, 2001:678:d78:50b::1c/64 ]
 | 
			
		||||
      routes:
 | 
			
		||||
       - to: 0.0.0.0/0
 | 
			
		||||
         via: 198.19.5.1
 | 
			
		||||
       - to: ::/0
 | 
			
		||||
         via: 2001:678:d78:50b::1
 | 
			
		||||
							
								
								
									
										4
									
								
								build/bird/hvn1.lab.ipng.ch/host1-1/etc/resolv.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								build/bird/hvn1.lab.ipng.ch/host1-1/etc/resolv.conf
									
									
									
									
									
										Normal 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
 | 
			
		||||
@@ -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=
 | 
			
		||||
 | 
			
		||||
@@ -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=
 | 
			
		||||
 | 
			
		||||
@@ -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
 | 
			
		||||
							
								
								
									
										7
									
								
								build/bird/hvn1.lab.ipng.ch/host1-1/root/lab-build/perms
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								build/bird/hvn1.lab.ipng.ch/host1-1/root/lab-build/perms
									
									
									
									
									
										Normal 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
 | 
			
		||||
							
								
								
									
										1
									
								
								build/bird/hvn1.lab.ipng.ch/tap1-0/etc/hostname
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								build/bird/hvn1.lab.ipng.ch/tap1-0/etc/hostname
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
tap1-0
 | 
			
		||||
							
								
								
									
										7
									
								
								build/bird/hvn1.lab.ipng.ch/tap1-0/etc/hosts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								build/bird/hvn1.lab.ipng.ch/tap1-0/etc/hosts
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
			
		||||
127.0.0.1       localhost
 | 
			
		||||
127.0.1.1       tap1-0.lab.ipng.ch  tap1-0
 | 
			
		||||
 | 
			
		||||
# The following lines are desirable for IPv6 capable hosts
 | 
			
		||||
::1     localhost ip6-localhost ip6-loopback
 | 
			
		||||
ff02::1 ip6-allnodes
 | 
			
		||||
ff02::2 ip6-allrouters
 | 
			
		||||
							
								
								
									
										27
									
								
								build/bird/hvn1.lab.ipng.ch/tap1-0/etc/motd
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								build/bird/hvn1.lab.ipng.ch/tap1-0/etc/motd
									
									
									
									
									
										Normal 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.
 | 
			
		||||
@@ -0,0 +1,4 @@
 | 
			
		||||
domain lab.ipng.ch
 | 
			
		||||
search lab.ipng.ch net.ipng.ch ipng.ch
 | 
			
		||||
nameserver 192.168.11.4
 | 
			
		||||
nameserver 2001:678:d78:211::ffff
 | 
			
		||||
@@ -0,0 +1,15 @@
 | 
			
		||||
network:
 | 
			
		||||
  version: 2
 | 
			
		||||
  renderer: networkd
 | 
			
		||||
  ethernets:
 | 
			
		||||
    enp1s0:
 | 
			
		||||
      optional: true
 | 
			
		||||
      accept-ra: false
 | 
			
		||||
      dhcp4: false
 | 
			
		||||
      mtu: 9000
 | 
			
		||||
      addresses: [ 198.19.5.29/26, 2001:678:d78:50b::1d/64 ]
 | 
			
		||||
      routes:
 | 
			
		||||
       - to: 0.0.0.0/0
 | 
			
		||||
         via: 198.19.5.1
 | 
			
		||||
       - to: ::/0
 | 
			
		||||
         via: 2001:678:d78:50b::1
 | 
			
		||||
							
								
								
									
										4
									
								
								build/bird/hvn1.lab.ipng.ch/tap1-0/etc/rc.local
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								build/bird/hvn1.lab.ipng.ch/tap1-0/etc/rc.local
									
									
									
									
									
										Normal 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
 | 
			
		||||
							
								
								
									
										4
									
								
								build/bird/hvn1.lab.ipng.ch/tap1-0/etc/resolv.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								build/bird/hvn1.lab.ipng.ch/tap1-0/etc/resolv.conf
									
									
									
									
									
										Normal 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
 | 
			
		||||
@@ -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=
 | 
			
		||||
 | 
			
		||||
@@ -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=
 | 
			
		||||
 | 
			
		||||
@@ -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
 | 
			
		||||
							
								
								
									
										7
									
								
								build/bird/hvn1.lab.ipng.ch/tap1-0/root/lab-build/perms
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								build/bird/hvn1.lab.ipng.ch/tap1-0/root/lab-build/perms
									
									
									
									
									
										Normal 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
 | 
			
		||||
							
								
								
									
										20
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-0/etc/bird/bird.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-0/etc/bird/bird.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
			
		||||
## Bird2 configuration for vpp1-0
 | 
			
		||||
router id 192.168.11.0;
 | 
			
		||||
 | 
			
		||||
protocol device { scan time 30; }
 | 
			
		||||
protocol direct { ipv4; ipv6; check link yes; }
 | 
			
		||||
protocol kernel kernel4 {
 | 
			
		||||
  ipv4 { import none; export where source != RTS_DEVICE; };
 | 
			
		||||
  learn off;
 | 
			
		||||
  scan time 300;
 | 
			
		||||
}
 | 
			
		||||
protocol kernel kernel6 {
 | 
			
		||||
  ipv6 { import none; export where source != RTS_DEVICE; };
 | 
			
		||||
  learn off;
 | 
			
		||||
  scan time 300;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
include "core/static.conf";
 | 
			
		||||
include "core/bfd.conf";
 | 
			
		||||
include "core/ospf.conf";
 | 
			
		||||
include "manual.conf";
 | 
			
		||||
@@ -0,0 +1,6 @@
 | 
			
		||||
protocol bfd bfd1 {
 | 
			
		||||
  interface "e*" {
 | 
			
		||||
    interval 100 ms;
 | 
			
		||||
    multiplier 20;
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										21
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-0/etc/bird/core/ospf.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-0/etc/bird/core/ospf.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
protocol ospf v2 ospf4 {
 | 
			
		||||
  ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
 | 
			
		||||
  area 0 {
 | 
			
		||||
    interface "loop0" { stub yes; };
 | 
			
		||||
    interface "e0" { type pointopoint; cost 5; bfd off; };
 | 
			
		||||
    interface "e1" { type pointopoint; cost 5; bfd off; };
 | 
			
		||||
    interface "e2" { type pointopoint; cost 5; bfd off; };
 | 
			
		||||
    interface "e3" { type pointopoint; cost 5; bfd off; };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
protocol ospf v3 ospf6 {
 | 
			
		||||
  ipv6 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
 | 
			
		||||
  area 0 {
 | 
			
		||||
    interface "loop0" { stub yes; };
 | 
			
		||||
    interface "e0" { type pointopoint; cost 5; bfd off; };
 | 
			
		||||
    interface "e1" { type pointopoint; cost 5; bfd off; };
 | 
			
		||||
    interface "e2" { type pointopoint; cost 5; bfd off; };
 | 
			
		||||
    interface "e3" { type pointopoint; cost 5; bfd off; };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										15
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-0/etc/bird/core/static.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-0/etc/bird/core/static.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
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;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
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;
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										1
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-0/etc/bird/manual.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-0/etc/bird/manual.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
## Manual configuration for vpp1-0
 | 
			
		||||
							
								
								
									
										1
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-0/etc/hostname
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-0/etc/hostname
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
vpp1-0
 | 
			
		||||
							
								
								
									
										7
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-0/etc/hosts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-0/etc/hosts
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
			
		||||
127.0.0.1       localhost
 | 
			
		||||
127.0.1.1       vpp1-0.lab.ipng.ch  vpp1-0
 | 
			
		||||
 | 
			
		||||
# The following lines are desirable for IPv6 capable hosts
 | 
			
		||||
::1     localhost ip6-localhost ip6-loopback
 | 
			
		||||
ff02::1 ip6-allnodes
 | 
			
		||||
ff02::2 ip6-allrouters
 | 
			
		||||
							
								
								
									
										27
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-0/etc/motd
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-0/etc/motd
									
									
									
									
									
										Normal 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.
 | 
			
		||||
@@ -0,0 +1,4 @@
 | 
			
		||||
domain lab.ipng.ch
 | 
			
		||||
search lab.ipng.ch net.ipng.ch ipng.ch
 | 
			
		||||
nameserver 192.168.11.4
 | 
			
		||||
nameserver 2001:678:d78:211::ffff
 | 
			
		||||
@@ -0,0 +1,15 @@
 | 
			
		||||
network:
 | 
			
		||||
  version: 2
 | 
			
		||||
  renderer: networkd
 | 
			
		||||
  ethernets:
 | 
			
		||||
    enp1s0:
 | 
			
		||||
      optional: true
 | 
			
		||||
      accept-ra: false
 | 
			
		||||
      dhcp4: false
 | 
			
		||||
      mtu: 9000
 | 
			
		||||
      addresses: [ 198.19.5.23/26, 2001:678:d78:50b::17/64 ]
 | 
			
		||||
      routes:
 | 
			
		||||
       - to: 0.0.0.0/0
 | 
			
		||||
         via: 198.19.5.1
 | 
			
		||||
       - to: ::/0
 | 
			
		||||
         via: 2001:678:d78:50b::1
 | 
			
		||||
							
								
								
									
										4
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-0/etc/resolv.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-0/etc/resolv.conf
									
									
									
									
									
										Normal 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
 | 
			
		||||
							
								
								
									
										11
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-0/etc/vpp/bootstrap.vpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-0/etc/vpp/bootstrap.vpp
									
									
									
									
									
										Normal 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
 | 
			
		||||
@@ -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
 | 
			
		||||
 | 
			
		||||
@@ -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.11.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
 | 
			
		||||
@@ -0,0 +1,24 @@
 | 
			
		||||
comment { Gi10/0/0 is connected to lab.ipng.ch:lab1 }
 | 
			
		||||
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:211::0:fffe/112
 | 
			
		||||
set interface ip address GigabitEthernet10/0/0 192.168.11.5/31
 | 
			
		||||
set interface state GigabitEthernet10/0/0 up
 | 
			
		||||
 | 
			
		||||
comment { Gi10/0/1 is connected to vpp1-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:211::1:10/112
 | 
			
		||||
set interface ip address GigabitEthernet10/0/1 192.168.11.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
 | 
			
		||||
 | 
			
		||||
@@ -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
 | 
			
		||||
 | 
			
		||||
@@ -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.11.0/32
 | 
			
		||||
set interface ip address loop0 2001:678:d78:210::/128
 | 
			
		||||
 | 
			
		||||
@@ -0,0 +1,2 @@
 | 
			
		||||
comment { Put any config for vpp1-0 you'd like here. }
 | 
			
		||||
comment { It will persist across restarts of VPP and reboots of the VM. }
 | 
			
		||||
@@ -0,0 +1,2 @@
 | 
			
		||||
mpls table add 0
 | 
			
		||||
set interface mpls GigabitEthernet10/0/1 enable
 | 
			
		||||
@@ -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=
 | 
			
		||||
 | 
			
		||||
@@ -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=
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										7
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-0/root/lab-build/perms
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-0/root/lab-build/perms
									
									
									
									
									
										Normal 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
 | 
			
		||||
							
								
								
									
										20
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-1/etc/bird/bird.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-1/etc/bird/bird.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
			
		||||
## Bird2 configuration for vpp1-1
 | 
			
		||||
router id 192.168.11.1;
 | 
			
		||||
 | 
			
		||||
protocol device { scan time 30; }
 | 
			
		||||
protocol direct { ipv4; ipv6; check link yes; }
 | 
			
		||||
protocol kernel kernel4 {
 | 
			
		||||
  ipv4 { import none; export where source != RTS_DEVICE; };
 | 
			
		||||
  learn off;
 | 
			
		||||
  scan time 300;
 | 
			
		||||
}
 | 
			
		||||
protocol kernel kernel6 {
 | 
			
		||||
  ipv6 { import none; export where source != RTS_DEVICE; };
 | 
			
		||||
  learn off;
 | 
			
		||||
  scan time 300;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
include "core/static.conf";
 | 
			
		||||
include "core/bfd.conf";
 | 
			
		||||
include "core/ospf.conf";
 | 
			
		||||
include "manual.conf";
 | 
			
		||||
@@ -0,0 +1,6 @@
 | 
			
		||||
protocol bfd bfd1 {
 | 
			
		||||
  interface "e*" {
 | 
			
		||||
    interval 100 ms;
 | 
			
		||||
    multiplier 20;
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										21
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-1/etc/bird/core/ospf.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-1/etc/bird/core/ospf.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
protocol ospf v2 ospf4 {
 | 
			
		||||
  ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
 | 
			
		||||
  area 0 {
 | 
			
		||||
    interface "loop0" { stub yes; };
 | 
			
		||||
    interface "e0" { type pointopoint; cost 5; bfd off; };
 | 
			
		||||
    interface "e1" { type pointopoint; cost 5; bfd off; };
 | 
			
		||||
    interface "e2" { type pointopoint; cost 5; bfd off; };
 | 
			
		||||
    interface "e3" { type pointopoint; cost 5; bfd off; };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
protocol ospf v3 ospf6 {
 | 
			
		||||
  ipv6 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
 | 
			
		||||
  area 0 {
 | 
			
		||||
    interface "loop0" { stub yes; };
 | 
			
		||||
    interface "e0" { type pointopoint; cost 5; bfd off; };
 | 
			
		||||
    interface "e1" { type pointopoint; cost 5; bfd off; };
 | 
			
		||||
    interface "e2" { type pointopoint; cost 5; bfd off; };
 | 
			
		||||
    interface "e3" { type pointopoint; cost 5; bfd off; };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										13
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-1/etc/bird/core/static.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-1/etc/bird/core/static.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
protocol static static4 {
 | 
			
		||||
  ipv4 { export all; };
 | 
			
		||||
#  route 192.0.2.0/24 via 10.0.0.1;
 | 
			
		||||
  route 192.168.11.0/24 unreachable;
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
protocol static static6 {
 | 
			
		||||
  ipv6 { export all; };
 | 
			
		||||
#  route 2001:db8:cafe::/48 via 2001:db8::1;;
 | 
			
		||||
  route 2001:678:d78:210::/60 unreachable;
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										1
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-1/etc/bird/manual.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-1/etc/bird/manual.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
## Manual configuration for vpp1-1
 | 
			
		||||
							
								
								
									
										1
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-1/etc/hostname
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-1/etc/hostname
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
vpp1-1
 | 
			
		||||
							
								
								
									
										7
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-1/etc/hosts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-1/etc/hosts
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
			
		||||
127.0.0.1       localhost
 | 
			
		||||
127.0.1.1       vpp1-1.lab.ipng.ch  vpp1-1
 | 
			
		||||
 | 
			
		||||
# The following lines are desirable for IPv6 capable hosts
 | 
			
		||||
::1     localhost ip6-localhost ip6-loopback
 | 
			
		||||
ff02::1 ip6-allnodes
 | 
			
		||||
ff02::2 ip6-allrouters
 | 
			
		||||
							
								
								
									
										27
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-1/etc/motd
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-1/etc/motd
									
									
									
									
									
										Normal 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.
 | 
			
		||||
@@ -0,0 +1,4 @@
 | 
			
		||||
domain lab.ipng.ch
 | 
			
		||||
search lab.ipng.ch net.ipng.ch ipng.ch
 | 
			
		||||
nameserver 192.168.11.4
 | 
			
		||||
nameserver 2001:678:d78:211::ffff
 | 
			
		||||
@@ -0,0 +1,15 @@
 | 
			
		||||
network:
 | 
			
		||||
  version: 2
 | 
			
		||||
  renderer: networkd
 | 
			
		||||
  ethernets:
 | 
			
		||||
    enp1s0:
 | 
			
		||||
      optional: true
 | 
			
		||||
      accept-ra: false
 | 
			
		||||
      dhcp4: false
 | 
			
		||||
      mtu: 9000
 | 
			
		||||
      addresses: [ 198.19.5.24/26, 2001:678:d78:50b::18/64 ]
 | 
			
		||||
      routes:
 | 
			
		||||
       - to: 0.0.0.0/0
 | 
			
		||||
         via: 198.19.5.1
 | 
			
		||||
       - to: ::/0
 | 
			
		||||
         via: 2001:678:d78:50b::1
 | 
			
		||||
							
								
								
									
										4
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-1/etc/resolv.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-1/etc/resolv.conf
									
									
									
									
									
										Normal 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
 | 
			
		||||
							
								
								
									
										11
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-1/etc/vpp/bootstrap.vpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-1/etc/vpp/bootstrap.vpp
									
									
									
									
									
										Normal 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
 | 
			
		||||
@@ -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
 | 
			
		||||
 | 
			
		||||
@@ -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.11.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
 | 
			
		||||
@@ -0,0 +1,24 @@
 | 
			
		||||
comment { Gi10/0/0 is connected to vpp1-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:211::1:11/112
 | 
			
		||||
set interface ip address GigabitEthernet10/0/0 192.168.11.7/31
 | 
			
		||||
set interface state GigabitEthernet10/0/0 up
 | 
			
		||||
 | 
			
		||||
comment { Gi10/0/1 is connected to vpp1-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:211::2:11/112
 | 
			
		||||
set interface ip address GigabitEthernet10/0/1 192.168.11.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
 | 
			
		||||
 | 
			
		||||
@@ -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
 | 
			
		||||
 | 
			
		||||
@@ -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.11.1/32
 | 
			
		||||
set interface ip address loop0 2001:678:d78:210::1/128
 | 
			
		||||
 | 
			
		||||
@@ -0,0 +1,2 @@
 | 
			
		||||
comment { Put any config for vpp1-1 you'd like here. }
 | 
			
		||||
comment { It will persist across restarts of VPP and reboots of the VM. }
 | 
			
		||||
@@ -0,0 +1,3 @@
 | 
			
		||||
mpls table add 0
 | 
			
		||||
set interface mpls GigabitEthernet10/0/0 enable
 | 
			
		||||
set interface mpls GigabitEthernet10/0/1 enable
 | 
			
		||||
@@ -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=
 | 
			
		||||
 | 
			
		||||
@@ -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=
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										7
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-1/root/lab-build/perms
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-1/root/lab-build/perms
									
									
									
									
									
										Normal 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
 | 
			
		||||
							
								
								
									
										20
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-2/etc/bird/bird.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-2/etc/bird/bird.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
			
		||||
## Bird2 configuration for vpp1-2
 | 
			
		||||
router id 192.168.11.2;
 | 
			
		||||
 | 
			
		||||
protocol device { scan time 30; }
 | 
			
		||||
protocol direct { ipv4; ipv6; check link yes; }
 | 
			
		||||
protocol kernel kernel4 {
 | 
			
		||||
  ipv4 { import none; export where source != RTS_DEVICE; };
 | 
			
		||||
  learn off;
 | 
			
		||||
  scan time 300;
 | 
			
		||||
}
 | 
			
		||||
protocol kernel kernel6 {
 | 
			
		||||
  ipv6 { import none; export where source != RTS_DEVICE; };
 | 
			
		||||
  learn off;
 | 
			
		||||
  scan time 300;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
include "core/static.conf";
 | 
			
		||||
include "core/bfd.conf";
 | 
			
		||||
include "core/ospf.conf";
 | 
			
		||||
include "manual.conf";
 | 
			
		||||
@@ -0,0 +1,6 @@
 | 
			
		||||
protocol bfd bfd1 {
 | 
			
		||||
  interface "e*" {
 | 
			
		||||
    interval 100 ms;
 | 
			
		||||
    multiplier 20;
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										21
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-2/etc/bird/core/ospf.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-2/etc/bird/core/ospf.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
protocol ospf v2 ospf4 {
 | 
			
		||||
  ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
 | 
			
		||||
  area 0 {
 | 
			
		||||
    interface "loop0" { stub yes; };
 | 
			
		||||
    interface "e0" { type pointopoint; cost 5; bfd off; };
 | 
			
		||||
    interface "e1" { type pointopoint; cost 5; bfd off; };
 | 
			
		||||
    interface "e2" { type pointopoint; cost 5; bfd off; };
 | 
			
		||||
    interface "e3" { type pointopoint; cost 5; bfd off; };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
protocol ospf v3 ospf6 {
 | 
			
		||||
  ipv6 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
 | 
			
		||||
  area 0 {
 | 
			
		||||
    interface "loop0" { stub yes; };
 | 
			
		||||
    interface "e0" { type pointopoint; cost 5; bfd off; };
 | 
			
		||||
    interface "e1" { type pointopoint; cost 5; bfd off; };
 | 
			
		||||
    interface "e2" { type pointopoint; cost 5; bfd off; };
 | 
			
		||||
    interface "e3" { type pointopoint; cost 5; bfd off; };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										13
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-2/etc/bird/core/static.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-2/etc/bird/core/static.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
protocol static static4 {
 | 
			
		||||
  ipv4 { export all; };
 | 
			
		||||
#  route 192.0.2.0/24 via 10.0.0.1;
 | 
			
		||||
  route 192.168.11.0/24 unreachable;
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
protocol static static6 {
 | 
			
		||||
  ipv6 { export all; };
 | 
			
		||||
#  route 2001:db8:cafe::/48 via 2001:db8::1;;
 | 
			
		||||
  route 2001:678:d78:210::/60 unreachable;
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										1
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-2/etc/bird/manual.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-2/etc/bird/manual.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
## Manual configuration for vpp1-2
 | 
			
		||||
							
								
								
									
										1
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-2/etc/hostname
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-2/etc/hostname
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
vpp1-2
 | 
			
		||||
							
								
								
									
										7
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-2/etc/hosts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-2/etc/hosts
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
			
		||||
127.0.0.1       localhost
 | 
			
		||||
127.0.1.1       vpp1-2.lab.ipng.ch  vpp1-2
 | 
			
		||||
 | 
			
		||||
# The following lines are desirable for IPv6 capable hosts
 | 
			
		||||
::1     localhost ip6-localhost ip6-loopback
 | 
			
		||||
ff02::1 ip6-allnodes
 | 
			
		||||
ff02::2 ip6-allrouters
 | 
			
		||||
							
								
								
									
										27
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-2/etc/motd
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-2/etc/motd
									
									
									
									
									
										Normal 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.
 | 
			
		||||
@@ -0,0 +1,4 @@
 | 
			
		||||
domain lab.ipng.ch
 | 
			
		||||
search lab.ipng.ch net.ipng.ch ipng.ch
 | 
			
		||||
nameserver 192.168.11.4
 | 
			
		||||
nameserver 2001:678:d78:211::ffff
 | 
			
		||||
@@ -0,0 +1,15 @@
 | 
			
		||||
network:
 | 
			
		||||
  version: 2
 | 
			
		||||
  renderer: networkd
 | 
			
		||||
  ethernets:
 | 
			
		||||
    enp1s0:
 | 
			
		||||
      optional: true
 | 
			
		||||
      accept-ra: false
 | 
			
		||||
      dhcp4: false
 | 
			
		||||
      mtu: 9000
 | 
			
		||||
      addresses: [ 198.19.5.25/26, 2001:678:d78:50b::19/64 ]
 | 
			
		||||
      routes:
 | 
			
		||||
       - to: 0.0.0.0/0
 | 
			
		||||
         via: 198.19.5.1
 | 
			
		||||
       - to: ::/0
 | 
			
		||||
         via: 2001:678:d78:50b::1
 | 
			
		||||
							
								
								
									
										4
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-2/etc/resolv.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-2/etc/resolv.conf
									
									
									
									
									
										Normal 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
 | 
			
		||||
							
								
								
									
										11
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-2/etc/vpp/bootstrap.vpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-2/etc/vpp/bootstrap.vpp
									
									
									
									
									
										Normal 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
 | 
			
		||||
@@ -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
 | 
			
		||||
 | 
			
		||||
@@ -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.11.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
 | 
			
		||||
@@ -0,0 +1,24 @@
 | 
			
		||||
comment { Gi10/0/0 is connected to vpp1-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:211::2:12/112
 | 
			
		||||
set interface ip address GigabitEthernet10/0/0 192.168.11.9/31
 | 
			
		||||
set interface state GigabitEthernet10/0/0 up
 | 
			
		||||
 | 
			
		||||
comment { Gi10/0/1 is connected to vpp1-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:211::3:12/112
 | 
			
		||||
set interface ip address GigabitEthernet10/0/1 192.168.11.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
 | 
			
		||||
 | 
			
		||||
@@ -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
 | 
			
		||||
 | 
			
		||||
@@ -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.11.2/32
 | 
			
		||||
set interface ip address loop0 2001:678:d78:210::2/128
 | 
			
		||||
 | 
			
		||||
@@ -0,0 +1,2 @@
 | 
			
		||||
comment { Put any config for vpp1-2 you'd like here. }
 | 
			
		||||
comment { It will persist across restarts of VPP and reboots of the VM. }
 | 
			
		||||
@@ -0,0 +1,3 @@
 | 
			
		||||
mpls table add 0
 | 
			
		||||
set interface mpls GigabitEthernet10/0/0 enable
 | 
			
		||||
set interface mpls GigabitEthernet10/0/1 enable
 | 
			
		||||
@@ -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=
 | 
			
		||||
 | 
			
		||||
@@ -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=
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										7
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-2/root/lab-build/perms
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-2/root/lab-build/perms
									
									
									
									
									
										Normal 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
 | 
			
		||||
							
								
								
									
										20
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-3/etc/bird/bird.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-3/etc/bird/bird.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
			
		||||
## Bird2 configuration for vpp1-3
 | 
			
		||||
router id 192.168.11.3;
 | 
			
		||||
 | 
			
		||||
protocol device { scan time 30; }
 | 
			
		||||
protocol direct { ipv4; ipv6; check link yes; }
 | 
			
		||||
protocol kernel kernel4 {
 | 
			
		||||
  ipv4 { import none; export where source != RTS_DEVICE; };
 | 
			
		||||
  learn off;
 | 
			
		||||
  scan time 300;
 | 
			
		||||
}
 | 
			
		||||
protocol kernel kernel6 {
 | 
			
		||||
  ipv6 { import none; export where source != RTS_DEVICE; };
 | 
			
		||||
  learn off;
 | 
			
		||||
  scan time 300;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
include "core/static.conf";
 | 
			
		||||
include "core/bfd.conf";
 | 
			
		||||
include "core/ospf.conf";
 | 
			
		||||
include "manual.conf";
 | 
			
		||||
@@ -0,0 +1,6 @@
 | 
			
		||||
protocol bfd bfd1 {
 | 
			
		||||
  interface "e*" {
 | 
			
		||||
    interval 100 ms;
 | 
			
		||||
    multiplier 20;
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										21
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-3/etc/bird/core/ospf.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								build/bird/hvn1.lab.ipng.ch/vpp1-3/etc/bird/core/ospf.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
protocol ospf v2 ospf4 {
 | 
			
		||||
  ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
 | 
			
		||||
  area 0 {
 | 
			
		||||
    interface "loop0" { stub yes; };
 | 
			
		||||
    interface "e0" { type pointopoint; cost 5; bfd off; };
 | 
			
		||||
    interface "e1" { type pointopoint; cost 5; bfd off; };
 | 
			
		||||
    interface "e2" { type pointopoint; cost 5; bfd off; };
 | 
			
		||||
    interface "e3" { type pointopoint; cost 5; bfd off; };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
protocol ospf v3 ospf6 {
 | 
			
		||||
  ipv6 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
 | 
			
		||||
  area 0 {
 | 
			
		||||
    interface "loop0" { stub yes; };
 | 
			
		||||
    interface "e0" { type pointopoint; cost 5; bfd off; };
 | 
			
		||||
    interface "e1" { type pointopoint; cost 5; bfd off; };
 | 
			
		||||
    interface "e2" { type pointopoint; cost 5; bfd off; };
 | 
			
		||||
    interface "e3" { type pointopoint; cost 5; bfd off; };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user