Mac OS X ifconfig命令解释
作者:互联网
在command 命令运行ifconfig之后,出现很多名词
lo0 gif0 stf0 en0 fw0 en1 vmnet1
查查看
lo0 = loopback gif0 = Software Network Interface stf0 = 6to4 tunnel interface en0 = Ethernet 0 fw0 = Firewire en1 = Ethernet 1 vmnet1 = Virtual Interface
那en0 en1 en2 en3 en4 怎么这么多???
运行一下命令:
networksetup -listallhardwareports Hardware Port: Wi-Fi Device: en0 Ethernet Address: c4:b3:01:bd:ad:1d Hardware Port: Bluetooth PAN Device: en3 Ethernet Address: c4:b3:01:bd:ad:1e Hardware Port: Thunderbolt 1 Device: en1 Ethernet Address: 4a:00:07:4d:b2:b0 Hardware Port: Thunderbolt 2 Device: en2 Ethernet Address: 4a:00:07:4d:b2:b1 Hardware Port: Thunderbolt Bridge Device: bridge0 Ethernet Address: 4a:00:07:4d:b2:b0
原来是Wi-Fi,蓝牙,thunderbolt…
————————————————
版权声明:本文为CSDN博主「旧人赋荒年」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/yangziluomu/article/details/75043171
标签:en0,ifconfig,Hardware,Mac,Address,Device,Ethernet,OS,Port 来源: https://www.cnblogs.com/cangqinglang/p/14715831.html