Advertisement
gregmark

OpenStack or Bust, Part 8: cmpt node updated interfaces file

Mar 13th, 2013
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.82 KB | None | 0 0
  1. #############################################
  2. ### Compute 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.110
  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.110
  29.         netmask 255.255.255.0
  30.         bridge_ports eth1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement