除了原始的 RFC 1918 空间(现在已更新为RFC6890),还有其他几个未公开发布的块,例如 192.0.2.0。此外,可能有人拥有有效的 IPv4 空间,但并未在公共互联网上公布。
最简单的方法是telnet route-views.oregon-ix.net
,rviews
以自己的身份登录并查找……例如,这是 AS7018 (AT&T) 宣布的某个“192”空间……
route-views>sh ip route 192.199.1.0
Routing entry for 192.199.1.0/24
Known via "bgp 6447", distance 20, metric 0
Tag 7018, type external
Last update from 12.0.1.63 3w1d ago
Routing Descriptor Blocks:
* 12.0.1.63, from 12.0.1.63, 3w1d ago
Route metric is 0, traffic share count is 1
AS Hops 2
Route tag 7018
route-views>
另一方面,你会看到 192.0.2.0/24 (ref RFC6890 ) 无处可寻......
route-views>sh ip route 192.0.2.0 255.255.255.0
% Subnet not in table
route-views>
169.254.0.0/16(或更长)也不是......
route-views>sh ip route 169.254.0.0 255.255.0.0 longer
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 128.223.51.1 to network 0.0.0.0
route-views>