LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-14-2010, 09:16 AM   #1
fylnq
LQ Newbie
 
Registered: Feb 2010
Posts: 23

Rep: Reputation: 16
Question Information on AS numbers


Hi,

Is there any tool in linux to show information on AS numbers?

Code:
whois -h whois.radb.net 222.222.222.222

route:        222.222.0.0/15
descr:        China Telecom Hebei province
origin:       AS4134 <<-----
mnt-by:       MAINT-AS4134
changed:      liujj@cndata.com 20040507
source:       SAVVIS
That command shows the AS number. Is there a command/tool in linux that shows information on the AS number?

The output would look like this:
http://www.asnumber.networx.ch/asnumber.gif

Thanks in advance,

FY
 
Old 02-14-2010, 09:39 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Use whois with the number preceded with "as".
Code:
whois as3134

OrgName:    U.S. Agency for International Development
OrgID:      UAID
Address:    1300 Pennsylvania Ave
City:       Washington
StateProv:  DC
PostalCode: 20523
Country:    US

ASNumber:   3134
ASName:     USAID-ASN
ASHandle:   AS3134
Comment:
RegDate:    1993-11-19
Updated:    2009-07-28

OrgAbuseHandle: JPB103-ARIN
OrgAbuseName:   Bourdon, John P
OrgAbusePhone:  +1-240-646-5005
OrgAbuseEmail:  jbourdon@usaid.gov

OrgNOCHandle: HTL-ARIN
OrgNOCName:   Lee, Herman T
OrgNOCPhone:  +1-202-712-0436
OrgNOCEmail:  hlee@usaid.gov

OrgTechHandle: JCB2-ARIN
OrgTechName:   Biggs, Jeffrey C.
OrgTechPhone:  +1-240-646-5003
OrgTechEmail:  jbiggs@usaid.gov
 
Old 02-14-2010, 09:43 AM   #3
fylnq
LQ Newbie
 
Registered: Feb 2010
Posts: 23

Original Poster
Rep: Reputation: 16
Thanks!

Edit: peeringdb also provides info on AS numbers.

Code:
whois -h whois.peeringdb.com AS7922

General Network Information
---------------------------
Network Name         : Comcast
Name Aliases         :
Primary ASN          : 7922
Website              : http://www.comcast.com
IRR AS-SET           :
Network Type         : Cable/DSL/ISP
Approx BGP Prefixes  : 3300
Traffic Levels       : 1 Tbps+
Traffic Ratios       : Balanced
Geographic Scope     : North America
Supported Protocols  : Coming Soon
Looking Glass URL    :
Route Server URL     : route-server.newyork.ny.ibone.comcast.net
Public Notes         : peering@comcast.com is the best email address to send
                     : requests for IPv6 & settled peering.

See you at
                     : the Peering BOF in Austin during NANOG48!

We do not
                     : offer SFI on the shared fabric public switches at any
                     : IX.

Last edited by fylnq; 02-14-2010 at 10:04 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find out indone information and datablocks information in a file system chaitanya1982 Linux - Newbie 1 09-24-2008 01:58 AM
manipulating 64 bit numbers using 32 bit numbers. rajesh_b Programming 3 09-15-2006 09:03 AM
Hiding machine information and root information geletine Linux - Security 6 07-14-2006 07:57 AM
sequence of numbers, how to extract which numbers are missing jonlake Programming 13 06-26-2006 03:28 AM
Adding numbers, break on non-numbers... Cruger Programming 1 03-22-2004 09:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration