实验78-点到多点子接口非广播模式(ospf)
《实验78-点到多点子接口非广播模式(ospf)》由会员分享,可在线阅读,更多相关《实验78-点到多点子接口非广播模式(ospf)(5页珍藏版)》请在装配图网上搜索。
1、实验七十八 点对多点子接口非广播模式(ospf)一、 实验目的1):本实验的目的是通过帧中继上点对多点子接口非广播模式的配置,让我们对帧中继点对多点子接口非广播模式的工作原理有更深的认识。2):掌握帧中继点对多点子接口非广播模式的配置方法,对它在网络上的应用有更深的了解。二、实验要求:1):知道什么是帧中继点对多点子接口非广播模式2):简述帧中继 的工作过程三、 实验内容:让它们相互能够通信四、实验步骤:实验拓扑1)配置FR帧中继 FR(config)#frame-relay switching FR(config)#int s0/0 FR(config-if)#encapsulation f
2、rame-relayFR(config-if)#frame-relay intf-type dceFR(config-if)#clock rate 64000FR(config-if)no shFR(config-if)#frame-relay router 102 int s0/1 201FR(config-if)#frame-relay router 103 int s0/2 301FR(config)#frame-relay switching FR(config)#int s0/1 FR(config-if)#encapsulation frame-relayFR(config-if)
3、#frame-relay intf-type dceFR(config-if)#clock rate 64000FR(config-if)no shFR(config-if)#frame-relay router 201 int s0/0 102FR(config-if)#frame-relay router 202 int s0/2 102FR(config)#frame-relay switching FR(config)#int s0/2 FR(config-if)#encapsulation frame-relayFR(config-if)#frame-relay intf-type
4、dceFR(config-if)#clock rate 64000FR(config-if)no shFR(config-if)#frame-relay router 301 int s0/0 103FR(config-if)#frame-relay router 302 int s0/1 2022).R1的配置 R1(config)#int s0/0 R1(config-if)#encapsulation frame-relay R1(config-if)#no sh R1(config)#int s0/0.1 multipoint R1(config-subif)#ip add 199.1
5、78.1.1 255.255.255.0 R1(config-subif)#ip ospf net point-to-multipoint R1(config-subif)#frame-relay map ip 199.178.1.2 102 broadcost non-broadcostR1(config-subif)#frame-relay map ip 199.178.1.3 103 broadcost non-broadcostR1(config)#int lo0 R1(config-if)#ip add 1.1.1.1 255.255.255.0 R1(config)#router
6、ospf 1 R1(config-router)#net 199.178.1.0 0.0.0.255 area 0R1(config-router)#net 1.1.1.0 0.0.0.255 area 03).R2的配置 R2(config)#int s0/0 R2(config-if)#ip add 199.178.1.2 255.255.255.0 R2(config-if)#encapsulation frame-relay R2(config-if)#no sh R2(config-if)#ip ospf net point-to-multipointR2(config-subif)
7、#frame-relay map ip 199.178.1.1 201 broadcost R2(config)#int lo0 R2(config-if)#ip add 2.2.2.2 255.255.255.0R2(config)#router ospf 1 R2(config-router)#net 199.178.1.0 0.0.0.255 area 0 R2(config-router)#net 2.2.2.0 0.0.0.255 area 04).R3的配置 R3(config)#int s0/0 R3(config-if)#ip add 199.178.1.3 255.255.2
8、55.0 R3(config-if)#encapsulation frame-relay R3(config-if)#no sh R3(config-if)# ip ospf net point-to-multipoint R3(config-subif)#frame-relay map ip 199.178.1.3 301 broadcost R3(config)#int lo0 R3(config-if)#ip add 3.3.3.3 255.255.255.0R3(config)#router ospf 1 R3(config-router)#net 199.178.1.0 0.0.0.
9、255 area 0 R3(config-router)#net 3.3.3.0 0.0.0.255 area 05).查看邻居R1#sh ip ospf neiR1#R2#sh ip ospf neiR2#R3#sh ip ospf neiR3#可以看出它们需要手工建立邻居6).建立邻居R1(config-router)#nei 199.178.1.2R1(config-router)#nei 199.178.1.3R3(config-router)#nei 199.178.1.1R3(config-router)#nei 199.178.1.17).查看邻居R1#sh ip ospf ne
10、iNeighbor ID Pri State Dead Time Address Interface2.2.2.2 0 FULL/ - 00:01:54 199.178.1.2 Serial0/0.13.3.3.3 0 FULL/ - 00:01:49 199.178.1.3 Serial0/0.1R2#sh ip ospf neiNeighbor ID Pri State Dead Time Address Interface1.1.1.1 0 FULL/ - 00:01:55 199.178.1.1 Serial0/1R3#sh ip ospf neiNeighbor ID Pri Sta
11、te Dead Time Address Interface1.1.1.1 0 FULL/ - 00:01:36 199.178.1.1 Serial0/2可以看出已经建立了邻居关系,但不选举DR8).查看路由表R3#sh ip route Codes: C - connected, S - static, 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 extern
12、al type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 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 routeGateway of last resort is not set 1.0.0.0/32 is su
13、bnetted, 1 subnetsO 1.1.1.1 110/65 via 199.178.1.1, 00:00:06, Serial0/2 2.0.0.0/32 is subnetted, 1 subnetsO 2.2.2.2 110/129 via 199.178.1.1, 00:00:06, Serial0/2 3.0.0.0/24 is subnetted, 1 subnetsC 3.3.3.0 is directly connected, Loopback0 199.178.1.0/24 is variably subnetted, 3 subnets, 2 masksC 199.
14、178.1.0/24 is directly connected, Serial0/2O 199.178.1.1/32 110/64 via 199.178.1.1, 00:00:06, Serial0/2O 199.178.1.2/32 110/128 via 199.178.1.1, 00:00:06, Serial0/2可以看出路由信息已经全部获取到了。9).测试连通性 R3#ping 1.1.1.1Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:!Success rate is 100 percent (5/5), round-trip min/avg/max = 40/78/124 msR3#ping 2.2.2.2Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:!Success rate is 100 percent (5/5), round-trip min/avg/max = 124/201/308 ms从上面结果可以看出它们之间是可以相互通信的,不要手工建立映射。
- 温馨提示:
1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
2: 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
3.本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。