Advertisement
TadiosAbebe

netplan

Jul 18th, 2023
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. the infra01 will have .11 ip compute .21 and storage .31
  2. network:
  3. ethernets:
  4. eno1: {}
  5. eno2: {}
  6. eno3: {}
  7. eno4: {}
  8. bonds:
  9. bond0: # Management and storage
  10. interfaces:
  11. - eno1
  12. - eno3
  13. mtu: 9000
  14. parameters:
  15. lacp-rate: fast
  16. mii-monitor-interval: 100
  17. transmit-hash-policy: layer3+4
  18. mode: active-backup
  19. primary: eno1
  20. bond1: # Provider and tenant
  21. interfaces:
  22. - eno2
  23. - eno4
  24. mtu: 9000
  25. parameters:
  26. lacp-rate: fast
  27. mii-monitor-interval: 100
  28. transmit-hash-policy: layer3+4
  29. mode: active-backup
  30. primary: eno2
  31. vlans:
  32. bond0.10: # Management VLAN
  33. id: 10
  34. link: bond0
  35. bond0.20: # Openstack Storage and CEPH public network VLAN
  36. id: 20
  37. link: bond0
  38. bond1.30: # Tunnel (VXLAN) Network
  39. id: 30
  40. link: bond1
  41. bridges:
  42. br-mgmt: # Container/Host management bridge
  43. addresses:
  44. - 172.29.236.11/22
  45. interfaces:
  46. - bond0.10
  47. mtu: 9000
  48. gateway4: 172.29.236.1
  49. nameservers:
  50. addresses:
  51. - 8.8.8.8
  52. - 8.8.4.4
  53. search:
  54. - sys.zergaw.com
  55. br-storage: # Storage bridge
  56. addresses:
  57. - 172.29.244.11/22
  58. interfaces:
  59. - bond0.20
  60. mtu: 9000
  61. br-vxlan: # Networking VXLAN (tunnel/overlay) bridge
  62. addresses:
  63. - 172.29.240.11/22
  64. interfaces:
  65. - bond1.30
  66. mtu: 9000
  67. br-vlan: # Networking provider
  68. interfaces:
  69. - bond1
  70. mtu: 9000
  71. version: 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement