Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### Hetzner Online GmbH installimage
- auto lo
- iface lo inet loopback
- iface lo inet6 loopback
- auto eth0
- iface eth0 inet static
- address 198.51.100.160
- netmask 255.255.255.192
- gateway 198.51.100.129
- # route 198.51.100.128/26 via 198.51.100.129
- up route add -net 198.51.100.128 netmask 255.255.255.192 gw 198.51.100.129 dev eth0
- iface eth0 inet6 static
- address 2a0:4d8:201:231d::2
- netmask 64
- gateway fe80::1
- auto eth0:1
- iface eth0:1 inet static
- address 198.51.100.187
- gateway 198.51.100.129
- netmask 255.255.255.192
- sudo apt install -y bridge-utils
- sudo echo "net.ipv4.ip_forward = 1" >> /etc/sysctl.conf
- sudo sysctl -p /etc/sysctl.conf
- sudo apt install -y iptables-persistent
- sudo iptables -I FORWARD -j ACCEPT
- sudo dpkg-reconfigure -y iptables-persistent
- auto eth0
- iface eth0 inet static
- address 198.51.100.187
- netmask 255.255.255.192
- gateway 198.51.100.129
- dns-nameservers 8.8.8.8 8.8.4.4
- ### Hetzner Online GmbH installimage
- auto lo
- iface lo inet loopback
- iface lo inet6 loopback
- auto eth0
- iface eth0 inet static
- address 198.51.100.160
- netmask 255.255.255.192
- gateway 198.51.100.129
- dns-nameservers 8.8.8.8 8.8.4.4
- auto br0
- iface br0 inet manual
- bridge_ports eth0
- bridge_stp off # disable Spanning Tree Protocol
- bridge_waitport 0 # no delay before a port becomes available
- bridge_fd 0 # no forwarding delay
- auto br1
- iface br1 inet static
- address 198.51.110.65
- netmask 255.255.255.248
- bridge_stp off # disable Spanning Tree Protocol
- bridge_waitport 0 # no delay before a port becomes available
- bridge_fd 0 # no forwarding delay
- iface eth0 inet6 static
- address 2a0:4d8:201:231d::2
- netmask 64
- gateway fe80::1
Add Comment
Please, Sign In to add comment