<div dir="ltr"><div><div>hey there,<br><br></div>I'm trying to configure two provider network for openstack. I'm using the same l3 agent. the first external network is connected to eth1 via br-eth1 and the second is connected to eth0 via br-ex. <br><br></div><div> You can find below my configuration. My problem is that I can't ping the external gateways from my routers<br><br>=============[root@localhost ~]# ovs-vsctl show<br>03e9d933-8477-46eb-8718-0b4c11c0968d<br>    Bridge "br-eth1"<br>        Port "phy-br-eth1"<br>            Interface "phy-br-eth1"<br>                type: patch<br>                options: {peer="int-br-eth1"}<br>        Port "eth1"<br>            Interface "eth1"<br>        Port "br-eth1"<br>            Interface "br-eth1"<br>                type: internal<br>    Bridge br-int<br>        fail_mode: secure<br>        Port "int-br-eth1"<br>            Interface "int-br-eth1"<br>                type: patch<br>                options: {peer="phy-br-eth1"}<br>        Port "qvod5cf0403-f0"<br>            tag: 2<br>            Interface "qvod5cf0403-f0"<br>        Port "tap56770cf6-b4"<br>            tag: 2<br>            Interface "tap56770cf6-b4"<br>                type: internal<br>        Port br-int<br>            Interface br-int<br>                type: internal<br>        Port "tape1cc9d1e-27"<br>            tag: 1<br>            Interface "tape1cc9d1e-27"<br>                type: internal<br>        Port "qg-ab484fdf-8a"<br>            tag: 3<br>            Interface "qg-ab484fdf-8a"<br>                type: internal<br>        Port "qr-2c33255e-e5"<br>            tag: 1<br>            Interface "qr-2c33255e-e5"<br>                type: internal<br>        Port int-br-ex<br>            Interface int-br-ex<br>                type: patch<br>                options: {peer=phy-br-ex}<br>        Port "qr-8a30f016-85"<br>            tag: 2<br>            Interface "qr-8a30f016-85"<br>                type: internal<br>        Port "qg-559f3ce6-f8"<br>            tag: 4<br>            Interface "qg-559f3ce6-f8"<br>                type: internal<br>        Port patch-tun<br>            Interface patch-tun<br>                type: patch<br>                options: {peer=patch-int}<br>    Bridge br-tun<br>        Port patch-int<br>            Interface patch-int<br>                type: patch<br>                options: {peer=patch-tun}<br>        Port br-tun<br>            Interface br-tun<br>                type: internal<br>    Bridge br-ex<br>        Port phy-br-ex<br>            Interface phy-br-ex<br>                type: patch<br>                options: {peer=int-br-ex}<br>        Port "eth0"<br>            Interface "eth0"<br>        Port br-ex<br>            Interface br-ex<br>                type: internal<br>    ovs_version: "2.3.1"<br><br><br>===========[root@localhost openvswitch]# cat ovs_neutron_plugin.ini | grep -v ^# | grep -v ^$<br>[ovs]<br>enable_tunneling = True<br>network_vlan_ranges = physnet1,physnet2<br>bridge_mappings = physnet1:br-ex,physnet2:br-eth1<br>integration_bridge = br-int<br>tunnel_bridge = br-tun<br>local_ip =192.168.5.233<br>[agent]<br>polling_interval = 2<br>tunnel_types =vxlan<br>vxlan_udp_port =4789<br>l2_population = False<br>arp_responder = False<br>enable_distributed_routing = False<br>[securitygroup]<br>firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver<br><br>===========[root@localhost neutron]# cat plugin.ini | grep -v ^# | grep -v ^$<br>[ml2]<br>type_drivers = vxlan<br>tenant_network_types = vxlan<br>mechanism_drivers =openvswitch<br>[ml2_type_flat]<br>[ml2_type_vlan]<br>[ml2_type_gre]<br>[ml2_type_vxlan]<br>vni_ranges =10:100<br>vxlan_group =224.0.0.1<br>[securitygroup]<br>enable_security_group = True<br>[ovs]<br>network_vlan_ranges = physnet1,physnet2<br>bridge_mappings = physnet1:br-ex,physnet2:br-eth2<br><br><br>=========[root@localhost neutron]# cat l3_agent.ini | grep -v ^# | grep -v ^$<br>[DEFAULT]<br>debug = False<br>interface_driver =neutron.agent.linux.interface.OVSInterfaceDriver<br>use_namespaces = True<br>handle_internal_only_routers = True<br>metadata_port = 9697<br>send_arp_for_ha = 3<br>periodic_interval = 40<br>periodic_fuzzy_delay = 5<br>enable_metadata_proxy = True<br>router_delete_namespaces = False<br>agent_mode = legacy<br>allow_automatic_l3agent_failover=False<br><br><br>=========root@localhost ~(keystone_admin)]# ip netns exec qrouter-4b6bf66a-296e-4cc1-ba0f-1b88a9ed621a ip a<br>1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN<br>    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00<br>    inet <a href="http://127.0.0.1/8">127.0.0.1/8</a> scope host lo<br>       valid_lft forever preferred_lft forever<br>    inet6 ::1/128 scope host<br>       valid_lft forever preferred_lft forever<br>29: qr-8a30f016-85: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN<br>    link/ether fa:16:3e:9e:6a:e0 brd ff:ff:ff:ff:ff:ff<br>    inet <a href="http://20.0.0.1/24">20.0.0.1/24</a> brd 20.0.0.255 scope global qr-8a30f016-85<br>       valid_lft forever preferred_lft forever<br>    inet6 fe80::f816:3eff:fe9e:6ae0/64 scope link<br>       valid_lft forever preferred_lft forever<br>42: qg-559f3ce6-f8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN<br>    link/ether fa:16:3e:c5:c5:3d brd ff:ff:ff:ff:ff:ff<br>    inet <a href="http://192.168.31.71/24">192.168.31.71/24</a> brd 192.168.31.255 scope global qg-559f3ce6-f8<br>       valid_lft forever preferred_lft forever<br>    inet <a href="http://192.168.31.70/32">192.168.31.70/32</a> brd 192.168.31.70 scope global qg-559f3ce6-f8<br>       valid_lft forever preferred_lft forever<br>    inet6 fe80::f816:3eff:fec5:c53d/64 scope link<br>       valid_lft forever preferred_lft forever<br><br><br><br>============[root@localhost neutron]# ip netns exec qrouter-e8040286-4aef-4875-b0e1-acc1c5e2e71a ip a<br>1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN<br>    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00<br>    inet <a href="http://127.0.0.1/8">127.0.0.1/8</a> scope host lo<br>       valid_lft forever preferred_lft forever<br>    inet6 ::1/128 scope host<br>       valid_lft forever preferred_lft forever<br>14: qr-2c33255e-e5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN<br>    link/ether fa:16:3e:11:49:d8 brd ff:ff:ff:ff:ff:ff<br>    inet <a href="http://10.0.0.1/24">10.0.0.1/24</a> brd 10.0.0.255 scope global qr-2c33255e-e5<br>       valid_lft forever preferred_lft forever<br>    inet6 fe80::f816:3eff:fe11:49d8/64 scope link<br>       valid_lft forever preferred_lft forever<br>15: qg-ab484fdf-8a: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN<br>    link/ether fa:16:3e:51:fb:16 brd ff:ff:ff:ff:ff:ff<br>    inet <a href="http://192.168.5.240/24">192.168.5.240/24</a> brd 192.168.5.255 scope global qg-ab484fdf-8a<br>       valid_lft forever preferred_lft forever<br>    inet6 fe80::f816:3eff:fe51:fb16/64 scope link<br>       valid_lft forever preferred_lft forever<br><br>=====[root@localhost neutron]# cat /etc/sysconfig/network-scripts/ifcfg-eth0<br>DEVICE=eth0<br>HWADDR=00:0c:29:0a:d1:16<br>DEVICETYPE=ovs<br>OVS_BRIDGE=br-ex<br>ONBOOT=yes<br>TYPE=OVSPort<br>NM_CONTROLLED=yes<br><br><br>===== [root@localhost neutron]# cat /etc/sysconfig/network-scripts/ifcfg-br-ex<br>DEVICE=br-ex<br>DEVICETYPE=ovs<br>TYPE=OVSBridge<br>BOOTPROTO=static<br>IPADDR=192.168.5.233<br>NETMASK=255.255.255.0<br>ONBOOT=yes<br>GATEWAY=192.168.5.1<br>DNS1=8.8.8.8<br>DNS2=192.168.5.1<br><br><br>========[root@localhost neutron]# cat /etc/sysconfig/network-scripts/ifcfg-br-eth1<br>DEVICE=br-eth1<br>DEVICETYPE=ovs<br>TYPE=OVSBridge<br>BOOTPROTO=static<br>IPADDR=192.168.31.233<br>NETMASK=255.255.255.0<br>ONBOOT=yes<br>GATEWAY=192.168.31.1<br>DNS1=8.8.8.8<br><br><br>=====[root@localhost neutron]# cat /etc/sysconfig/network-scripts/ifcfg-eth1<br>DEVICE=eth1<br>HWADDR=00:0c:29:0a:d1:20<br>DEVICETYPE=ovs<br>OVS_BRIDGE=br-eth1<br>ONBOOT=yes<br>TYPE=OVSPort<br>NM_CONTROLLED=yes<br><br><br><br></div><div>In advance,thank you for your help<br></div><div>B.regards,<br></div><div>Sara<br></div><div><br></div></div>