BSCI第三章实验,调试分析OSPF启动过程(人邮自学指南BSCI)

www.net130.com     日期:2006-7-16    浏览次数:
出处:思科 思索

环境:R2 R4 两台路由器,R2的ROUTERID是2.2.2.2 R4的是4.4.4.4
首先让2台路由器启用OSPF并使得2.2.2.2成为DR.然后,重新启动R2,再R4上调试,其间R1 R3路由器未关闭.

*Mar  1 00:03:19.047: OSPF: Send hello to 224.0.0.5 area 0 on Serial1 from 10.1.3.4>*Mar  1 00:03:19.051: OSPF: Send hello to 224.0.0.5 area 0 on Ethernet0 from 10.1.2.4
r4-2501#
*Mar  1 00:03:24.159: OSPF: Rcv pkt from 10.1.1.3, Ethernet0, area 0.0.0.0 : src not on the same network
这些报源地址不在同一网络的消息,可以忽略,这是因为我将路由器的所有以太口均插在1924交换机上,由于是多播,所以才会产生这样的提示.

r4-2501#
*Mar  1 00:03:27.247: OSPF: Rcv pkt from 10.1.1.1, Ethernet0, area 0.0.0.0 : src not on the same network
*Mar  1 00:03:27.527: OSPF: Rcv pkt from 10.1.1.3, Ethernet0, area 0.0.0.0 : src not on the same network
r4-2501#
*Mar  1 00:03:28.951: OSPF: Rcv pkt from 10.1.1.1, Ethernet0, area 0.0.0.0 : src not on the same network
*Mar  1 00:03:29.051: OSPF: Send hello to 224.0.0.5 area 0 on Serial1 from 10.1.3.4
*Mar  1 00:03:29.055: OSPF: Send hello to 224.0.0.5 area 0 on Ethernet0 from 10.1.2.4
*Mar  1 00:03:29.751: OSPF: Rcv pkt from 10.1.1.3, Ethernet0, area 0.0.0.0 : src not on the same network
r4-2501#
*Mar  1 00:03:31.011: OSPF: Rcv hello from 3.3.3.3 area 0 from Serial1 10.1.3.3
*Mar  1 00:03:31.015: OSPF: End of hello processing
r4-2501#
*Mar  1 00:03:33.967: OSPF: Rcv pkt from 10.1.1.1, Ethernet0, area 0.0.0.0 : src not on the same network
r4-2501#
*Mar  1 00:03:36.471: OSPF: Rcv pkt from 10.1.1.3, Ethernet0, area 0.0.0.0 : src not on the same network
r4-2501#
*Mar  1 00:03:37.527: OSPF: Rcv pkt from 10.1.1.3, Ethernet0, area 0.0.0.0 : src not on the same network
r4-2501#
*Mar  1 00:03:38.951: OSPF: Rcv pkt from 10.1.1.1, Ethernet0, area 0.0.0.0 : src not on the same network
*Mar  1 00:03:39.055: OSPF: Send hello to 224.0.0.5 area 0 on Serial1 from 10.1.3.4
*Mar  1 00:03:39.059: OSPF: Send hello to 224.0.0.5 area 0 on Ethernet0 from 10.1.2.4
r4-2501#
*Mar  1 00:03:41.011: OSPF: Rcv hello from 3.3.3.3 area 0 from Serial1 10.1.3.3
*Mar  1 00:03:41.015: OSPF: End of hello processing
r4-2501#
*Mar  1 00:03:47.527: OSPF: Rcv pkt from 10.1.1.3, Ethernet0, area 0.0.0.0 : src not on the same network
r4-2501#
*Mar  1 00:03:48.951: OSPF: Rcv pkt from 10.1.1.1, Ethernet0, area 0.0.0.0 : src not on the same network
*Mar  1 00:03:49.059: OSPF: Send hello to 224.0.0.5 area 0 on Serial1 from 10.1.3.4
*Mar  1 00:03:49.063: OSPF: Send hello to 224.0.0.5 area 0 on Ethernet0 from 10.1.2.4
r4-2501#
*Mar  1 00:03:51.011: OSPF: Rcv hello from 3.3.3.3 area 0 from Serial1 10.1.3.3
*Mar  1 00:03:51.015: OSPF: End of hello processing
r4-2501#
*Mar  1 00:03:57.527: OSPF: Rcv pkt from 10.1.1.3, Ethernet0, area 0.0.0.0 : src not on the same network
r4-2501#
*Mar  1 00:03:58.951: OSPF: Rcv pkt from 10.1.1.1, Ethernet0, area 0.0.0.0 : src not on the same network
*Mar  1 00:03:59.063: OSPF: Send hello to 224.0.0.5 area 0 on Serial1 from 10.1.3.4
*Mar  1 00:03:59.067: OSPF: Send hello to 224.0.0.5 area 0 on Ethernet0 from 10.1.2.4
r4-2501#
*Mar  1 00:04:01.011: OSPF: Rcv hello from 3.3.3.3 area 0 from Serial1 10.1.3.3
*Mar  1 00:04:01.015: OSPF: End of hello processing
*Mar  1 00:04:01.631: OSPF: 2.2.2.2 address 10.1.2.2 on Ethernet0 is dead
*Mar  1 00:04:01.635: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2.2 on Ethernet0 from FULL to DOWN, Neighbor Down: Dead timer expired

