静态路由实验报告

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

静态浮动路由一、实验目的(蓝色字体为参考格式,具体内容结合实验编写)1.掌握静态路由的原理及配置;2.掌握静态缺省路由的原理及配置;3.掌握静态浮动路由的原理及配置;二、实验要求举例说明:该部分可以是实习项目的实际需求(根据实习的实际内容自己填写)某公司网络如图所示:其中pc2是内网电脑,要求在pc2上能ping通pc1(服务器8.8.8.8);在公司的边界路由器上为了可靠性使用了双线做备份,但是查看RT2路由表正常情况下只能看到202.112.1.1为下一跳的路由,当202.112.1.1网段的线缆断了才会出现202.113.1.1为下一跳的路由,在RT1上也是同理;只能看到112的路由,当112链路断掉才会出现113链路为下一跳的路由;三、实验内容及步骤1网络拓扑(例如下图所示)2方法和步骤2.1:配置IP地址:RT1:RT1system-viewSystemView:returntoUserViewwithCtrl+Z.[RT1]intg0/0/1[RT1-GigabitEthernet0/0/1]ipadd12.1.1.1255.255.255.0[RT1-GigabitEthernet0/0/1]intg0/0/2[RT1-GigabitEthernet0/0/2]ipadd10.1.1.1255.255.255.0[RT1-GigabitEthernet0/0/2]intlo0[RT1-LoopBack0]ipadd1.1.1.1255.255.255.255RT2:RT2system-viewSystemView:returntoUserViewwithCtrl+Z.[RT2]intg0/0/1[RT2-GigabitEthernet0/0/1]ipadd12.1.1.2255.255.255.0[RT2-GigabitEthernet0/0/1]intg0/0/2[RT2-GigabitEthernet0/0/2]ipadd10.1.1.2255.255.255.0[RT2-GigabitEthernet0/0/2]intg0/0/0[RT2-GigabitEthernet0/0/0]ipadd23.1.1.2255.255.255.0RT3:RT3sySystemView:returntoUserViewwithCtrl+Z.[RT3]intg0/0/0[RT3-GigabitEthernet0/0/0]ipadd23.1.1.3255.255.255.0[RT3-GigabitEthernet0/0/0]intlo0[RT3-LoopBack0]ipadd3.3.3.3255.255.255.2552.2.1:配置RT3的静态路由:[RT3]iproute-static12.1.1.0255.255.255.0g0/0/023.1.1.2[RT3]iproute-static1.1.1.1255.255.255.255g0/0/023.1.1.22.2.2:配置RT2的静态路由:[RT2]iproute-static1.1.1.1255.255.255.255g0/0/112.1.1.1[RT2]iproute-static1.1.1.1255.255.255.255g0/0/210.1.1.1preference61[RT2]iproute-static3.3.3.3255.255.255.255g0/0/023.1.1.32.2.3:配置RT1的静态路由:[RT1]iproute-static23.1.1.3255.255.255.0g0/0/112.1.1.2[RT1]iproute-static23.1.1.3255.255.255.0g0/0/210.1.1.2preference61[RT1]iproute-static3.3.3.3255.255.255.255g0/0/210.1.1.2preference61[RT1]iproute-static3.3.3.3255.255.255.255g0/0/112.1.1.2验证:Pc2能ping通pc1查看路由表RT1:[RT1]disiprouting-tableRoutingTables:PublicDestinations:10Routes:11Destination/MaskProtoPreCostNextHopInterface8.8.8.0/24Direct008.8.8.1GE0/0/28.8.8.1/32Direct00127.0.0.1InLoop010.0.12.0/24Static200202.112.1.2GE0/0/0127.0.0.0/8Direct00127.0.0.1InLoop0127.0.0.1/32Direct00127.0.0.1InLoop0192.168.1.0/24Static600202.113.1.2GE0/0/1Static600202.112.1.2GE0/0/0202.112.1.0/24Direct00202.112.1.1GE0/0/0202.112.1.1/32Direct00127.0.0.1InLoop0202.113.1.0/24Direct00202.113.1.1GE0/0/1202.113.1.1/32Direct00127.0.0.1InLoop0RT2:[RT2]disiproRoutingTables:PublicDestinations:10Routes:10Destination/MaskProtoPreCostNextHopInterface8.8.8.0/24Static200202.112.1.1GE0/0/010.0.12.0/24Direct0010.0.12.1GE0/0/110.0.12.1/32Direct00127.0.0.1InLoop0127.0.0.0/8Direct00127.0.0.1InLoop0127.0.0.1/32Direct00127.0.0.1InLoop0192.168.1.0/24Static60010.0.12.2GE0/0/1202.112.1.0/24Direct00202.112.1.2GE0/0/0202.112.1.2/32Direct00127.0.0.1InLoop0202.113.1.0/24Direct00202.113.1.2GE0/0/2202.113.1.2/32Direct00127.0.0.1InLoop0RT3:[RT3]disiprodisiproRoutingTables:PublicDestinations:9Routes:9Destination/MaskProtoPreCostNextHopInterface8.8.8.0/24Static60010.0.12.1GE0/0/010.0.12.0/24Direct0010.0.12.2GE0/0/010.0.12.2/32Direct00127.0.0.1InLoop0127.0.0.0/8Direct00127.0.0.1InLoop0127.0.0.1/32Direct00127.0.0.1InLoop0192.168.1.0/24Direct00192.168.1.1GE0/0/1192.168.1.1/32Direct00127.0.0.1InLoop0202.112.1.0/24Static60010.0.12.1GE0/0/0202.113.1.0/24Static60010.0.12.1GE0/0/0四、实验心得及体会通过这次试验,掌握了静态路由的原理及配置,还有静态缺省路由和静态浮动路由的原理及配置,静态路由适用小型网络。

1 / 5
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功