除了原始的RFC 1918空间(现在已更新为RFC6890)之外,还有其他几个块(例如192.0.2.0)尚未公开宣布。此外,有人可能拥有有效的IPv4空间,而公共Internet却没有公布该空间。
最简单的操作是telnet route-views.oregon-ix.net
,以as身份登录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>