Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### Hetzner Online GmbH installimage
- source /etc/network/interfaces.d/*
- auto lo
- iface lo inet loopback
- iface lo inet6 loopback
- auto eth0
- iface eth0 inet static
- address 94.130.17.212
- netmask 255.255.255.192
- pointopoint 94.130.17.193
- gateway 94.130.17.193
- # route 94.130.17.192/26 via 94.130.17.193
- up route add -net 94.130.17.192 netmask 255.255.255.192 gw 94.130.17.193 dev $
- iface eth0 inet6 static
- address 2a01:4f8:10b:16a9::2
- netmask 64
- gateway fe80::1
- auto vmbr0
- iface vmbr0 inet static
- address 94.130.17.212
- netmask 255.255.255.192
- bridge_ports none
- bridge_stp off
- bridge_fd 0
- bridge_maxwait 0
- pre-up brctl addbr vmbr0
- up ip route add 94.130.43.185/32 dev vmbr0
- auto vmbr1
- iface vmbr1 inet static
- address 10.20.30.1
- netmask 255.255.255.0
- bridge_ports none
- bridge_stp off
- bridge_fd 0
- post-up iptables -t nat -A POSTROUTING -s '10.20.30.0/24' -o eth0 -j MASQUE$
- post-down iptables -t nat -D POSTROUTING -s '10.20.30.0/24' -o eth0 -j MASQ$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement