my instance doesn't have internet

asked 2020-05-16 09:00:50 -0600

hhami79 gravatar image

updated 2020-05-16 11:53:35 -0600

i installed openstack train on centos 7 with two node i launched an instance on self service network and assigned an floating ip,

my instance canping both router gateway but can't ping internet or external net

and i can't ping "external interface of router" or "instance float ip" from external network.

i have only ping on controller node

linuxbridge-agent.conf :

[DEFAULT]
[linux_bridge]
physical_interface_mappings = provider:ens224
[vxlan]
enable_vxlan = true
local_ip = 192.168.200.140 # management interface ip
l2_population = true
[securitygroup]
enable_security_group = true

ml2 conf :

[DEFAULT]
[ml2]
type_drivers = flat,vlan,vxlan
tenant_network_types = vxlan
mechanism_drivers = linuxbridge,l2population
extension_drivers = port_security
[ml2_type_flat]
# ...
flat_networks = provider
[ml2_type_vxlan]
vni_ranges = 1:1000
[securitygroup]
enable_ipset = true
    firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver

i installed neutron network option 2 according docs,openstack,org/neutron/train

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2020-05-16 14:33:06 -0600

crono782 gravatar image

I see your physical_interface_mappings interface rather than a bridge in in linuxbridge-agent.conf, It should be a bridge, not an interface. Here is my working config (ovs instead of linuxbridge and I use a dedicated network node, but close enough):

ml2_conf.ini

[DEFAULT]
[ml2]
extension_drivers = port_security
mechanism_drivers = openvswitch,l2population
tenant_network_types = vxlan
type_drivers = flat,vlan,vxlan
[ml2_type_flat]
flat_networks = provider
[ml2_type_vxlan]
vni_ranges = 1:1000
[securitygroup]
enable_ipset = true

openvswitch_agent.ini

[DEFAULT]
[ovs]
local_ip = 10.10.20.102
bridge_mappings = provider:br-provider
[agent]
l2_population = True
tunnel_types = vxlan
[securitygroup]
firewall_driver = iptables_hybrid
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2020-05-16 09:00:50 -0600

Seen: 54 times

Last updated: May 16