欢迎来到天天文库
浏览记录
ID:43963592
大小:290.63 KB
页数:8页
时间:2019-10-17
《基于源地址的策略路由》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、基丁•源地址的策略路由2009-03-2515:42实验目的:根据不同来源地址的流量,通过策略路由选择不同的出口:在这个实验小,源地址为211.141.1.0/24的数据必须经由R2的F0/0流出,经过R3再到达VMwarePC192.168.2.1;在这个实验中,源地址为172.16.1.0/24的数据必须经由R2的F0/1流出,进过R1再到达VMwarePC192.168.2.1。实验的硕件设施:路由器3台2600系列交换机1台3640系列桥接虚拟机1台VMwareXP系统VPC2台DynamipsGUI自带实
2、验拓扑图:路由器R2上的E1/O和E1/1接口的IP地址分配:E1/O:211.141.1.254/24E1/1:172.16.1.254/24211.141.1.1/24VPC1R1172.17.1.0/24(/
3、FO/OFO/iprnrFO/1E1/OE1/1.1FO/O172.16.1.1/24VPC2192.168.2.2/24VMwarePCFO/14192.16&2.1/24172.17.2.0/24.2拓扑由tigerSGS制作FO/15FO/1192.168.2.3/24硬件器材的物理连接:Rou
4、terlF0/0<>Router2F0/1Router3F0/0<>Router2F0/0VPCSV0/1<——>Router2El/0VPCSVO/2<——>Router2El/1RouterlF0/1<——>SwitchlFO/14Router3F0/1<——>SwitchlFO/15XPCP0/0<——>SwitchlF0/0路由器R1的配置信息:Rl#shrunBuildingconfiguration...Currentconfiguration:i■version12.1servicetimestamp
5、sdebuguptimeservicetimestampsloguptimenoservicepassword-encryption■hostnameR1iI•memory-sizeiomem15ipsubnet-zctonoipdomain-lookupiIinterfaceFastEthernetO/0ipaddress172.17.1.1255・255・255・0duplexautospeedautoiinterfaceFastEthernetO/1ipaddress192.168.2.2255.255.25
6、5.0speed100full-duplex•routerripversion2network172.17.0.0network192.16&2.0noanto-summaryi■ipclasslessnoiphttpserveriI■linecon0exec-timeout00loggingsynchronoustransportinputnonelineaux0linevty04■noschedulerallocateend路rtl器R2的主要配置(人家应该重点看看这里哦):R2#shrunBuildingco
7、nfiguration…Currentconfiguration:i•version12.1servicetimestampsdebuguptimeservicetimestampsloguptimenoservicepassword-encryptionihostnameR2i■I■memory-sizeiomem15ipsubnet-zeronoipdomain-lookup■I■interfaceFastEthernetO/Oipaddress172.17.2.1255.255.255.0duplexauto
8、speedautoi■interfaceFastEthernetO/1ipaddress172.17.1.2255.255.255.0duplexautospeedautoi■interfaceEthernetl/0ipaddress211.141.1.254255.255.255.0ippolicyroute-mapISP_R3(将ROUTE-MAP应用在这个接口上,在该接口上检测源IP并将其从特定端口发送出去)I■interfaceEthernetl/1ipaddress172.16.1.254255.255.
9、255.0ippolicyroute-mapISP_R1(将ROUTE-MAP应用在这个接口上,在该接口上检测源IP并将其从特定端口发送出去)I■interfaceEthernetl/2noipaddressshutdowni■interfaceEthernetl/3noipaddressshutdowni■routerripversion2network1
此文档下载收益归作者所有