From d035daf6d9c7c8772995b4905a3000fac44bd6b1 Mon Sep 17 00:00:00 2001 From: Julian Labus Date: Sat, 4 May 2019 17:56:42 +0200 Subject: [PATCH] Role service-yanic: join link-local multicast on fastd interfaces --- roles/service-yanic/templates/respondd.conf.j2 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/roles/service-yanic/templates/respondd.conf.j2 b/roles/service-yanic/templates/respondd.conf.j2 index cfb3012..5105992 100644 --- a/roles/service-yanic/templates/respondd.conf.j2 +++ b/roles/service-yanic/templates/respondd.conf.j2 @@ -6,6 +6,22 @@ batman = [ {% for mesh in meshes %}"{{mesh.id}}bat"{% if not loop.last %}, {% en address = "ff05::2:1001" interface = "dom0br" port = 1001 +{% for mesh in meshes %} +{% if server_type == 'gateway' %} +{% for instance in mesh.fastd.nodes.instances %} +[[listen]] +address = "ff02::2:1001" +interface = "{{ mesh.id }}vpn-{{ instance.mtu }}" +port = 1001 +{% endfor %} +{% endif %} +{% for instance in mesh.fastd.backbone.instances %} +[[listen]] +address = "ff02::2:1001" +interface = "{{ mesh.id }}igvpn-{{ instance.mtu }}" +port = 1001 +{% endfor %} +{% endfor %} [defaults] node_id = ""