{"id":787,"date":"2013-08-01T00:00:00","date_gmt":"2013-08-01T00:00:00","guid":{"rendered":"https:\/\/fir3netwp.gmsrrpobkbd.com\/2013\/08\/01\/how-can-i-list-all-ips-relating-to-a-single-as\/"},"modified":"2021-08-01T03:49:33","modified_gmt":"2021-08-01T03:49:33","slug":"how-can-i-list-all-ips-relating-to-a-single-as","status":"publish","type":"post","link":"https:\/\/www.fir3net.com\/Networking\/How-Tos\/how-can-i-list-all-ips-relating-to-a-single-as.html","title":{"rendered":"How can I list all IPs relating to a single AS ?"},"content":{"rendered":"
Within this article we will show you how to list all IP`s relating to a single AS.<\/p>\n
First of all get the IP address for the domain.<\/p>\n
[root@server]$ whois 173.252.110.27<\/strong> | grep OriginAS\r\nOriginAS:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 AS32934<\/pre>\nFinally run another whois against the AS to obtain a list of IPs.<\/p>\n
origin=$(whois `dig facebook.com<\/a><\/strong> +short | head -n1` | grep OriginAS | awk ' { print $2 } ') ; w\r\nhois -h whois.radb.net -- \"-i origin $origin\" | grep ^route<\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"Within this article we will show you how to list all IP`s relating to a single AS. STEPS First of all get the IP address for the domain. [root@server]$ whois 173.252.110.27 | grep OriginAS OriginAS:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 AS32934 Finally run another whois against the AS to obtain a list of IPs. origin=$(whois `dig facebook.com +short | head … Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"yoast_head":"\n
How can I list all IPs relating to a single AS ? - Fir3net<\/title>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n\t\n\t\n