Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Help With Packstack All-in-one External Access and 2 Network Interfaces

I've followed the guide from RDO "Neutron with existing external network" found here and I was able to install packstack using packstack --allinone --provision-all-in-one-ovs-bridge=n without any errors on my CentOS 6.5 host.

My server has a dual network interface card where port-1 is connected to 192.168.1.0/24 and port-2 is connected to 10.10.10.0/24. I would like my VMs to access the external network through port-2 (10.10.10.0/24) and have everything else use port-1(192.168.1.0/24).

So far I've configured eth0 and 192.168.1.1 as my default gateway and eth1 as an Open-VSwitch port to br-ex (just like the guide). Then I set up my br-ex Open-VSwitch port to use my 10.10.10.0/24 network. Here's my eth1 and br-ex interface config:

DEVICE=eth1
HWADDR=XX:XX:XX:XX:XX:XX
TYPE=OVSPort
DEVICETYPE=ovs
OVS_BRIDGE=br-ex
ONBOOT=yes

DEVICE=br-ex
DEVICETYPE=ovs
TYPE=OVSBridge
BOOTPROTO=static
IPADDR=10.10.10.201
NETMASK=255.255.255.0
DNS1=10.10.10.1
ONBOOT=yes

After a network service restart, I see that all interfaces are brought online, but I'm not able to ping 10.10.10.201 from my desktop. Running ovs-vsctl show gives the response: Note that I am able to ping other systems on my 10.10.10.0/24 subnet, so I know my LAN is working correctly.

6d4c71a2-b1d3-44d9-8b27-4b3970cf7e1e

   Bridge br-ex
      Port "eth1"
         Interface "eth1"
      Port br-ex
         Interface br-ex
            type: internal

   Bridge br-int
      Port int-br-ex
         Interface int-br-ex
      Port br-int
         Interface br-int
            type: internal
   ovs_version: "1.11.0"

Any ideas to get connectivity to br-ex? Did I miss something? Do I need to set up some policy based routing to reach br-ex?