From 43f4fe7b3a270b5590d0f083eebf437fbed945a6 Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Wed, 13 Feb 2019 16:52:52 +0000 Subject: [PATCH] Set appropriate default for vxlan multicast ttl Currently no default is set which means vlxan multicast traffic is dropped at the first L3 router. This patch increases the default to 32 which is sufficient for any reasonable network fabric and can be overridden if necessary. Without this patch vxlan project networks on a routed underlay network are not functional Change-Id: Iddf2e412b3d1f23362d94a7eabd8c062d68ae287 Closes-Bug: 1755790 --- defaults/main.yml | 3 +++ templates/plugins/ml2/linuxbridge_agent.ini.j2 | 1 + 2 files changed, 4 insertions(+) diff --git a/defaults/main.yml b/defaults/main.yml index 6a567c66..8be0f80e 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -372,6 +372,9 @@ neutron_vxlan_enabled: true ## The neutron multicast group address. This should be set as a host variable if used. neutron_vxlan_group: "239.1.1.1" +# The neutron multicast time-to-live. Number of L3 hops before routers will drop the traffic +neutron_vxlan_ttl: 32 + neutron_sriov_excluded_devices: "" # neutron_local_ip is used for the VXLAN local tunnel endpoint diff --git a/templates/plugins/ml2/linuxbridge_agent.ini.j2 b/templates/plugins/ml2/linuxbridge_agent.ini.j2 index 553561c5..83b01523 100644 --- a/templates/plugins/ml2/linuxbridge_agent.ini.j2 +++ b/templates/plugins/ml2/linuxbridge_agent.ini.j2 @@ -16,6 +16,7 @@ vxlan_group = {{ neutron_vxlan_group }} # VXLAN local tunnel endpoint local_ip = {{ neutron_local_ip }} l2_population = {{ neutron_plugins[neutron_plugin_type].l2_population }} +ttl = {{ neutron_vxlan_ttl }} {% else %}