Sometimes get some cross-segment engineering and application, you need to make accurate know Telecom, China Netcom and China railcom and other telecom operators assigned IP addresses, online information not only rarely, and often are N months before expiration information ...
APNIC is management Asia Pacific IP address allocations of institutions, it has a wealth of accurate IP address allocation library, at the same time the information is publicly! here let us look at how to get some Linux telecom carriers of IP address allocation: shell > wgethttp://ftp.apnic.net/apnic/dbase ... se-client-v3.tar.gzshell > tarxzvfripe-dbase-client-v3.tar.gzshell/configureshell cdwhois-3.1shell >. > > make install the compiled work, we start getting IP addresses; China Netcom: shell >. >/whois3-hwhois.apnic.net-l-imbMAINT-CNCGROUP/var/cnc China Telecom: shell >. >/whois3-hwhois.apnic.net-l-imbMAINT-CHINANET/var/chinanet China tietong: shell >. >/whois3-hwhois.apnic.net-l-imbMAINT-CN-CRTC/var/crtc open gets files can see inside the information very carefully, you can even see the heads of each branch, phone, e-mail, and more information. If you want to get a neat clean IP address section of the file, just use the simple filter grep and awk:)
No comments:
Post a Comment