How to configure packstack answer file for multiple NIC for test VMware setup

asked 2014-10-28 21:17:06 -0500

ChocMonk gravatar image

Hi I'd like to use Packstack to setup OS on a Centos 6.5 VM in VMWare. I've been able to run Devstack successfully on an ubuntu instance but having trouble translating the local.conf network directives to packstack. The VMWare networks used for the ubutntu Vm are as follows:

eth0 NAT
eth1 NAT vmnet2 (subnet IP 192.168.27.0)
eth2 NAT vmnet3 (subnet IP 172.24.4.0)

and the local.conf for Devstack snippet :

HOST_IP=192.168.27.100
HOST_IP_IFACE=eth1
SERVICE_HOST=192.168.27.100
PUBLIC_NETWORK_GATEWAY=172.24.4.2
FLOATING_RANGE=172.24.4.0/24
Q_FLOATING_ALLOCATION_POOL=start=172.24.4.4,end=172.24.4.24

In case it helps here's what ifconfig shows on the ubuntu OS VM:

br-ex     Link encap:Ethernet  HWaddr 00:0c:29:f6:4e:76  
          inet addr:172.24.4.2  Bcast:0.0.0.0  Mask:255.255.255.0
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:648 (648.0 B)  TX bytes:828 (828.0 B)

br-int    Link encap:Ethernet  HWaddr 02:b5:78:e9:59:4e  
          inet6 addr: fe80::2c1b:52ff:fe16:2245/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:648 (648.0 B)

eth0      Link encap:Ethernet  HWaddr 00:0c:29:f6:4e:62  
          inet addr:172.16.46.178  Bcast:172.16.46.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:29ff:fef6:4e62/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:81 errors:0 dropped:0 overruns:0 frame:0
          TX packets:101 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:9485 (9.4 KB)  TX bytes:9292 (9.2 KB)

eth1      Link encap:Ethernet  HWaddr 00:0c:29:f6:4e:6c  
          inet addr:192.168.27.100  Bcast:192.168.27.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:29ff:fef6:4e6c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:38 errors:0 dropped:0 overruns:0 frame:0
          TX packets:42 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:6395 (6.3 KB)  TX bytes:6755 (6.7 KB)

eth2      Link encap:Ethernet  HWaddr 00:0c:29:f6:4e:76  
          inet6 addr: fe80::20c:29ff:fef6:4e76/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:758 (758.0 B)

lo ...
(more)
edit retag flag offensive close merge delete