summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorjack9603301 <jack9603301@163.com>2020-08-03 17:39:19 +0800
committerjack9603301 <jack9603301@163.com>2020-11-24 23:48:57 +0800
commit0f92187484aef9b128ccd86ce3d61eb1b5dcc373 (patch)
tree6bf9dfcb4b6dfdab59f5765b9f2f09387d0bc006 /op-mode-definitions
parentcf36b7ab1e1eb9d91b0877b55115d9a6ad2f196c (diff)
downloadvyos-1x-0f92187484aef9b128ccd86ce3d61eb1b5dcc373.tar.gz
vyos-1x-0f92187484aef9b128ccd86ce3d61eb1b5dcc373.zip
arping: T2715: Duplicate address detection option supporting ARP
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/force-arp.xml24
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>