can't ping external router gateway

asked 2020-05-20 01:37:50 -0500

hhami79 gravatar image

updated 2020-05-20 13:51:50 -0500

i installed openstack train on CentOS 8 with two node (controller & compute node) i can't ping external router gateway or instance float ips from external net. but i have ping on controller. my instances dos not have internet or ping external net.

my ml2 config :

[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

my openvswitch agent config :

[DEFAULT]
[ovs]
local_ip = 192.168.200.140
bridge_mappings = provider:br-provider
[agent]
l2_population = True
tunnel_types = vxlan
[securitygroup]
firewall_driver = iptables_hybrid

my l3 agent config :

[DEFAULT]
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver

my dhcp agent config ;

[DEFAULT]
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq
enable_isolated_metadata = True

[root@controller ~]# ovs-vsctl show

15f70f2e-8f4f-4724-b6fc-9352ef131b55
    Manager "ptcp:6640:127.0.0.1"
        is_connected: true
    Bridge br-tun
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        datapath_type: system
        Port br-tun
            Interface br-tun
                type: internal
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
    Bridge br-provider
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        datapath_type: system
        Port phy-br-provider
            Interface phy-br-provider
                type: patch
                options: {peer=int-br-provider}
        Port "ens224"
            Interface "ens224"
        Port br-provider
            Interface br-provider
                type: internal
    Bridge br-int
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        datapath_type: system
        Port br-int
            Interface br-int
                type: internal
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port "tapcbb70755-80"
            tag: 1
            Interface "tapcbb70755-80"
                type: internal
        Port int-br-provider
            Interface int-br-provider
                type: patch
                options: {peer=phy-br-provider}
    ovs_version: "2.12.0"

my controller runs on esxi i tried to install controrller node on physical server and i tried with install with network node but have same issu

edit retag flag offensive close merge delete