arping 错误 'Suitable device could not be determined' 解决方法
arping 命令出现 'Suitable device could not be determined. Please, use option -I.' 错误提示意味着没有指定要使用的网络设备。
解决方法是在命令中使用 -I 选项并指定要使用的网络设备。例如,如果要使用 eth0 设备,则可以在命令中添加 -I eth0 选项。
arping 命令格式:
arping [-fqbDUAV] [-c count] [-w timeout] [-I device] [-s source] destination
选项说明:
-f: quit on first reply-q: be quiet-b: keep broadcasting, don't go 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 device: which ethernet device to use-s source: source ip addressdestination: ask for what ip address
示例:
arping -I eth0 192.168.1.1
该命令将使用 eth0 设备向 IP 地址为 192.168.1.1 的设备发送 ARP 请求。
原文地址: https://www.cveoy.top/t/topic/jmZ6 著作权归作者所有。请勿转载和采集!