路由器检测到R2的10.1.2.2口down掉了,注意从开始时间到这条提示时间的出现 大约是40秒,而在广播型网络上,死亡间隔默认就是40秒.
r4-2501#
*Mar  1 00:04:01.639: OSPF: Neighbor change Event on interface Ethernet0
*Mar  1 00:04:01.639: OSPF: DR/BDR election on Ethernet0
*Mar  1 00:04:01.643: OSPF: Elect BDR 4.4.4.4
*Mar  1 00:04:01.643: OSPF: Elect DR 4.4.4.4
*Mar  1 00:04:01.647: OSPF: Elect BDR 0.0.0.0
*Mar  1 00:04:01.647: OSPF: Elect DR 4.4.4.4
*Mar  1 00:04:01.651:        DR: 4.4.4.4 (Id)   BDR: none
*Mar  1 00:04:01.655: OSPF: Remember old DR 2.2.2.2 (id)
检测到邻居状态发生改变后,路由器在这个网络上重新选举DR/BDR,路由器选举4.4.4.4为DR,因为优先级是默认的,所以路由器取最大RID.网络上由于只存在2台路由器,所以BDR落空.
*Mar  1 00:04:02.159: OSPF: Rcv pkt from 10.1.1.3, Ethernet0, area 0.0.0.0 : src not on the same network
r4-2501#
*Mar  1 00:04:04.663: OSPF: Rcv pkt from 10.1.1.1, Ethernet0, area 0.0.0.0 : src not on the same network
r4-2501#
*Mar  1 00:04:06.355: OSPF: Rcv pkt from 10.1.1.1, Ethernet0, area 0.0.0.0 : src not on the same network
r4-2501#
*Mar  1 00:04:07.527: OSPF: Rcv pkt from 10.1.1.3, Ethernet0, area 0.0.0.0 : src not on the same network
r4-2501#
*Mar  1 00:04:08.859: OSPF: Rcv pkt from 10.1.1.3, Ethernet0, area 0.0.0.0 : src not on the same network
*Mar  1 00:04:08.951: OSPF: Rcv pkt from 10.1.1.1, Ethernet0, area 0.0.0.0 : src not on the same network
*Mar  1 00:04:09.067: OSPF: Send hello to 224.0.0.5 area 0 on Serial1 from 10.1.3.4
*Mar  1 00:04:09.071: OSPF: Send hello to 224.0.0.5 area 0 on Ethernet0 from 10.1.2.4
r4-2501#
*Mar  1 00:04:11.011: OSPF: Rcv hello from 3.3.3.3 area 0 from Serial1 10.1.3.3
*Mar  1 00:04:11.015: OSPF: End of hello processing
r4-2501#
*Mar  1 00:04:17.527: OSPF: Rcv pkt from 10.1.1.3, Ethernet0, area 0.0.0.0 : src not on the same network
r4-2501#
*Mar  1 00:04:18.951: OSPF: Rcv pkt from 10.1.1.1, Ethernet0, area 0.0.0.0 : src not on the same network
*Mar  1 00:04:19.135: OSPF: Send hello to 224.0.0.5 area 0 on Serial1 from 10.1.3.4
*Mar  1 00:04:19.139: OSPF: Send hello to 224.0.0.5 area 0 on Ethernet0 from 10.1.2.4
r4-2501#
*Mar  1 00:04:21.011: OSPF: Rcv hello from 3.3.3.3 area 0 from Serial1 10.1.3.3
*Mar  1 00:04:21.015: OSPF: End of hello processing
r4-2501#
*Mar  1 00:04:22.015: OSPF: Rcv pkt from 10.1.1.1, Ethernet0, area 0.0.0.0 : src not on the same network
r4-2501#
*Mar  1 00:04:24.519: OSPF: Rcv pkt from 10.1.1.3, Ethernet0, area 0.0.0.0 : src not on the same network
r4-2501#
*Mar  1 00:04:27.527: OSPF: Rcv pkt from 10.1.1.3, Ethernet0, area 0.0.0.0 : src not on the same network
r4-2501#
*Mar  1 00:04:28.951: OSPF: Rcv pkt from 10.1.1.1, Ethernet0, area 0.0.0.0 : src not on the same network
*Mar  1 00:04:29.139: OSPF: Send hello to 224.0.0.5 area 0 on Serial1 from 10.1.3.4
*Mar  1 00:04:29.143: OSPF: Send hello to 224.0.0.5 area 0 on Ethernet0 from 10.1.2.4
r4-2501#
*Mar  1 00:04:31.011: OSPF: Rcv hello from 3.3.3.3 area 0 from Serial1 10.1.3.3
*Mar  1 00:04:31.011: OSPF: End of hello processing
r4-2501#
*Mar  1 00:04:37.527: OSPF: Rcv pkt from 10.1.1.3, Ethernet0, area 0.0.0.0 : src not on the same network
r4-2501#
*Mar  1 00:04:38.955: OSPF: Rcv pkt from 10.1.1.1, Ethernet0, area 0.0.0.0 : src not on the same network
*Mar  1 00:04:39.143: OSPF: Send hello to 224.0.0.5 area 0 on Serial1 from 10.1.3.4
*Mar  1 00:04:39.147: OSPF: Send hello to 224.0.0.5 area 0 on Ethernet0 from 10.1.2.4
r4-2501#
*Mar  1 00:04:41.011: OSPF: Rcv hello from 3.3.3.3 area 0 from Serial1 10.1.3.3
*Mar  1 00:04:41.011: OSPF: End of hello processing
r4-2501#
*Mar  1 00:04:47.527: OSPF: Rcv pkt from 10.1.1.3, Ethernet0, area 0.0.0.0 : src not on the same network
r4-2501#
*Mar  1 00:04:48.955: OSPF: Rcv pkt from 10.1.1.1, Ethernet0, area 0.0.0.0 : src not on the same network
*Mar  1 00:04:49.147: OSPF: Send hello to 224.0.0.5 area 0 on Serial1 from 10.1.3.4
*Mar  1 00:04:49.151: OSPF: Send hello to 224.0.0.5 area 0 on Ethernet0 from 10.1.2.4
r4-2501#
*Mar  1 00:04:51.011: OSPF: Rcv hello from 3.3.3.3 area 0 from Serial1 10.1.3.3
*Mar  1 00:04:51.011: OSPF: End of hello processing
r4-2501#
*Mar  1 00:04:57.527: OSPF: Rcv pkt from 10.1.1.3, Ethernet0, area 0.0.0.0 : src not on the same network
r4-2501#
*Mar  1 00:04:58.955: OSPF: Rcv pkt from 10.1.1.1, Ethernet0, area 0.0.0.0 : src not on the same network
*Mar  1 00:04:59.151: OSPF: Send hello to 224.0.0.5 area 0 on Serial1 from 10.1.3.4
*Mar  1 00:04:59.155: OSPF: Send hello to 224.0.0.5 area 0 on Ethernet0 from 10.1.2.4
r4-2501#
*Mar  1 00:05:01.011: OSPF: Rcv hello from 3.3.3.3 area 0 from Serial1 10.1.3.3
*Mar  1 00:05:01.011: OSPF: End of hello processing
r4-2501#
*Mar  1 00:05:07.527: OSPF: Rcv pkt from 10.1.1.3, Ethernet0, area 0.0.0.0 : src not on the same network
r4-2501#
*Mar  1 00:05:08.955: OSPF: Rcv pkt from 10.1.1.1, Ethernet0, area 0.0.0.0 : src not on the same network
*Mar  1 00:05:09.155: OSPF: Send hello to 224.0.0.5 area 0 on Serial1 from 10.1.3.4
*Mar  1 00:05:09.159: OSPF: Send hello to 224.0.0.5 area 0 on Ethernet0 from 10.1.2.4
r4-2501#
*Mar  1 00:05:11.011: OSPF: Rcv hello from 3.3.3.3 area 0 from Serial1 10.1.3.3
*Mar  1 00:05:11.011: OSPF: End of hello processing
r4-2501#
*Mar  1 00:05:17.527: OSPF: Rcv pkt from 10.1.1.3, Ethernet0, area 0.0.0.0 : src not on the same network
r4-2501#
*Mar  1 00:05:18.955: OSPF: Rcv pkt from 10.1.1.1, Ethernet0, area 0.0.0.0 : src not on the same network
*Mar  1 00:05:19.159: OSPF: Send hello to 224.0.0.5 area 0 on Serial1 from 10.1.3.4
*Mar  1 00:05:19.163: OSPF: Send hello to 224.0.0.5 area 0 on Ethernet0 from 10.1.2.4
r4-2501#
*Mar  1 00:05:21.011: OSPF: Rcv hello from 3.3.3.3 area 0 from Serial1 10.1.3.3
*Mar  1 00:05:21.011: OSPF: End of hello processing
r4-2501#
*Mar  1 00:05:27.527: OSPF: Rcv pkt from 10.1.1.3, Ethernet0, area 0.0.0.0 : src not on the same network
r4-2501#
*Mar  1 00:05:28.955: OSPF: Rcv pkt from 10.1.1.1, Ethernet0, area 0.0.0.0 : src not on the same network
*Mar  1 00:05:29.163: OSPF: Send hello to 224.0.0.5 area 0 on Serial1 from 10.1.3.4
*Mar  1 00:05:29.167: OSPF: Send hello to 224.0.0.5 area 0 on Ethernet0 from 10.1.2.4
这个发出的HELLO消息中的应该包含有:DR是谁,BDR是谁,我的RID是什么,我的邻居为空.

本新闻共2页,当前在第1页  1  2  

相关新闻
推荐文章