Advertisement
Guest User

Untitled

a guest
Jun 30th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. ### Hetzner Online GmbH installimage
  2.  
  3. source /etc/network/interfaces.d/*
  4.  
  5. auto lo
  6. iface lo inet loopback
  7. iface lo inet6 loopback
  8.  
  9. auto eth0
  10. iface eth0 inet static
  11. address 94.130.17.212
  12. netmask 255.255.255.192
  13. pointopoint 94.130.17.193
  14. gateway 94.130.17.193
  15. # route 94.130.17.192/26 via 94.130.17.193
  16. up route add -net 94.130.17.192 netmask 255.255.255.192 gw 94.130.17.193 dev $
  17.  
  18. iface eth0 inet6 static
  19. address 2a01:4f8:10b:16a9::2
  20. netmask 64
  21. gateway fe80::1
  22.  
  23. auto vmbr0
  24. iface vmbr0 inet static
  25. address 94.130.17.212
  26. netmask 255.255.255.192
  27. bridge_ports none
  28. bridge_stp off
  29. bridge_fd 0
  30. bridge_maxwait 0
  31. pre-up brctl addbr vmbr0
  32. up ip route add 94.130.43.185/32 dev vmbr0
  33.  
  34. auto vmbr1
  35. iface vmbr1 inet static
  36. address 10.20.30.1
  37. netmask 255.255.255.0
  38. bridge_ports none
  39. bridge_stp off
  40. bridge_fd 0
  41. post-up iptables -t nat -A POSTROUTING -s '10.20.30.0/24' -o eth0 -j MASQUE$
  42. 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