diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-11-27 16:25:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-27 16:25:03 +0100 |
commit | 0b06b4807887357b2b9eed6a35928bb343c41028 (patch) | |
tree | 3164c978cc713d2a883cfd1bea828ebb14f0680d | |
parent | a2ac9fac16eeb626d3969092fecf463650750640 (diff) | |
parent | 0f92187484aef9b128ccd86ce3d61eb1b5dcc373 (diff) | |
download | vyos-1x-0b06b4807887357b2b9eed6a35928bb343c41028.tar.gz vyos-1x-0b06b4807887357b2b9eed6a35928bb343c41028.zip |
Merge pull request #508 from jack9603301/current
arping: T2715: Duplicate address detection option supporting ARP
-rw-r--r-- | op-mode-definitions/force-arp.xml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/op-mode-definitions/force-arp.xml b/op-mode-definitions/force-arp.xml index c7bcad413..f9f7c7643 100644 --- a/op-mode-definitions/force-arp.xml +++ b/op-mode-definitions/force-arp.xml @@ -72,6 +72,30 @@ </tagNode> </children> </node> + <node name="duplicate"> + <properties> + <help>Send ARP for DAD detection</help> + </properties> + <children> + <tagNode name="interface"> + <properties> + <help>Send ARP for DAD detection on specified interface</help> + <completionHelp> + <script>${vyos_completion_dir}/list_interfaces.py --broadcast</script> + </completionHelp> + </properties> + <children> + <tagNode name="address"> + <properties> + <help>Send ARP for DAD detection for specified address</help> + </properties> + <command>sudo /usr/bin/arping -I $5 -c 1 -D $7</command> + </tagNode> + </children> + </tagNode> + </children> + </node> + </children> </node> </children> |