Is there a tool available that will take an IP address and return the ASN attached to that network? I've been in situations before where this information would be useful, but not having access to the BGP routing information I'm not sure how to do this? (I've looked around some "likely" web sites - such as Merit - but haven't found anything.) The pressing need is for the ASN associated with 198.161.92.0. This network is connected to I*star, but I can't tell which of I*star's three ASNs it's homed on. (And they aren't being responsive to queries.) --lyndon
RADB says 2493. Routes propagated via mCI say 2493. $ whois/host=whois.ra.net 198.161.92.0 cisco# show ip bgp 198.161.92.0 Ehud
Is there a tool available that will take an IP address and return the ASN attached to that network? I've been in situations before where this information would be useful, but not having access to the BGP routing information I'm not sure how to do this? (I've looked around some "likely" web sites - such as Merit - but haven't found anything.)
The pressing need is for the ASN associated with 198.161.92.0. This network is connected to I*star, but I can't tell which of I*star's three ASNs it's homed on. (And they aren't being responsive to queries.)
--lyndon
Telnet to route-server.cerf.net and type sho ip bgp 198.161.92.0 Or go to nitrous.digex.net and select one of their viewers (mae-east, pennsauken, mae-west); click on BGP; and enter 198.161.92.0 in the box... Avi
Is there a tool available that will take an IP address and return the ASN attached to that network? I've been in situations before where this information would be useful, but not having access to the BGP routing information I'm not sure how to do this? (I've looked around some "likely" web sites - such as Merit - but haven't found anything.)
The pressing need is for the ASN associated with 198.161.92.0. This network is connected to I*star, but I can't tell which of I*star's three ASNs it's homed on. (And they aren't being responsive to queries.)
Practical: Use show ip b n.n.n.n or equivalent on something carrying full routing. If you don't have anything carrying full routing do the equivalent on Digex's excellent MAE-East looking glass at http://nitrous.digex.net, or the cern router. Theoretical: Alternatively find out which AS it's meant to be originated in by looking at the origin attribute in the appropriate IRR using whois (assuming it's registered). Alex Bligh Xara Networks
On Fri, 15 Nov 1996, Lyndon Nerenberg wrote:
Is there a tool available that will take an IP address and return the ASN attached to that network? I've been in situations before where this information would be useful, but not having access to the BGP routing information I'm not sure how to do this? (I've looked around some "likely" web sites - such as Merit - but haven't found anything.)
http://nitrous.digex.net/ is always useful. So is telnet route-server.cerf.net -BD
Lyndon Nerenberg wrote : -> Is there a tool available that will take an IP address and return the -> ASN attached to that network? I've been in situations before where this -> information would be useful, but not having access to the BGP routing -> information I'm not sure how to do this? (I've looked around some -> "likely" web sites - such as Merit - but haven't found anything.) -> -> The pressing need is for the ASN associated with 198.161.92.0. This -> network is connected to I*star, but I can't tell which of I*star's -> three ASNs it's homed on. (And they aren't being responsive to queries.) -> % whois -h whois.ra.net 198.161.92.0 route: 198.161.92.0/24 descr: ESYS-NET origin: AS542 comm-list: CANET_INTERNAL advisory: AS690 1:3561(11) 2:3561(144) 3:3561(27) 4:3561(218) 5:3561(147) mnt-by: CANET-RC changed: config@canet.ca 960501 source: CANET -> --lyndon -> -> Cheers, Lyndon -- If you give up smoking, drinking and sex you may not actually live longer... ...It may just feel that way. Clement Freud
Lyndon Nerenberg wrote : -> Is there a tool available that will take an IP address and return the -> ASN attached to that network? I've been in situations before where this -> information would be useful, but not having access to the BGP routing -> information I'm not sure how to do this? (I've looked around some -> "likely" web sites - such as Merit - but haven't found anything.) -> -> The pressing need is for the ASN associated with 198.161.92.0. This -> network is connected to I*star, but I can't tell which of I*star's -> three ASNs it's homed on. (And they aren't being responsive to queries.)
Versions of traceroute that support the "A" option are also a nice quick way to get this info. Cisco routers do this by default. ex. sd-gw-1>traceroute cisco.com Translating "cisco.com"...domain server (207.67.247.4) [OK] Type escape sequence to abort. Tracing the route to cisco.com (198.92.30.31) 1 agis-atmnet.losangeles.agis.net (206.62.12.49) [AS 4200] 4 msec 4 msec 4 msec 2 a5-0.1009.santaclara3.agis.net (205.254.168.249) [AS 4200] 16 msec 12 msec 12 msec 3 mae-w.bbnplanet.net (198.32.136.14) 36 msec 32 msec 52 msec 4 paloalto-br2.bbnplanet.net (4.0.1.13) [AS 1] 32 msec 164 msec 240 msec 5 su-pr2.bbnplanet.net (131.119.0.218) [AS 200] 232 msec 36 msec 32 msec 6 cisco.bbnplanet.net (131.119.26.10) [AS 200] 36 msec 36 msec 36 msec 7 sj-wall-2.cisco.com (192.31.7.34) [AS 109] 36 msec 64 msec 36 msec 8 sj-eng-corp2.cisco.com (198.92.1.130) [AS 109] 40 msec 40 msec 44 msec 9 cisco.com (198.92.30.31) [AS 109] 36 msec 32 msec 33 msec sd-gw-1> Jim
Lyndon Nerenberg wrote : -> Is there a tool available that will take an IP address and return the -> ASN attached to that network? I've been in situations before where this -> information would be useful, but not having access to the BGP routing -> information I'm not sure how to do this? (I've looked around some -> "likely" web sites - such as Merit - but haven't found anything.) -> -> The pressing need is for the ASN associated with 198.161.92.0. This -> network is connected to I*star, but I can't tell which of I*star's -> three ASNs it's homed on. (And they aren't being responsive to queries.)
Versions of traceroute that support the "A" option are also a nice quick way to get this info. Cisco routers do this by default.
Only when that router is running full tables. When traceroute is run from routers that aren't running BGP, you just get hostnames/times. I'd suspect that the only way to get traceroute with ASN's is when the machine you're coming from (cisco routers, for example) know the tables. There is a "public" cisco at route-server.cerf.net - telnet there and traceroute out :) -- jamie g. k. rishaw | jamie@multiverse.com | home e-mail:jamie@arpa.com url-free sig file | corporate support svcs. | "I had a dream .. there was corp: 216.771.0002 |"religious right" is neither| an info-mercial selling an C4 48 1B 26 18 7B 1F D9 BA C4 9C 7A B1 07 07 E8 | awk script for $29.95" -rdm
Ooops, missed the source: field : route: 198.161.92.0/24 descr: ESYS-NET origin: AS542 comm-list: CANET_INTERNAL advisory: AS690 1:3561(11) 2:3561(144) 3:3561(27) 4:3561(218) 5:3561(147) mnt-by: CANET-RC changed: config@canet.ca 960501 source: CANET route: 198.161.92.0/24 descr: ESYS-NET origin: AS2493 mnt-by: MAINT-AS2493 changed: briand@nds.netsvc.istar.ca 960503 source: ANS route: 198.161.92.0/24 descr: ESYS-NET origin: AS2493 mnt-by: MAINT-AS2493 changed: briand@nds.netsvc.istar.ca 960503 source: MCI -- If you give up smoking, drinking and sex you may not actually live longer... ...It may just feel that way. Clement Freud
You can look at Internet routing table collected by Merit. ("http://compute.merit.edu/stats/mae-east/routing-table/"). But the table may mislead you to a wrong ASN if the IP address is an inet-rtr. My suggestion is consulting the table first, and if you think that one IP might be a inet-rtr, consulting IRR using "whois -h whois.ra.net 'address'". Dun On Fri, 15 Nov 1996, Lyndon Nerenberg wrote:
Is there a tool available that will take an IP address and return the ASN attached to that network? I've been in situations before where this information would be useful, but not having access to the BGP routing information I'm not sure how to do this? (I've looked around some "likely" web sites - such as Merit - but haven't found anything.)
The pressing need is for the ASN associated with 198.161.92.0. This network is connected to I*star, but I can't tell which of I*star's three ASNs it's homed on. (And they aren't being responsive to queries.)
--lyndon
participants (9)
-
Alex.Bligh
-
Avi Freedman
-
Bradley Dunn
-
Dun Liu
-
Ehud Gavron
-
Jamie
-
Jim Van Baalen
-
Lyndon Nerenberg
-
Lyndon.Levesley