已阅读5页,还剩2页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
路由协议重分发 设备接口Ip 地址子网掩码 F0 0192 168 1 1255 255 255 0R1 Loopback 01 1 1 1255 255 255 0 F1 0192 168 2 1255 255 255 0R2 Loopback 02 2 2 2255 255 255 0 F0 0192 168 3 1255 255 255 0R3 Loopback 03 3 3 3255 255 255 0 F0 0192 168 1 2255 255 255 0 F1 0192 168 2 2255 255 255 0 R4 F6 0192 168 3 2255 255 255 0 1 路由器的基本配置 R1 Router Router enable Router conf t Router config hostname R1 R1 config int f0 0 R1 config if ip add 192 168 1 1 255 255 255 0 R1 config if no shut R1 config if exit R1 config int l R1 config int loopback 0 R1 config if ip add 1 1 1 1 255 255 255 0 R1 config if no shut R1 config if exit R1 config R2 Router Router enable Router conf t Router config hostname R2 R2 config int f1 0 R2 config if ip add 192 168 2 1 255 255 255 0 R2 config if no shut R2 config if exit R2 config int loopback 0 R2 config if ip add 2 2 2 2 255 255 255 0 R2 config R3 Router enable Router conf t Router config hostname R3 R3 config int f0 0 R3 config if ip add 192 168 3 1 255 255 255 0 R3 config if no shut R3 config if exit R3 config int l R3 config int loopback 0 R3 config if ip add 3 3 3 3 255 255 255 0 R3 config if exit R3 config R4 Router enable Router conf t Router config hostname R4 R4 config int f0 0 R4 config if ip ad 192 168 1 2 255 255 255 0 R4 config if no shut R4 config if exit R4 config int f1 0 R4 config if ip add 192 168 2 2 255 255 255 0 R4 config if no shut R4 config if exit R4 config int f6 0 R4 config if ip add 192 168 3 2 255 255 255 0 R4 config if no shut R4 config if exit R4 config 2 配置路由器协议 R1 RIP 协议 R1 config router rip R1 config router version 2 R1 config router no auto summary R1 config router net 192 168 1 0 R1 config router net 1 1 1 1 R1 config router exit R2 OSPF 协议 R2 config router ospf 1 R2 config router network 192 168 2 0 0 0 0 255 area 0 R2 config router network 2 2 2 0 0 0 0 255 area 0 R2 config router exit R3 EIGRP 协议 R3 config router eigrp 1 R3 config router no auto summary R3 config router network 192 168 3 0 R3 config router network 3 3 3 0 R3 config router exit R4 RIP R4 config router rip R4 config router version 2 R4 config router no auto summary R4 config router network 192 168 1 0 R4 config router exit OSPF R4 config router ospf 1 R4 config router net 192 168 2 0 0 0 0 255 a R4 config router net 192 168 2 0 0 0 0 255 area 0 R4 config router exit EIGRP R4 config router eigrp 1 R4 config router no auto summary R4 config router network 192 168 3 0 R4 config router exit R4 config 测试 R4 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 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 1 0 0 0 24 is subnetted 1 subnets R 1 1 1 0 120 1 via 192 168 1 1 00 00 02 FastEthernet0 0 2 0 0 0 32 is subnetted 1 subnets O 2 2 2 2 110 2 via 192 168 2 1 00 01 10 FastEthernet1 0 3 0 0 0 24 is subnetted 1 subnets D 3 3 3 0 90 156160 via 192 168 3 1 00 00 55 FastEthernet6 0 C 192 168 1 0 24 is directly connected FastEthernet0 0 C 192 168 2 0 24 is directly connected FastEthernet1 0 C 192 168 3 0 24 is directly connected FastEthernet6 0 R4 配置路由协议重分发 RIP R4 config router rip R4 config router redistribute ospf 1 metric 3 R4 config router redistribute eigrp 1 metric 3 R4 config router exit R1 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 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 1 0 0 0 24 is subnetted 1 subnets C 1 1 1 0 is directly connected Loopback0 2 0 0 0 32 is subnetted 1 subnets R 2 2 2 2 120 3 via 192 168 1 2 00 00 11 FastEthernet0 0 3 0 0 0 24 is subnetted 1 subnets R 3 3 3 0 120 3 via 192 168 1 2 00 00 11 FastEthernet0 0 C 192 168 1 0 24 is directly connected FastEthernet0 0 R 192 168 2 0 24 120 3 via 192 168 1 2 00 00 11 FastEthernet0 0 R 192 168 3 0 24 120 3 via 192 168 1 2 00 00 11 FastEthernet0 0 R1 OSPF R4 config router ospf 1 R4 config router redistribute rip subnets R4 config router redistribute eigrp 1 subnets R4 config router R2 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 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 1 0 0 0 24 is subnetted 1 subnets O E2 1 1 1 0 110 20 via 192 168 2 2 00 00 40 FastEthernet1 0 2 0 0 0 24 is subnetted 1 subnets C 2 2 2 0 is directly connected Loopback0 3 0 0 0 24 is subnetted 1 subnets O E2 3 3 3 0 110 20 via 192 168 2 2 00 00 29 FastEthernet1 0 O E2 192 168 1 0 24 110 20 via 192 168 2 2 00 00 40 FastEthernet1 0 C 192 168 2 0 24 is directly connected FastEthernet1 0 O E2 192 168 3 0 24 110 20 via 192 168 2 2 00 00 29 FastEthernet1 0 EIGRP R4 config router eigrp 1 R4 config router redistribute rip metric 15000 10 255 1 1500 R4 config router redistribute ospf 1 metric 15000 10 255 1 1500 R4 config router exit R4 config 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 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 1 0 0 0 24 is subnetted 1 subnets D EX 1 1 1 0 170 175616 via 192 168 3 2 00 02 12 FastEthernet0 0 2 0 0 0 32 is subnetted 1 subnets D EX 2 2 2 2 170 175616 via 192 168 3 2 00 01 43 FastEthernet0 0 3 0 0 0 24 is subnetted 1 subnets C 3 3 3 0 is directly connected Loopback0 D EX 192 168 1 0 24 170 175616 via 192 168 3 2 00 02 12 FastEthernet0 0 D EX 192 168 2 0 24 170 175616 via 192 168 3 2 00 01 43 FastEthernet0 0 C 192 168 3 0 24 is directly connected FastEthernet0 0 R3 最后测试所有地址能通信 R1 ping 2 2 2 2 Type 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 0 0 0 ms R1 ping 3 3 3 3 Type escape sequence to abort Sending 5 100 byte ICMP Echos to 3 3 3 3 timeout is 2 seconds Success rate
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 船舶附件制造工安全素养考核试卷含答案
- 金属炊具及器皿制作工班组评比考核试卷含答案
- 继电器装配工创新意识水平考核试卷含答案
- 矿用电机车电气装配工操作规范水平考核试卷含答案
- 混铁炉工安全生产意识竞赛考核试卷含答案
- 2025年掺混肥合作协议书
- 2025年TFT系列偏光片项目合作计划书
- 2025年聚L-乳酸项目发展计划
- 2026年智能恒温控制系统项目评估报告
- 牡蛎科普教学课件
- 语音厅新人培训课件
- 北京市通州区2024-2025学年七年级下学期期末道德与法治试题(含答案)
- 地质年代学-洞察及研究
- 儿童游乐园安全知识培训课件
- 员工心理健康疏导培训
- TCFLP0030-2021国有企业网上商城采购交易操作规范
- 仪表设备管理规划
- 手外伤课件教学课件
- 假肢器械基础知识培训课件
- 可摘局部义齿印模技术
- 观赏鱼水族箱制造创新创业项目商业计划书
评论
0/150
提交评论