[openstack-dev] multiple external networks mapped to the same l3 agent

ICHIBA Sara ichi.sara at gmail.com
Thu Aug 6 06:48:55 UTC 2015


hey there,

I'm trying to configure two external networks 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.

 You can find below my configuration. My problem is that I can't ping the
external gateways from my routers



root at OScontroller ~(keystone_admin)]# ovs-vsctl show
9b3e4cc7-6761-483e-a538-1a132734d1a5
    Bridge "br-eth2"
        Port "phy-br-eth2"
            Interface "phy-br-eth2"
                type: patch
                options: {peer="int-br-eth2"}
        Port "eth2"
            Interface "eth2"
        Port "br-eth2"
            Interface "br-eth2"
                type: internal
    Bridge br-tun
        Port br-tun
            Interface br-tun
                type: internal
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
        Port "vxlan-c0a80523"
            Interface "vxlan-c0a80523"
                type: vxlan
                options: {df_default="true", in_key=flow,
local_ip="192.168.5.34", out_key=flow, remote_ip="192.168.5.35"}
    Bridge br-int
        fail_mode: secure
        Port "tap61f76964-85"
            tag: 1
            Interface "tap61f76964-85"
                type: internal
        Port "tap599b2f77-21"
            tag: 4095
            Interface "tap599b2f77-21"
                type: internal
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port "qr-2b96e8b6-38"
            tag: 3
            Interface "qr-2b96e8b6-38"
                type: internal
        Port "qvo5cc221dc-e8"
            tag: 1
            Interface "qvo5cc221dc-e8"
        Port "qg-6bfc1340-c6"
            tag: 4
            Interface "qg-6bfc1340-c6"
                type: internal
        Port "int-br-eth2"
            Interface "int-br-eth2"
                type: patch
                options: {peer="phy-br-eth2"}
        Port "qr-047464e1-99"
            tag: 5
            Interface "qr-047464e1-99"
                type: internal
        Port "qg-7cbde2a0-f0"
            tag: 2
            Interface "qg-7cbde2a0-f0"
                type: internal
        Port "qr-9e50bd2e-fa"
            tag: 1
            Interface "qr-9e50bd2e-fa"
                type: internal
        Port "tapa383b7ae-99"
            tag: 3
            Interface "tapa383b7ae-99"
                type: internal
        Port int-br-ex
            Interface int-br-ex
                type: patch
                options: {peer=phy-br-ex}
        Port br-int
            Interface br-int
                type: internal
    Bridge br-ex
        Port br-ex
            Interface br-ex
                type: internal
        Port phy-br-ex
            Interface phy-br-ex
                type: patch
                options: {peer=int-br-ex}
        Port "eth0"
            Interface "eth0"
    ovs_version: "2.3.1"



[root at OScontroller openvswitch(keystone_admin)]# cat ovs_neutron_plugin.ini
| grep -v ^# | grep -v ^$
[ovs]
enable_tunneling = True
integration_bridge = br-int
tunnel_bridge = br-tun
local_ip =192.168.5.34
network_vlan_ranges = physnet1,physnet2
bridge_mappings =physnet1:br-ex,physnet2:br-eth2
[agent]
polling_interval = 2
tunnel_types =vxlan
vxlan_udp_port =4789
l2_population = False
arp_responder = False
enable_distributed_routing = False
[securitygroup]
firewall_driver =
neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver




[root at OScontroller neutron(keystone_admin)]#  cat plugin.ini | grep -v ^# |
grep -v ^$
[ml2]
type_drivers = vxlan
tenant_network_types = vxlan
mechanism_drivers =openvswitch
[ml2_type_flat]
[ml2_type_vlan]
[ml2_type_gre]
[ml2_type_vxlan]
vni_ranges =10:100
vxlan_group =224.0.0.1
[securitygroup]
enable_security_group = True





[root at OScontroller neutron(keystone_admin)]#  cat l3_agent.ini | grep -v ^#
| grep -v ^$
[DEFAULT]
debug = False
interface_driver =neutron.agent.linux.interface.OVSInterfaceDriver
use_namespaces = True
handle_internal_only_routers = True
external_network_bridge = br-ex
metadata_port = 9697
send_arp_for_ha = 3
periodic_interval = 40
periodic_fuzzy_delay = 5
enable_metadata_proxy = True
router_delete_namespaces = False
agent_mode = legacy
allow_automatic_l3agent_failover=False
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150806/3c7f925a/attachment.html>


More information about the OpenStack-dev mailing list