PasteZap
🌐 简体中文
免费 · 无需注册

免费 · 网络与 IT 基础设施

IP 是否在子网内检查.

检查一组 IP 地址是否属于一个或多个网络,并显示每个地址匹配的最具体网段。

开始之前

部分技术控件使用英语。支持 Unicode 文本;文件格式和输出语言取决于具体工具。

下面以英语列出技术限制。处理大型文件或使用结果之前,请先查看这些限制。

CALCULATED IN YOUR BROWSER · NOTHING IS UPLOADED
Addresses inside4 / 7
Outside every network
3
Invalid lines
0
Networks
4

Results

AddressInside?Most specific networkAddress type
10.20.30.40Yes10.0.0.0/8Private (RFC 1918)
192.168.10.255Yes192.168.10.0/24Private (RFC 1918)
192.168.11.1No—Private (RFC 1918)
172.31.255.254Yes172.16.0.0/12Private (RFC 1918)
8.8.8.8No—Public (globally routable)
2001:db8:1:abcd::5Yes2001:db8:1::/48Documentation (RFC 3849)
2001:db8:2::1No—Documentation (RFC 3849)
  • An IPv4 address never matches an IPv6 network, including IPv4-mapped ::ffff: forms.

使用方法: IP 是否在子网内检查

输入数据或选择文件,调整设置并生成结果。复制或下载之前,请检查结果。

限制与支持格式

输入内容在您的设备上处理。

英语技术说明

Up to 10,000 addresses. IPv4 addresses never match IPv6 networks. Everything is calculated in your browser; nothing is sent or probed on the network.

Each address is compared with every network by masking it with the network prefix; when several match, the longest prefix is shown, as a router would choose.

With 10.0.0.0/8 and 192.168.10.0/24, 10.20.30.40 matches /8, 192.168.10.255 matches /24 and 8.8.8.8 matches nothing.