tianwei

control node network configuration

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