資源描述:
《基于源地址的策略路由》由會(huì)員上傳分享,免費(fèi)在線(xiàn)閱讀,更多相關(guān)內(nèi)容在工程資料-天天文庫(kù)。
1、基丁?源地址的策略路由2009-03-2515:42實(shí)驗(yàn)?zāi)康模焊鶕?jù)不同來(lái)源地址的流量,通過(guò)策略路由選擇不同的出口:在這個(gè)實(shí)驗(yàn)小,源地址為211.141.1.0/24的數(shù)據(jù)必須經(jīng)由R2的F0/0流出,經(jīng)過(guò)R3再到達(dá)VMwarePC192.168.2.1;在這個(gè)實(shí)驗(yàn)中,源地址為172.16.1.0/24的數(shù)據(jù)必須經(jīng)由R2的F0/1流出,進(jìn)過(guò)R1再到達(dá)VMwarePC192.168.2.1。實(shí)驗(yàn)的碩件設(shè)施:路由器3臺(tái)2600系列交換機(jī)1臺(tái)3640系列橋接虛擬機(jī)1臺(tái)VMwareXP系統(tǒng)VPC2臺(tái)DynamipsGUI自帶實(shí)
2、驗(yàn)拓?fù)鋱D:路由器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拓?fù)溆蓆igerSGS制作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的主要配置(人家應(yīng)該重點(diǎn)看看這里哦):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應(yīng)用在這個(gè)接口上,在該接口上檢測(cè)源IP并將其從特定端口發(fā)送出去)I■interfaceEthernetl/1ipaddress172.16.1.254255.255.
9、255.0ippolicyroute-mapISP_R1(將ROUTE-MAP應(yīng)用在這個(gè)接口上,在該接口上檢測(cè)源IP并將其從特定端口發(fā)送出去)I■interfaceEthernetl/2noipaddressshutdowni■interfaceEthernetl/3noipaddressshutdowni■routerripversion2network1