本地网络定义
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
本项目中的本地网络是指使用支持广播的网络接口(例如 Wi-Fi 或以太网)的 IP 网络,但不包括移动网络 (WWAN) 或 VPN 连接。
以下网络被视为本地网络:
IPv4 |
IPv6 |
- 169.254.0.0/16 //Link Local
- 100.64.0.0/10 // CGNAT
- 10.0.0.0/8 // RFC1918
- 172.16.0.0/12 // RFC1918
- 192.168.0.0/16 // RFC1918
|
- 链路本地
- 直接连接的路由
- 线程等桩网络
- 多个子网
|
此外,多播地址 (224.0.0.0/4、ff00::/8) 和 IPv4 广播地址 (255.255.255.255) 都被归类为本地网络地址。
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[],[],null,["# Local Network Definition\n\nA local network in this project refers to an IP network that utilizes a\nbroadcast-capable network interface, such as Wi-Fi or Ethernet, but excludes\ncellular (WWAN) or VPN connections.\n\nThe following are considered local networks:\n\n| IPv4 | IPv6 |\n|---------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------|\n| - 169.254.0.0/16 //Link Local - 100.64.0.0/10 // CGNAT - 10.0.0.0/8 // RFC1918 - 172.16.0.0/12 // RFC1918 - 192.168.0.0/16 // RFC1918 | - Link-local - Directly-connected routes - Stub networks like Thread - Multiple-subnets |\n\nAdditionally, both multicast addresses (224.0.0.0/4, ff00::/8) and the IPv4\nbroadcast address (255.255.255.255) are classified as local network addresses."]]