Advertisement
xrobau

Proxmox OVS Sample Config

Nov 30th, 2022
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. # Proxmox OVS configuation
  2.  
  3. source /etc/network/interfaces.d/*
  4.  
  5. auto lo
  6. iface lo inet loopback
  7.  
  8. auto ens1f0
  9. iface ens1f0 inet manual
  10. mtu 9000
  11.  
  12. auto ens1f1
  13. iface ens1f1 inet manual
  14. mtu 9000
  15.  
  16. auto ens2f0
  17. iface ens2f0 inet manual
  18. mtu 9000
  19.  
  20. auto ens2f1
  21. iface ens2f1 inet manual
  22. mtu 9000
  23.  
  24. iface eno1 inet manual
  25.  
  26. iface eno2 inet manual
  27.  
  28. iface eno3 inet manual
  29.  
  30. iface eno4 inet manual
  31.  
  32. auto vlan100
  33. iface vlan100 inet static
  34. address 172.24.0.1/24
  35. gateway 172.24.0.254
  36. ovs_type OVSIntPort
  37. ovs_bridge vmbr0
  38. ovs_mtu 1500
  39. ovs_options tag=100
  40. #Mgmt
  41.  
  42. auto bond0
  43. iface bond0 inet manual
  44. ovs_bonds ens1f0 ens1f1 ens2f0 ens2f1
  45. ovs_type OVSBond
  46. ovs_bridge vmbr0
  47. ovs_mtu 9000
  48. ovs_options bond_mode=balance-tcp lacp=active other_config:lacp-time=fast
  49.  
  50. auto vmbr0
  51. iface vmbr0 inet manual
  52. ovs_type OVSBridge
  53. ovs_ports bond0 vlan100
  54. ovs_mtu 9000
  55.  
  56. auto vmbr1
  57. iface vmbr1 inet manual
  58. bridge-ports eno1
  59. bridge-stp off
  60. bridge-fd 0
  61. #mgmt-test
  62.  
  63. source /etc/network/interfaces.d/*.cfg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement