Linux下怎么查看MAC地址 arp

Linux下怎么查看MAC地址

https://www.yisu.com/zixun/668968.html

 


https://blog.csdn.net/embelfe_segge/article/details/126595951
linux 最常用的查看mac地址的方式 有很多种,下面给出4种方式,
ifconfig 这是最常用的方式
ip link show
cat /sys/class/net/eth0/address 查看eth0的mac地址
dmesg | grep eth0

posted @ 2022-12-05 14:29  tonggc1668  阅读(414)  评论(0编辑  收藏  举报