From 2098a42ad2272e3a220d3bc6587766a03a0420ce Mon Sep 17 00:00:00 2001 From: rebortg Date: Thu, 30 Dec 2021 11:22:16 +0100 Subject: blueprint: convert tunnelbroker to autotest --- .../autotest/tunnelbroker/_include/client.conf | 1 + .../autotest/tunnelbroker/_include/topology.png | Bin 0 -> 34614 bytes .../autotest/tunnelbroker/_include/transport.conf | 2 ++ .../autotest/tunnelbroker/_include/vyos-wan.conf | 1 + .../autotest/tunnelbroker/_include/vyos-wan_tun0.conf | 13 +++++++++++++ 5 files changed, 17 insertions(+) create mode 100644 docs/configexamples/autotest/tunnelbroker/_include/client.conf create mode 100644 docs/configexamples/autotest/tunnelbroker/_include/topology.png create mode 100644 docs/configexamples/autotest/tunnelbroker/_include/transport.conf create mode 100644 docs/configexamples/autotest/tunnelbroker/_include/vyos-wan.conf create mode 100644 docs/configexamples/autotest/tunnelbroker/_include/vyos-wan_tun0.conf (limited to 'docs/configexamples/autotest/tunnelbroker/_include') diff --git a/docs/configexamples/autotest/tunnelbroker/_include/client.conf b/docs/configexamples/autotest/tunnelbroker/_include/client.conf new file mode 100644 index 00000000..cedb1ab8 --- /dev/null +++ b/docs/configexamples/autotest/tunnelbroker/_include/client.conf @@ -0,0 +1 @@ +set interfaces ethernet eth1 ipv6 address autoconf \ No newline at end of file diff --git a/docs/configexamples/autotest/tunnelbroker/_include/topology.png b/docs/configexamples/autotest/tunnelbroker/_include/topology.png new file mode 100644 index 00000000..e70d55bc Binary files /dev/null and b/docs/configexamples/autotest/tunnelbroker/_include/topology.png differ diff --git a/docs/configexamples/autotest/tunnelbroker/_include/transport.conf b/docs/configexamples/autotest/tunnelbroker/_include/transport.conf new file mode 100644 index 00000000..1ecebc61 --- /dev/null +++ b/docs/configexamples/autotest/tunnelbroker/_include/transport.conf @@ -0,0 +1,2 @@ +set interfaces ethernet eth1 address '10.0.10.254/24' +set interfaces ethernet eth2 address '10.0.20.254/24' \ No newline at end of file diff --git a/docs/configexamples/autotest/tunnelbroker/_include/vyos-wan.conf b/docs/configexamples/autotest/tunnelbroker/_include/vyos-wan.conf new file mode 100644 index 00000000..86a563dc --- /dev/null +++ b/docs/configexamples/autotest/tunnelbroker/_include/vyos-wan.conf @@ -0,0 +1 @@ +set interfaces ethernet eth1 address dhcp diff --git a/docs/configexamples/autotest/tunnelbroker/_include/vyos-wan_tun0.conf b/docs/configexamples/autotest/tunnelbroker/_include/vyos-wan_tun0.conf new file mode 100644 index 00000000..03889ffd --- /dev/null +++ b/docs/configexamples/autotest/tunnelbroker/_include/vyos-wan_tun0.conf @@ -0,0 +1,13 @@ +set interfaces tunnel tun0 address '2001:470:6c:779::2/64' #Tunnelbroker Client IPv6 Address +set interfaces tunnel tun0 description 'HE.NET IPv6 Tunnel' +set interfaces tunnel tun0 encapsulation 'sit' +set interfaces tunnel tun0 remote '216.66.86.114' #Tunnelbroker Server IPv4 Address +set interfaces tunnel tun0 source-address '172.29.129.60' # Tunnelbroker Client IPv4 Address or if there is NAT the current WAN interface address + +set protocols static route6 ::/0 interface tun0 + +set interface ethernet eth2 address '2001:470:6d:778::1/64' # Tunnelbroker Routed /64 prefix +set service router-advert interface eth2 name-server '2001:470:20::2' +set service router-advert interface eth2 prefix 2001:470:6d:778::/64 # Tunnelbroker Routed /64 prefix + +set system name-server 2001:470:20::2 #Tunnelbroker DNS Server \ No newline at end of file -- cgit v1.2.3