diff options
author | jack9603301 <jack9603301@163.com> | 2020-08-03 17:39:19 +0800 |
---|---|---|
committer | jack9603301 <jack9603301@163.com> | 2020-11-24 23:48:57 +0800 |
commit | 0f92187484aef9b128ccd86ce3d61eb1b5dcc373 (patch) | |
tree | 6bf9dfcb4b6dfdab59f5765b9f2f09387d0bc006 /op-mode-definitions/force-arp.xml | |
parent | cf36b7ab1e1eb9d91b0877b55115d9a6ad2f196c (diff) | |
download | vyos-1x-0f92187484aef9b128ccd86ce3d61eb1b5dcc373.tar.gz vyos-1x-0f92187484aef9b128ccd86ce3d61eb1b5dcc373.zip |
arping: T2715: Duplicate address detection option supporting ARP
Diffstat (limited to 'op-mode-definitions/force-arp.xml')
-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> |