策略路由实验配置.doc_第1页
策略路由实验配置.doc_第2页
策略路由实验配置.doc_第3页
策略路由实验配置.doc_第4页
策略路由实验配置.doc_第5页
已阅读5页,还剩3页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

计 算 机 类 课 程 实 验 报 告院/系: 网络工程 课程名称:广域网技术班级姓名学号实验室号日期年 月 日组号计算机号实验名称策略路由得分情况一二三四五六成绩评定实 验 内 容 要 求 实验目的:掌握策略路由的配置(route map)。实现功能:通过策略实现对数据流向上的控制。实 验 拓 扑 以 及 IP 地 址 规 划实现功能:通过策略使1.1.1.0网段的用户数据都通过R2向外传输,其他的通过R3向外传输。备注:本实验报告用于计算机类相关课程的实验,务必按时、按要求完成。不交此报告者,本次实验为“不合格”。实 验 主 要 步 骤 与 配 置 内 容基本配置:R1interface Loopback1 ip address 1.1.1.1 255.255.255.0interface Loopback2 ip address 11.1.1.1 255.255.255.0interface FastEthernet0/0 ip address 12.1.1.1 255.255.255.0duplex auto speed autointerface FastEthernet0/1 ip address 13.1.1.1 255.255.255.0 duplex auto speed auto!router ospf 10 log-adjacency-changes network 1.1.1.0 0.0.0.255 area 0 network 11.1.1.0 0.0.0.255 area 0 network 12.1.1.0 0.0.0.255 area 0 network 13.1.1.0 0.0.0.255 area 0R2interface Loopback0 ip address 2.2.2.2 255.255.255.0!interface FastEthernet0/0 ip address 12.1.1.2 255.255.255.0 duplex auto speed auto!interface FastEthernet0/1 ip address 24.1.1.1 255.255.255.0 duplex auto speed auto!router ospf 10 log-adjacency-changes network 2.2.2.0 0.0.0.255 area 0 network 12.1.1.0 0.0.0.255 area (写不完时,可另附稿纸。)备注:本实验报告用于计算机类相关课程的实验,务必按时、按要求完成。不交此报告者,本次实验为“不合格”。实 验 主 要 步 骤 与 配 置 内 容 network 24.1.1.0 0.0.0.255 area 0R3interface Loopback0 ip address 3.3.3.3 255.255.255.0!interface FastEthernet0/0 ip address 13.1.1.2 255.255.255.0 duplex auto speed auto!interface FastEthernet0/1 ip address 34.1.1.1 255.255.255.0 duplex auto speed auto!router ospf 10 log-adjacency-changes network 3.3.3.0 0.0.0.255 area 0 network 13.1.1.0 0.0.0.255 area 0 network 34.1.1.0 0.0.0.255 area 0验证测试:r1#sho ip *Mar 1 00:50:56.387: %SYS-5-CONFIG_I: Configured from console by consolerouCodes: 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 external 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 34.0.0.0/24 is subnetted, 1 subnetsO 34.1.1.0 110/20 via 13.1.1.2, 00:18:37, FastEthernet0/1 1.0.0.0/24 is subnetted, 1 subnetsC 1.1.1.0 is directly connected, Loopback1 2.0.0.0/32 is subnetted, 1 subnetsO 2.2.2.2 110/11 via 12.1.1.2, 00:45:33, FastEthernet0/0 3.0.0.0/32 is subnetted, 1 subnetsO 3.3.3.3 110/11 via 13.1.1.2, 00:19:48, FastEthernet0/1 11.0.0.0/24 is subnetted, 1 subnetsC 11.1.1.0 is directly connected, Loopback2 12.0.0.0/24 is subnetted, 1 subnetsC 12.1.1.0 is directly connected, FastEthernet0/0 13.0.0.0/24 is subnetted, 1 subnetsC 13.1.1.0 is directly connected, FastEthernet0/1(写不完时,可另附稿纸。)实 验 主 要 步 骤 与 配 置 内 容 11.0.0.0/24 is subnetted, 1 subnetsC 11.1.1.0 is directly connected, Loopback2 12.0.0.0/24 is subnetted, 1 subnetsC 12.1.1.0 is directly connected, FastEthernet0/0 13.0.0.0/24 is subnetted, 1 subnetsC 13.1.1.0 is directly connected, FastEthernet0/1r1#ping 3.3.3.3Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:!Success rate is 100 percent (5/5), round-trip min/avg/max = 4/84/208 msr1#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 = 1/65/200 ms配置策略路由:r1#sho access-lists Standard IP access list 1 10 permit 1.1.1.0, wildcard bits 0.0.0.255r1#r1#r1#sho run | sec route-map ip policy route-map AAAroute-map AAA permit 11 match ip address 1 set ip next-hop 12.1.1.2route-map AAA permit 20(写不完时,可另附稿纸。)实 验 主 要 步 骤 与 配 置 内 容 interface FastEthernet0/0

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论