Duplicate address detection option supporting ARP, and is designed with the following commands:
force arp duplicate interface <interface> address <address> [count <count>]
Duplicate address detection option supporting ARP, and is designed with the following commands:
force arp duplicate interface <interface> address <address> [count <count>]
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | FEATURE REQUEST | jack9603301 | T2706 Support NDP protocol monitoring | ||
Resolved | FEATURE REQUEST | jack9603301 | T2714 A collection of utilities supporting IPv6 or ipv4 | ||
Resolved | FEATURE REQUEST | jack9603301 | T2715 Duplicate address detection option supporting ARP |
@c-po Arping has the following options. I wonder if there is a better way to help you freely combine these options?
Usage:
arping [options] <destination>Options:
-f quit on first reply -q be quiet -b keep on broadcasting, do not unicast -D duplicate address detection mode -U unsolicited ARP mode, update your neighbours -A ARP answer mode, update your neighbours -V print version and exit -c <count> how many packets to send -w <timeout> how long to wait for a reply -i <interval> set interval between packets (default: 1 second) -I <device> which ethernet device to use -s <source> source ip address <destination> dns name or ip address
Its always a good idea to research how other vendors are doong it - e.g. Arista, Cisco, Juniper and see if there is. common CLI ground.
@c-po In my opinion, it is not improper for routers to support some commonly used toolsets, such as arping, which can be used to locate the MAC address of the IPv4 host in a LAN, or to detect whether ARP attacks have occurred in the LAN, or to test the security (ARP can be forged)
Arping can even be used to detect whether there is an IP conflict in the LAN
Of course, for routers, this is not the main function
I have found this implementation, but I don't know how to use it for my implementation. At present, I work in the XML framework of vyos-1x. I have provided a primary implementation for the time being. For details, please refer to:
Hi @jack9603301 your PRs are much appreciated but triggering my eMail inbox won't get your stuff merged faster - it actually will be quiet the opposite as I think you will trigger me again when it's urgent.
As most of the developers I have a regular job and are also busy with VyOS development.
@c-po I have changed the top-level command, maybe it's better, can you help me see it, if possible, request a merge, otherwise, please reply?
@c-po This task has been completed for so long, can the PR be reviewed?
PR: https://github.com/vyos/vyos-1x/pull/508