查询AS是几线BGP
代码语言:javascript复制[root@h101 ~]# whois AS58879
[Querying whois.radb.net]
[whois.radb.net]
aut-num: AS58879
as-name: MYASNAME-1
descr: ʏº£°²³©θç¿Ƽ¼¹ɷޓя
admin-c: jiang yuanming
tech-c: jiang yuanming
mnt-by: MAINT-AS58879
changed: jiangym@51idc.com 20151025 #01:52:26Z
source: RADB
aut-num: AS58879
as-name: ANCHNET
descr: Shanghai Anchang Network Security Technology Co.,Ltd.
descr: Building 4,NO.1 West Hulan Road,Shanghai,PRC
country: CN
admin-c: AUTO1-WD
tech-c: XC1-AUTO
mnt-by: MAINT-AP-CNISP
mnt-irt: IRT-CNISP-CN
changed: ip@cnisp.org.cn 20131202
source: APNIC
[root@h101 ~]#
从结果看出,这并不是一个多线BGP网络
其它案例
上海有孚BGP
代码语言:javascript复制[root@h101 ~]# traceroute -A 175.102.17.5
traceroute to 175.102.17.5 (175.102.17.5), 30 hops max, 60 byte packets
1 192.168.2.75 (192.168.2.75) [*] 0.507 ms 192.168.2.254 (192.168.2.254) [*] 1.333 ms 0.830 ms
2 58.246.136.1 (58.246.136.1) [AS17621] 1.986 ms 4.136 ms 3.902 ms
3 112.64.252.85 (112.64.252.85) [AS17621] 3.654 ms 3.513 ms 3.402 ms
4 139.226.203.6 (139.226.203.6) [*] 4.634 ms 6.031 ms 4.995 ms
5 112.65.207.45 (112.65.207.45) [AS17621] 8.638 ms 140.207.207.54 (140.207.207.54) [*] 7.542 ms 112.65.207.45 (112.65.207.45) [AS17621] 8.617 ms
6 112.65.207.165 (112.65.207.165) [AS17621] 7.082 ms 140.207.207.57 (140.207.207.57) [*] 7.946 ms 112.65.207.165 (112.65.207.165) [AS17621] 7.794 ms
7 211.95.77.26 (211.95.77.26) [AS9800] 7.598 ms 7.529 ms 7.277 ms
8 * * *
...
...
30 * * *
[root@h101 ~]#
[root@h101 ~]# whois 175.102.17.5
[Querying whois.arin.net]
[Redirected to whois.apnic.net]
[Querying whois.apnic.net]
[whois.apnic.net]
% [whois.apnic.net]
% Whois data copyright terms http://www.apnic.net/db/dbcopyright.html
% Information related to '175.102.0.0 - 175.102.255.255'
inetnum: 175.102.0.0 - 175.102.255.255
netname: YOVOLE
descr: Shanghai Yovole Networks Inc.
descr: 12F,No.323,Guoding Road,Yangpu District,Shanghai,P.R.China
country: CN
admin-c: YW6230-AP
tech-c: YW6230-AP
mnt-by: MAINT-CNNIC-AP
mnt-lower: MAINT-CNNIC-AP
mnt-routes: MAINT-CNNIC-AP
mnt-irt: IRT-CNNIC-CN
status: ALLOCATED PORTABLE
changed: hm-changed@apnic.net 20110304
source: APNIC
irt: IRT-CNNIC-CN
address: Beijing, China
e-mail: ipas@cnnic.cn
abuse-mailbox: ipas@cnnic.cn
admin-c: IP50-AP
tech-c: IP50-AP
auth: # Filtered
remarks: Please note that CNNIC is not an ISP and is not
remarks: empowered to investigate complaints of network abuse.
remarks: Please contact the tech-c or admin-c of the network.
mnt-by: MAINT-CNNIC-AP
changed: ipas@cnnic.cn 20110428
source: APNIC
person: Lv Xin
address: 12F,No.323,Guoding Road,Yangpu District,Shanghai,P.R.China
country: CN
phone: 86-21-51263688-3101
e-mail: lvxin@yovole.com
nic-hdl: YW6230-AP
mnt-by: MAINT-CNNIC-AP
changed: ipas@cnnic.cn 20150401
source: APNIC
% This query was served by the APNIC Whois Service version 1.69.1-APNICv1r6 (WHOIS2)
[root@h101 ~]# whois AS9800
[Querying whois.radb.net]
[whois.radb.net]
aut-num: AS9800
as-name: CHINAUNICOM-BACKBONE
descr: No.133,Xi'dan North Street
descr: Beijing
descr: 100032
remarks: for backbone of chinaunicom
admin-c: LJ14-SAVVIS
tech-c: CUN1-SAVVIS
mnt-by: MAINT-AS9800
changed: rabbi@bj.cnuninet.net 20030804
source: SAVVIS
aut-num: AS9800
as-name: UNICOM
descr: CHINA UNICOM
country: CN
import: from AS701
action pref=10;
accept ANY
import: from AS1239
action pref=10;
accept ANY
import: from AS4637
action pref=10;
accept ANY
import: from AS4862
action pref=10;
accept ANY
import: from AS6453
action pref=10;
accept ANY
import: from AS9225
action pref=10;
accept ANY
import: from AS10099
action pref=10;
accept ANY
import: from AS17773
action pref=10;
accept ANY
export: to AS701
announce ANY
export: to AS1239
announce ANY
export: to AS4637
announce ANY
export: to AS4862
announce ANY
export: to AS6453
announce ANY
export: to AS9225
announce ANY
export: to AS10099
announce ANY
export: to AS17773
announce ANY
admin-c: XZ67-AP
tech-c: XZ67-AP
mnt-by: MAINT-CNNIC-AP
mnt-lower: MAINT-CNNIC-AP
mnt-routes: MAINT-CNNIC-AP
changed: ipas@cnnic.cn 20090424
source: APNIC
[root@h101 ~]#
被防火墙阻挡,但AS9800是一个多线BGP