|
router A接口的地址是10.0.0.1,router B接口的地址是10.0.0.2。只ping一个包的目的是便于分析哪些结果是一堆儿的;36字节是为了能少分几个信元,这是能ping出的最小包(36字节+28字节的ICMP头),但还是超过了48字节,所以不得不分成了2个信元。
所以,router B发出的redirect for host消息导致了port A发给router A的流量大于从router A收到的流量。
到这里,router A ping自己的过程已经搞清楚了,还剩下最后一个问题:为什么如此这般折腾,时延会远远小于ping对端的时延?难道路由器很只能,把中间来回折腾用去的时间减去了?请各位讨论!
另外,我在debug的时候还发现了另外一个问题,就是如果debug ip icmp,就根本看不到request,如下所示:
*May 18 21:30:11.794: ICMP: echo reply sent, src 10.0.0.1, dst 10.0.0.1
*May 18 21:30:11.794: ICMP: bogus redirect from 10.0.0.2 - for 10.0.0.1 use gw 10.0.0.1
*May 18 21:30:11.794: gateway address is one of our addresses
*May 18 21:30:11.794: ICMP: echo reply rcvd, src 10.0.0.1, dst 10.0.0.1
*May 18 21:30:11.794: ICMP: bogus redirect from 10.0.0.2 - for 10.0.0.1 use gw 10.0.0.1
*May 18 21:30:11.794: gateway address is one of our addresses
这是为什么啊?
另外2,我debug atm packet的结果是:
*May 18 01:56:21.711: ATM1/0.3(O):
VCD:0xD VPI:0x0 VCI:0x64 DM:0x100 SAP:AAAA CTL:03 OUI:000000 TYPE:0800 Length:0x30
*May 18 01:56:21.711: 4500 0024 2652 0000 FF01 8185 0A00 0001 0A00 0001 0800 D104 02BF 0000 0000
*May 18 01:56:21.711: 0001 921A 9220
*May 18 01:56:21.711:
*May 18 01:56:21.711: ATM1/0.3(I):
VCD:0xD VPI:0x0 VCI:0x64 Type:0x0 SAP:AAAA CTL:03 OUI:000000 TYPE:0800 Length:0x30
*May 18 01:56:21.711: 4500 0024 2652 0000 FD01 8385 0A00 0001 0A00 0001 0800 D104 02BF 0000 0000
*May 18 01:56:21.711: 0001 921A 9220
*May 18 01:56:21.711:
*May 18 01:56:21.711: ATM1/0.3(I):
VCD:0xD VPI:0x0 VCI:0x64 Type:0x0 SAP:AAAA CTL:03 OUI:000000 TYPE:0800 Length:0x44
*May 18 01:56:21.711: 4500 0038 025D 0000 FE01 A665 0A00 0002 0A00 0001 0501 163A 0A00 0001 4500
*May 18 01:56:21.711: 0024 2652 0000 FE01 8185 0A00 0001 0A00 0001 0800 D104 02BF 0000
*May 18 01:56:21.711:
*May 18 01:56:21.715: ICMP: echo reply sent, src 10.0.0.1, dst 10.0.0.1
*May 18 01:56:21.715: ATM1/0.3(O):
VCD:0xD VPI:0x0 VCI:0x64 DM:0x100 SAP:AAAA CTL:03 OUI:000000 TYPE:0800 Length:0x30
*May 18 01:56:21.715: 4500 0024 2652 0000 FF01 8185 0A00 0001 0A00 0001 0000 D904 02BF 0000 0000
*May 18 01:56:21.715: 0001 921A 9220
*May 18 01:56:21.715:
*May 18 01:56:21.715: ICMP: bogus redirect from 10.0.0.2 - for 10.0.0.1 use gw 10.0.0.1
*May 18 01:56:21.715: gateway address is one of our addresses
*May 18 01:56:21.715: ATM1/0.3(I):
VCD:0xD VPI:0x0 VCI:0x64 Type:0x0 SAP:AAAA CTL:03 OUI:000000 TYPE:0800 Length:0x30
*May 18 01:56:21.715: 4500 0024 2652 0000 FD01 8385 0A00 0001 0A00 0001 0000 D904 02BF 0000 0000
*May 18 01:56:21.715: 0001 921A 9220
*May 18 01:56:21.715:
*May 18 01:56:21.715: ATM1/0.3(I):
VCD:0xD VPI:0x0 VCI:0x64 Type:0x0 SAP:AAAA CTL:03 OUI:000000 TYPE:0800 Length:0x44
*May 18 01:56:21.715: 4500 0038 025E 0000 FE01 A664 0A00 0002 0A00 0001 0501 163A 0A00 0001 4500
*May 18 01:56:21.715: 0024 2652 0000 FE01 8185 0A00 0001 0A00 0001 0000 D904 02BF 0000
*May 18 01:56:21.715:
我前面说了,发出去的和收回来的ping包一定会分成2个信元,这个在Agilent decode能得到证实,redirect也被分成了2个信元,但是在这里,我却看不出来分信元的痕迹,各位大侠能看出来吗?
以上的现象是在cisco路由器上发现的,华为的路由器ATM接口ping包根本就不出去。 |
【收藏】【打印】【进入论坛】 |
|
|
|
|
|
|
|