Advertisement
gregmark

OpenStack or Bust, Part 4: node interfaces

Mar 3rd, 2013
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.75 KB | None | 0 0
  1. # iface lo excluded
  2. # NB: in case you're wondering, pn=public_net and sn=storage_net. The trailing "i" indicates infrastructure as opposed to development, quality_assurance, continuous_integration, research, etc. The pn/sn code simply indicates where the box's default gw is. As I intend to segregate the mgmt and storage traffic, sn will soon become a misnomer. Oh well.
  3.  
  4. ####
  5. #### CONTROLLER NODE (kcon-pn-01i) ####
  6. # Public Network
  7. auto eth0
  8.         iface eth0 inet static
  9.         address 10.0.164.75
  10.         netmask 255.255.252.0
  11.         gateway 10.0.164.1
  12.         broadcast 10.0.167.255
  13.         dns-nameservers 10.0.164.97 10.0.161.19
  14.  
  15. # Mgmt Network
  16. auto eth1
  17. iface eth1 inet static
  18.         address 192.168.241.100
  19.         netmask 255.255.255.0
  20.         network 192.168.241.0
  21.  
  22. ####
  23. #### NETWORK NODE (knet-sn-01i) ####
  24. # Mgmt Network
  25. auto eth0
  26. iface eth0 inet static
  27.     address 192.168.241.99
  28.     netmask 255.255.255.0
  29.     network 192.168.241.0
  30.     broadcast 192.168.241.255
  31.     gateway 192.168.241.1
  32.     dns-nameservers 192.168.241.10 10.0.164.97 10.0.161.19
  33.  
  34. # VM Config Network
  35. auto eth1
  36. iface eth1 inet static
  37.     address 192.168.239.99
  38.     netmask 255.255.255.0
  39.     network 192.168.239.0
  40.  
  41. # Public Network
  42. auto eth2
  43. iface eth2 inet static
  44.     address 10.0.165.92
  45.     netmask 255.255.252.0
  46.     network 10.0.164.0
  47.  
  48. ####
  49. #### Compute Node #1 ####
  50. # Mgmt Network
  51. auto eth0
  52. iface eth0 inet static
  53.         address 192.168.241.110
  54.         netmask 255.255.255.0
  55.         network 192.168.241.0
  56.         broadcast 192.168.241.255
  57.         gateway 192.168.241.1
  58.         dns-nameservers 192.168.241.10 10.0.164.97 10.0.161.19
  59.  
  60. # VM Config Network
  61. auto eth1
  62. iface eth1 inet static
  63.         address 192.168.239.110
  64.         netmask 255.255.255.0
  65.         network 192.168.239.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement