workatlab
ITAA会员
ITAA会员
头像

注册: 2006-6月-03
所在地: India
在线状态: 离线
发帖数: 319
引用 workatlab 回复bullet 主题: 1.10配置RIP的单播更新
    发表:  2006-7月-11 12:18
今天在回过头来做实验手册一的时候发现了一个问题发上来跟大家共享一下!
在1.10配置RIP的单播更新中曾经有人问题如果在广播和单播(neighbor)的情况下那种工作会优先?
我在实验1.10的基础做了一点改进,得出了结论是单播。
具体是这样的!
1、我在r2上加了一个环回
r2(config)#int loopback 0
r2(config-if)#ip address 192.1.2.2 255.255.255.0
r2(config-if)#router rip
r2(config-router)#network 192.1.1.0
2、启用neighbor以后在r2的s1接口上应用passive-interface serial 1
r2(config)#router rip
r2(config-router)#passive-interface serial 1
3、在r3看实验现象
在加入neighbor前启用passive-interface serial 1前r3的现象是:
r3#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
C    192.1.1.0/24 is directly connected, Serial0
R    148.1.0.0/16 [120/1] via 192.1.1.1, 00:00:18, Serial0
R    192.1.2.0/24 [120/2] via 192.1.1.1, 00:00:18, Serial0
在加入neighbor后启用passive-interface serial 1后r3的现象是(clear ip route *):
r3#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
C    192.1.1.0/24 is directly connected, Serial0
R    148.1.0.0/16 [120/1] via 192.1.1.1, 00:00:12, Serial0
R    192.1.2.0/24 [120/2] via 192.1.1.1, 00:00:12, Serial0
4、结论是单播优先。
恳求指正!!!
 
IP IP已记录
Etian
ITAA会员
ITAA会员
头像

注册: 2006-4月-21
所在地: India
在线状态: 离线
发帖数: 289
引用 Etian 回复bullet 发表:  2006-7月-11 13:32
有一些小小的疑问:
workatlab分别讨论了
在加入neighbor启用passive-interface serial 1r3的ip route
在加入neighbor启用passive-interface serial 1r3的ip route
我想知道
在加入neighbor启用passive-interface serial 1r3的ip route
加入neighbor启用passive-interface serial 1r3的ip route
它们分别有什么变化?
心有惊雷,而面若平湖者,可拜上将军!
真的勇士,敢于直面淋漓的鲜血,敢于正视惨淡的人生!!

最喜欢贴文档!!!

2006-07-14_230038_Etian.jpg
IP IP已记录
workatlab
ITAA会员
ITAA会员
头像

注册: 2006-6月-03
所在地: India
在线状态: 离线
发帖数: 319
引用 workatlab 回复bullet 发表:  2006-7月-11 13:39
引用 Etian 发表的内容:
有一些小小的疑问:
workatlab分别讨论了
在加入neighbor启用passive-interface serial 1r3的ip route
在加入neighbor启用passive-interface serial 1r3的ip route
我想知道
在加入neighbor启用passive-interface serial 1r3的ip route
加入neighbor启用passive-interface serial 1r3的ip route
它们分别有什么变化?
我想象中的分别是下面:
r3#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
C    192.1.1.0/24 is directly connected, Serial0
R    148.1.0.0/16 [120/1] via 192.1.1.1, 00:00:12, Serial0
r3#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
C    192.1.1.0/24 is directly connected, Serial0
R    148.1.0.0/16 [120/1] via 192.1.1.1, 00:00:12, Serial0
R    193.1.2.0/24 [120/2] via 192.1.1.1, 00:00:12, Serial0
可以得出答案!



 
IP IP已记录
Etian
ITAA会员
ITAA会员
头像

注册: 2006-4月-21
所在地: India
在线状态: 离线
发帖数: 289
引用 Etian 回复bullet 发表:  2006-7月-11 13:59
我做实验验证
心有惊雷,而面若平湖者,可拜上将军!
真的勇士,敢于直面淋漓的鲜血,敢于正视惨淡的人生!!

最喜欢贴文档!!!

2006-07-14_230038_Etian.jpg
IP IP已记录
workatlab
ITAA会员
ITAA会员
头像

注册: 2006-6月-03
所在地: India
在线状态: 离线
发帖数: 319
引用 workatlab 回复bullet 发表:  2006-7月-11 14:04
 
现在就可以想象得到结果啦!
IP IP已记录
Guests
Guest
Guest

引用 Guests 回复bullet 发表:  2006-7月-11 19:55
不错!!推荐像workatlab这样用实验说话!
当你把要点全部掌握后,可以只看配置,就能写出每台路由器的路由表。 smiley1.gif
IP IP已记录
workatlab
ITAA会员
ITAA会员
头像

注册: 2006-6月-03
所在地: India
在线状态: 离线
发帖数: 319
引用 workatlab 回复bullet 发表:  2006-7月-12 10:32
引用 Etian 发表的内容:
在加入neighbor启用passive-interface serial 1r3的ip route
r3#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
C    192.1.1.0/24 is directly connected, Serial0
R    148.1.0.0/16 [120/1] via 192.1.1.1, 00:00:29, Serial0
 
IP IP已记录
workatlab
ITAA会员
ITAA会员
头像

注册: 2006-6月-03
所在地: India
在线状态: 离线
发帖数: 319
引用 workatlab 回复bullet 发表:  2006-7月-12 10:36
引用 Etian 发表的内容:
加入neighbor启用passive-interface serial 1r3的ip route
r3#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
R    193.1.1.0/24 [120/2] via 192.1.1.1, 00:00:22, Serial0
C    192.1.1.0/24 is directly connected, Serial0
R    148.1.0.0/16 [120/1] via 192.1.1.1, 00:00:22, Serial0
 
IP IP已记录
Etian
ITAA会员
ITAA会员
头像

注册: 2006-4月-21
所在地: India
在线状态: 离线
发帖数: 289
引用 Etian 回复bullet 发表:  2006-7月-12 10:54
呵呵。。加油
心有惊雷,而面若平湖者,可拜上将军!
真的勇士,敢于直面淋漓的鲜血,敢于正视惨淡的人生!!

最喜欢贴文档!!!