Instances not reachable from outside
Hey,
I've closely followed this guide to set up neutron after the installation with packstack: https://www.rdoproject.org/networking/neutron-with-existing-external-network/ (Neutron with existing external network)
When I look at my network topology, everything seems to look fine, yet I failed to reach my Instances from my external network so far. Here is my configuration:
$cat /etc/sysconfig/network-scripts/ifcfg-em4
NAME="em4"
DEVICE="em4"
HWADDR=44:44:42:55:66:77
TYPE=OVSPort
DEVICETYPE=ovs
OVS_BRIDGE=br-ex
ONBOOT="yes"
-
$ cat /etc/sysconfig/network-scripts/ifcfg-br-ex
DEVICE=br-ex
DEVICETYPE=ovs
TYPE=OVSBridge
BOOTPROTO=static
IPADDR=10.0.0.250
NETMASK=255.255.255.0 # your netmask
GATEWAY=10.0.0.138 # your gateway
DNS1=8.8.8.8 # your nameserver
ONBOOT=yes
-
sudo openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini ovs bridge_mappings extnet:br-ex
sudo openstack-config --set /etc/neutron/plugin.ini ml2 type_drivers vxlan,flat,vlan
-
neutron net-create external_network --provider:network_type flat --provider:physical_network extnet --router:external --shared
neutron subnet-create --name public_subnet --dns-nameservers list=true 8.8.8.8 8.8.4.4 --enable_dhcp=False --allocation-pool=start=10.0.0.200,end=10.0.0.249 --gateway=10.0.0.138 external_network 10.0.0.0/24
neutron net-create private_network
neutron subnet-create --name private_subnet --dns-nameservers list=true 8.8.8.8 8.8.4.4 private_network 192.168.100.0/24
neutron router-create router1
neutron router-interface-add router1 private_subnet
neutron router-gateway-set router1 external_network
-
$ovs-vsctl show
Bridge br-int
fail_mode: secure
Port "tap2fd8b0ff-f4"
tag: 1
Interface "tap2fd8b0ff-f4"
type: internal
Port int-br-ex
Interface int-br-ex
type: patch
options: {peer=phy-br-ex}
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port br-int
Interface br-int
type: internal
Bridge br-ex
Port phy-br-ex
Interface phy-br-ex
type: patch
options: {peer=int-br-ex}
Port "em4"
Interface "em4"
Port br-ex
Interface br-ex
type: internal
Bridge br-tun
fail_mode: secure
Port br-tun
Interface br-tun
type: internal
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
ovs_version: "2.4.0"
Any ideas? :)
Hi, Please try by updating file vim /etc/sysconfig/network-scripts/ifcfg-br-ex,
What is the difference to OVSPort?