Explanation of the interface of ifconfg on macOS

网络接口功能描述

  1. lo0: is loopback

    • 类型:Loopback(回环)接口
    • 功能:用于本地主机通信,不涉及外部网络。
  2. gif0: is a more generic tunneling interface (https://www.freebsd.org/cgi/man.cgi?gif(4))

    • 类型:通用隧道接口
    • 功能:支持多种网络协议隧道(如 IPv6 over IPv4),详见 FreeBSD 手册
  3. stf0: is an IPv6 to IPv4 tunnel interface to support the transition from IPv4 to the IPv6

    • 类型:IPv6 到 IPv4 隧道接口
    • 功能:支持从 IPv4 向 IPv6 的过渡。
  4. anpi0: (still unknown)

    • 类型:未知
    • 功能:尚未明确具体用途。
  5. en0: ethernet (including WiFi)

    • 类型:以太网/WiFi 接口
    • 功能:用于有线或无线网络连接。
  6. ap1: Access Point. This is used if you are using your MacBook as a wireless host where you are sharing its connection.

    • 类型:接入点(Access Point)接口
    • 功能:当 MacBook 作为无线热点共享其网络连接时使用。
  7. awdl0: Apple Wireless Direct Link

  8. llw0: low-latency WAN interface (maybe about IOT)

    • 类型:低延迟 WAN 接口
    • 功能:可能与物联网(IoT)相关,提供低延迟网络通信。
  9. bridge0: introduced sometime before macOS 12.6.3 (bridging en1 and en2)

    • 类型:桥接接口
    • 功能:在 macOS 中引入,用于将多个物理接口(如 en1 和 en2)桥接在一起。
  10. utun0: tun/tap interfaces (used by 3rd party networking applications, for VPN)

    • 类型:TUN/TAP 虚拟网络接口
    • 功能:由第三方网络应用程序使用
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值