instances can't ping outside
Hey all,
I'm aware that this question was asked many times but...bear with me please. My network configuration looks like this: http://imgur.com/fHAmbdc .
192.168.0.0/24 is my LAN network (my PC is connected to it) 10.0.0.0/24 is a subnet I created using Openstack dashboard.
Router1 has interface on 10.0.0.0/24 network active, while gateway interface is DOWN. Every service is up and running with no errors in logs.
My deployment consists of 3 servers following the official centos 7 install guide for juno: http://docs.openstack.org/juno/install-guide/install/yum/content/ (http://docs.openstack.org/juno/instal...)
This is OVS-VSCTL output
ovs-vsctl show
158b1140-29eb-436e-9218-f31160be1c65
Bridge br-int
fail_mode: secure
Port br-int
Interface br-int
type: internal
Port "qr-4856ff41-2d"
tag: 3
Interface "qr-4856ff41-2d"
type: internal
Port "tap69ce898f-47"
tag: 4095
Interface "tap69ce898f-47"
type: internal
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port "qr-a3efb45d-b0"
tag: 1
Interface "qr-a3efb45d-b0"
type: internal
Port "tap6344f8e2-f7"
tag: 3
Interface "tap6344f8e2-f7"
type: internal
Port int-br-ex
Interface int-br-ex
type: patch
options: {peer=phy-br-ex}
Bridge br-ex
Port phy-br-ex
Interface phy-br-ex
type: patch
options: {peer=int-br-ex}
Port "qg-bb37d248-47"
Interface "qg-bb37d248-47"
type: internal
Port "eth2"
Interface "eth2"
Port br-ex
Interface br-ex
type: internal
Port "qg-0eec4ee3-cf"
Interface "qg-0eec4ee3-cf"
type: internal
Bridge br-tun
Port br-tun
Interface br-tun
type: internal
Port "gre-0a00011f"
Interface "gre-0a00011f"
type: gre
options: {df_default="true", in_key=flow, local_ip="10.0.1.21", out_key=flow, remote_ip="10.0.1.31"}
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
ovs_version: "2.1.3"
ip route output
ip route
default via 192.168.0.1 dev eth0
10.0.1.0/24 dev eth1 proto kernel scope link src 10.0.1.21
192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.215
192.168.0.0/24 dev br-ex proto kernel scope link src 192.168.0.217
ifcfg-br-ex interface
DEVICE=br-ex
DEVICETYPE=ovs
TYPE=OVSBridge
BOOTPROTO=static
IPADDR=192.168.0.217
NETMASK=255.255.255.0
GATEWAY=192.168.0.1
DNS1=192.168.0.200
ONBOOT=yes
ifcfg-eth2 interface
DEVICE=eth2
HWADDR="00:15:5D:00:66:d3"
TYPE=OVSPort
DEVICETYPE=ovs
OVS_BRIDGE=br-ex
ONBOOT=yes
NAME=System eth2
Instances can ping each other but are unable to ping 192.168.0.1 which is the default gateway for ext-net. If you need any more info, please ask, I'll be happy to provide it.
Check that your router namespace has both network connections created, On your controller, use: $ ip netns To see all of the namespaces $ ip netns exec <qrotuer-uuid> ip a This will list the network interfaces in that particular namespace, you should see and interface on each network.
are you using nova-network or neutron?