如何判断网通、电信、铁通IP地址分配段

http://ftp.apnic.net/apnic/dbase/tools/ 获取地址

shell> wget http://ftp.apnic.net/apnic/dbase/tools/ripe-dbase-client-v3.tar.gz


shell> tar xzvf ripe-dbase-client-v3.tar.gz

shell> cd whois-3.1

shell> ./configure

shell> make

完成上述编译安装工作后,我们开始获取IP地址段;


中国网通:

shell> ./whois3 -h whois.apnic.net -l -i mb MAINT-CNCGROUP > /var/cn c


中国电信:

shell> ./whois3 -h whois.apnic.net -l -i mb MAINT-CHINANET > /var/chinanet


中国铁通:

shell> ./whois3 -h whois.apnic.net -l -i mb MAINT-CN-CRTC > /var/crtc

http://wq.apnic.net/apnic-bin/whois.pl

原文地址:https://www.cnblogs.com/LCX/p/1633443.html