dominique120

Untitled

Mar 17th, 2014
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. # This file describes the network interfaces available on your system
  2. # and how to activate them. For more information, see interfaces(5).
  3.  
  4. # The loopback network interface
  5. auto lo
  6. iface lo inet loopback
  7.  
  8. # for Routing
  9. auto vmbr1
  10. iface vmbr1 inet manual
  11. post-up /etc/pve/kvm-networking.sh
  12. bridge_ports dummy0
  13. bridge_stp off
  14. bridge_fd 0
  15.  
  16.  
  17. # vmbr0: Bridging. Make sure to use only MAC adresses that were assigned to you.
  18. auto vmbr0
  19. iface vmbr0 inet static
  20. address xxx.xx.34.169
  21. netmask 255.255.255.0
  22. network xxx.xx.34.0
  23. broadcast xxx.xx.34.255
  24. gateway xxx.xx.34.254
  25. bridge_ports eth0
  26. bridge_stp off
  27. bridge_fd 0
  28.  
  29. iface vmbr0 inet6 static
  30. address 2607:5300:60:49a9::1
  31. netmask 64
  32. post-up /sbin/ip -f inet6 route add 2607:5300:60:49ff:ff:ff:ff:ff dev vmbr0
  33. post-up /sbin/ip -f inet6 route add default via 2607:5300:60:49ff:ff:ff:ff:ff
  34. pre-down /sbin/ip -f inet6 route del default via 2607:5300:60:49ff:ff:ff:ff:ff
  35. pre-down /sbin/ip -f inet6 route del 2607:5300:60:49ff:ff:ff:ff:ff dev vmbr0
Advertisement
Add Comment
Please, Sign In to add comment