tianwei

storage node network configuration

Nov 30th, 2016
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.40 KB | None | 0 0
  1. # This is a single-NIC configuration to implement the required bridges
  2. # for OpenStack-Ansible. This illustrates the configuration of the first
  3. # Infrastructure host and the IP addresses assigned should be adapted
  4. # for implementation on the other hosts.
  5. #
  6. # After implementing this configuration, the host will need to be
  7. # rebooted.
  8.  
  9. # Physical interface
  10. auto eth0
  11. iface eth0 inet manual
  12.  
  13. # Container/Host management VLAN interface
  14. auto eth0.10
  15. iface eth0.10 inet manual
  16. vlan-raw-device eth0
  17.  
  18. # OpenStack Networking VXLAN (tunnel/overlay) VLAN interface
  19. auto eth0.30
  20. iface eth0.30 inet manual
  21. vlan-raw-device eth0
  22.  
  23. # Storage network VLAN interface (optional)
  24. auto eth0.20
  25. iface eth0.20 inet manual
  26. vlan-raw-device eth0
  27.  
  28. # Container/Host management bridge
  29. auto br-mgmt
  30. iface br-mgmt inet static
  31. bridge_stp off
  32. bridge_waitport 0
  33. bridge_fd 0
  34. bridge_ports eth0.10
  35. address 172.29.236.13
  36. netmask 255.255.252.0
  37.  
  38. # OpenStack Networking VXLAN (tunnel/overlay) bridge
  39. #
  40. # Only the COMPUTE and NETWORK nodes must have an IP address
  41. # on this bridge. When used by infrastructure nodes, the
  42. # IP addresses are assigned to containers which use this
  43. # bridge.
  44. #
  45. auto br-vxlan
  46. iface br-vxlan inet manual
  47. bridge_stp off
  48. bridge_waitport 0
  49. bridge_fd 0
  50. bridge_ports eth0.30
  51.  
  52. # compute1 VXLAN (tunnel/overlay) bridge config
  53. #auto br-vxlan
  54. #iface br-vxlan inet static
  55. # bridge_stp off
  56. # bridge_waitport 0
  57. # bridge_fd 0
  58. # bridge_ports eth0.30
  59. # address 172.29.240.12
  60. # netmask 255.255.252.0
  61.  
  62. # OpenStack Networking VLAN bridge
  63. auto br-vlan
  64. iface br-vlan inet static
  65. bridge_stp off
  66. bridge_waitport 0
  67. bridge_fd 0
  68. bridge_ports eth0
  69. address 192.168.66.13
  70. netmask 255.255.255.0
  71. gateway 192.168.66.1
  72. dns-nameservers 8.8.8.8 8.8.4.4
  73. # Storage bridge (optional)
  74. #
  75. # Only the COMPUTE and STORAGE nodes must have an IP address
  76. # on this bridge. When used by infrastructure nodes, the
  77. # IP addresses are assigned to containers which use this
  78. # bridge.
  79. #
  80. #auto br-storage
  81. #iface br-storage inet manual
  82. # bridge_stp off
  83. # bridge_waitport 0
  84. # bridge_fd 0
  85. # bridge_ports eth0.20
  86.  
  87. # compute1 Storage bridge
  88. auto br-storage
  89. iface br-storage inet static
  90. bridge_stp off
  91. bridge_waitport 0
  92. bridge_fd 0
  93. bridge_ports eth0.20
  94. address 172.29.244.13
  95. netmask 255.255.252.0
Advertisement
Add Comment
Please, Sign In to add comment