arping如果我提供 MAC 地址,我将无法运行。如果我使用 IP 地址,它可以正常工作。
有谁知道问题是什么?
1.
arping -i <ifname> xx:xx:xx:xx:xx:xx
arping: Unable to get the IPv4 address of interface <ifname>:
arping: libnet_get_ipaddr4(): ioctl(): Cannot assign requested address
arping: Use -S to specify address manually.
2.
arping -i brlan xx:xx:xx:xx:xx:xx
arping: libnet_init(LIBNET_LINK, brlan): libnet_check_iface() ioctl: No such device