From db5952f2bb09a3997b3bef1904497a068fff59ce Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Wed, 15 Jun 2022 09:48:20 -0400 Subject: T2719: add reset command to the neighbor script --- op-mode-definitions/ipv4-route.xml.in | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'op-mode-definitions/ipv4-route.xml.in') diff --git a/op-mode-definitions/ipv4-route.xml.in b/op-mode-definitions/ipv4-route.xml.in index 8f001d5bb..660b34496 100644 --- a/op-mode-definitions/ipv4-route.xml.in +++ b/op-mode-definitions/ipv4-route.xml.in @@ -39,7 +39,7 @@ <x.x.x.x> - sudo ip neigh flush to "$5" + sudo ${vyos_op_scripts_dir}/neighbor.py reset --family inet --address "$5" @@ -48,8 +48,14 @@ - sudo ip neigh flush dev "$5" + sudo ${vyos_op_scripts_dir}/neighbor.py reset --family inet --interface "$5" + + + Flush the ARP cache completely + + sudo ${vyos_op_scripts_dir}/neighbor.py reset --family inet + -- cgit v1.2.3