Guest User

Untitled

a guest
Dec 18th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.69 KB | None | 0 0
  1. ### Hetzner Online GmbH installimage
  2.  
  3. auto lo
  4. iface lo inet loopback
  5. iface lo inet6 loopback
  6.  
  7. auto eth0
  8. iface eth0 inet static
  9. address 198.51.100.160
  10. netmask 255.255.255.192
  11. gateway 198.51.100.129
  12. # route 198.51.100.128/26 via 198.51.100.129
  13. up route add -net 198.51.100.128 netmask 255.255.255.192 gw 198.51.100.129 dev eth0
  14.  
  15. iface eth0 inet6 static
  16. address 2a0:4d8:201:231d::2
  17. netmask 64
  18. gateway fe80::1
  19.  
  20. auto eth0:1
  21. iface eth0:1 inet static
  22. address 198.51.100.187
  23. gateway 198.51.100.129
  24. netmask 255.255.255.192
  25.  
  26. sudo apt install -y bridge-utils
  27.  
  28. sudo echo "net.ipv4.ip_forward = 1" >> /etc/sysctl.conf
  29. sudo sysctl -p /etc/sysctl.conf
  30.  
  31. sudo apt install -y iptables-persistent
  32. sudo iptables -I FORWARD -j ACCEPT
  33. sudo dpkg-reconfigure -y iptables-persistent
  34.  
  35. auto eth0
  36. iface eth0 inet static
  37. address 198.51.100.187
  38. netmask 255.255.255.192
  39. gateway 198.51.100.129
  40. dns-nameservers 8.8.8.8 8.8.4.4
  41.  
  42. ### Hetzner Online GmbH installimage
  43.  
  44. auto lo
  45. iface lo inet loopback
  46. iface lo inet6 loopback
  47.  
  48. auto eth0
  49. iface eth0 inet static
  50. address 198.51.100.160
  51. netmask 255.255.255.192
  52. gateway 198.51.100.129
  53. dns-nameservers 8.8.8.8 8.8.4.4
  54.  
  55. auto br0
  56. iface br0 inet manual
  57. bridge_ports eth0
  58. bridge_stp off # disable Spanning Tree Protocol
  59. bridge_waitport 0 # no delay before a port becomes available
  60. bridge_fd 0 # no forwarding delay
  61.  
  62. auto br1
  63. iface br1 inet static
  64. address 198.51.110.65
  65. netmask 255.255.255.248
  66. bridge_stp off # disable Spanning Tree Protocol
  67. bridge_waitport 0 # no delay before a port becomes available
  68. bridge_fd 0 # no forwarding delay
  69.  
  70. iface eth0 inet6 static
  71. address 2a0:4d8:201:231d::2
  72. netmask 64
  73. gateway fe80::1
Add Comment
Please, Sign In to add comment