获取局域网内所有电脑IP和MAC地址

使用 arp -a 命令,如:

y@ubuntu:~$ arp -a
_gateway (172.16.247.2) at 00:50:56:f2:fe:dc [ether] on ens33

猜你喜欢

转载自blog.csdn.net/yzpbright/article/details/81383535