Skip to content

Tag: routes

How to get all ip prefixes announced by AS

If you need all ip prefixes announced by AS number for routing, filtering or info purposes, you can use whois client from Linux with args ‘-i origin -T route’ Example: root@ns:~# whois AS9009 -i origin -T route |grep ‘route:’ route: 128.0.1.0/24 route: 138.99.211.0/24 route: 172.111.129.0/24 route: 172.111.130.0/24 route: 172.111.138.0/24 route: 172.111.140.0/24 route: 172.111.141.0/24 route: 172.111.148.0/24…