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

上一篇:win10 调整音量时 左上角弹框 的解决办法


下一篇:AOSP添加新硬件设备开发-HIDL层