Guest User

Untitled

a guest
May 9th, 2018
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. # network interface settings; autogenerated
  2. # Please do NOT modify this file directly, unless you know what
  3. # you're doing.
  4. #
  5. # If you want to manage part of the network configuration manually,
  6. # please utilize the 'source' or 'source-directory' directives to do
  7. # so.
  8. # PVE will preserve these directives, but will NOT its network
  9. # configuration from sourced files, so do not attempt to move any of
  10. # the PVE managed interfaces into external files!
  11.  
  12. auto lo
  13. iface lo inet loopback
  14.  
  15. auto eth0
  16. iface eth0 inet manual
  17.  
  18. iface eth1 inet static
  19. address FO-IP
  20. netmask 255.255.255.255
  21. broadcast FO-IP.255
  22. gateway FO-IP.254
  23. post-up route add FO-IP.254 dev eth1
  24. post-up route add default gw FO-IP.254
  25. pre-down route del FO-IP.254 dev eth1
  26. pre-down route del default gw FO-IP.254
  27.  
  28. auto vmbr1
  29. iface vmbr1 inet manual
  30. bridge_ports dummy0
  31. bridge_stp off
  32. bridge_fd 0
  33.  
  34. auto vmbr0
  35. iface vmbr0 inet static
  36. address PROXMOX-IP
  37. netmask 255.255.255.0
  38. gateway PROXMOX-GATEWAY
  39. bridge_ports eth0
  40. bridge_stp off
  41. bridge_fd 0
  42.  
  43. auto vmbr172
  44. iface vmbr172 inet static
  45. address FO-IP.56
  46. netmask 255.255.255.248
  47. bridge_ports eth1
  48. bridge_stp off
  49. bridge_fd 0
  50. post-up route add FO-IP.254 dev vmbr172
  51. post-up route add default gw FO-IP.254
  52. pre-down route del FO-IP.254 dev vmbr172
  53. pre-down route del default gw FO-IP.254
Advertisement
Add Comment
Please, Sign In to add comment