• 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

  • 相关阅读:
    jdb应用 远程调试
    maven POM总结
    jvm
    jdbc取出表名 名称
    nginx配置openssl证书
    DNS A记录 CNAME NS记录等的区别
    linux文件目录类命令|--cd指令
    linux文件目录类命令--ls命令
    linux文件目录类命令--pwd命令
    linux 帮助指令
  • 原文地址:https://www.cnblogs.com/cangqinglang/p/14715831.html
Copyright © 2020-2023  润新知