From 1c1e7830eaa4794db2b4f25aaea3488b31e1534f Mon Sep 17 00:00:00 2001 From: mortzu Date: Sun, 26 Sep 2021 14:27:17 +0200 Subject: [PATCH] l3roamd, mmfd: Fixed boot stability --- roles/l3roamd/templates/interfaces | 5 ++--- roles/mmfd/templates/interfaces | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/roles/l3roamd/templates/interfaces b/roles/l3roamd/templates/interfaces index 948813f3..3755074d 100644 --- a/roles/l3roamd/templates/interfaces +++ b/roles/l3roamd/templates/interfaces @@ -1,10 +1,9 @@ # {{ ansible_managed }} allow-hotplug l3roam0 -auto l3roam0 iface l3roam0 inet manual up ip link set $IFACE up down ip link set $IFACE down - post-up ip -6 r add {{ ipv6_babelmesh_network }} dev $IFACE table {{ ffhb_routing_table }} priority 16385 - post-up ip -6 r add {{ ipv6_babelclient_network }} dev $IFACE table {{ ffhb_routing_table }} priority 16385 + post-up ip -6 route add {{ ipv6_babelmesh_network }} dev $IFACE table {{ ffhb_routing_table }} priority 16385 + post-up ip -6 route add {{ ipv6_babelclient_network }} dev $IFACE table {{ ffhb_routing_table }} priority 16385 diff --git a/roles/mmfd/templates/interfaces b/roles/mmfd/templates/interfaces index dea96c08..abf6a5f9 100644 --- a/roles/mmfd/templates/interfaces +++ b/roles/mmfd/templates/interfaces @@ -1,8 +1,7 @@ # {{ ansible_managed }} allow-hotplug mmfd0 -auto mmfd0 iface mmfd0 inet6 static address fe80::1 netmask 64 - post-up ip r add ff05::2:1001/128 dev mmfd0 table local + post-up ip -6 route add ff05::2:1001/128 dev mmfd0 table local