gregmark

OpenStack or Bust, Part 7: net node updated interfaces file

Mar 11th, 2013
279
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #############################################
  2. ### Network Node: /etc/network/interfaces ###
  3. #############################################
  4.  
  5. # The loopback network interface
  6. auto lo
  7. iface lo inet loopback
  8.  
  9. # Mgmt Network
  10. auto eth0
  11. iface eth0 inet static
  12.     address 192.168.241.99
  13.     netmask 255.255.255.0
  14.     network 192.168.241.0
  15.     broadcast 192.168.241.255
  16.     gateway 192.168.241.1
  17.     dns-nameservers 192.168.241.10 10.0.164.97 10.0.161.19
  18.  
  19. # VM Config Network
  20. auto eth1
  21. iface eth1 inet manual
  22.         up ifconfig $IFACE 0.0.0.0 up
  23.         up ip link set $IFACE promisc on
  24.         down ip link set $IFACE promisc off
  25.         down ifconfig $IFACE down
  26. auto br-eth1
  27. iface br-eth1 inet static
  28.         address 192.168.239.99
  29.         netmask 255.255.255.0
  30.         bridge_ports eth1
  31.  
  32. # Public Network
  33. auto eth2
  34. iface eth2 inet manual
  35.     up ifconfig $IFACE 0.0.0.0 up
  36.     up ip link set $IFACE promisc on
  37.     down ip link set $IFACE promisc off
  38.     down ifconfig $IFACE down
  39. auto br-ex
  40. iface br-ex inet static
  41.     address 10.0.165.92
  42.     netmask 255.255.252.0
  43.     bridge_ports eth2
  44.  
  45. ###
  46. ### http://chavezy.wordpress.com/2013/03/02/openstack-or-bust-part-1/
  47. ###
RAW Paste Data