用靜態(tài)路由實現(xiàn)路由備份和負載分擔_第1頁
用靜態(tài)路由實現(xiàn)路由備份和負載分擔_第2頁
用靜態(tài)路由實現(xiàn)路由備份和負載分擔_第3頁
全文預覽已結束

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領

文檔簡介

1、用靜態(tài)路由實現(xiàn)路由備份和負載分擔下面用圖2-2所示的拓撲結構來演示靜態(tài)路由如何實現(xiàn)路由備份和負載分擔。以上拓撲結構中各路由器接口的IP地址如表2-2所示。表2-2路由器IP地址表1RT-1PRT-2.RT-3 甲RT-4p禳由JP地址地田IP地址-.接口。IP地址口桂口口IP地址。EO/(kECW60.1.1.1/24501.1.1/3 (k31仰40.1.1.1/3.50.1.1.2/30罰 1.1.1/3WSW30,1,1,1/擬40.1 遂3成就V想以下為各路由器的基本配置。RT-1:RT-1int e0/0RT-1-Ethernet0/0ip add 10.1.1.1 24RT-1-E

2、thernet0/0int s1/0RT-1-Serial1/0ip add 20.1.1.1 30RT-1-Serial1/0int s2/0RT-1-Serial2/0ip add 30.1.1.1 30RT-2:RT-2int s1/0RT-2-Serial1/0ip add 20.1.1.2 30RT-2-Serial1/0int s3/0RT-2-Serial3/0ip add 40.1.1.1 30RT-3:RT-3int e0/015. RT-3-Ethernet0/0ip add 60.1.1.1 2416. RT-3-Ethernet0/0int s1/017. RT-3-S

3、erial1/0ipadd 50.1.1.23018. RT-3-Serial1/0ints2/019. RT-3-Serial2/0ipadd 40.1.1.23020. RT-4:21. RT-4int s1/022. RT-4-Serial1/0ipadd 50.1.1.13023. RT-4-Serial1/0ints3/024. RT-4-Serial3/0ipadd 30.1.1.230在圖2-2所示的拓撲結構中,不管是負載分擔方式還是路由備份方式,對路由器RT-2和RT-4的靜態(tài)路由 配置都是一樣的。下面先給出路由器RT-2和RT-4的路由配置。1. RT-2:2.RT-2ipr

4、oute-static10.1.1.02420.1.1.13.RT-2iproute-static60.1.1.02440.1.1.24.RT-4:5.RT-4iproute-static10.1.1.02430.1.1.16.RT-4iproute-static60.1.1.02450.1.1.2主備模式配置假如讓10.1.1.0/24網段和60.1.1.0/24網段之間的兩條路徑運行在主備模式,即通過RT-2路由轉 發(fā)的路徑為主路徑,通過RT-4轉發(fā)的路徑是備份路徑。在正常情況下,通過主路徑轉發(fā)數(shù)據包,只有在 主路徑故障的情況下才使用備份路徑。要實現(xiàn)以上要求,RT-1、RT-3路由器的配置

5、如下:1. RT-1:RT-1ip route-static 60.1.1.0 24 20.1.1.2 preference 50RT-1ip route-static 60.1.1.0 24 30.1.1.2 preference 80RT-1dis ip routing-tableRouting Tables: Public6.Destinations : 11Routes : 11Interface7.Destination/MaskProtoPreCostNextHop9.10. 10.1.1.0/24Direct0010.1.1.1Eth0/011. 10.1.1.1/32Direc

6、t00127.0.0.1InLoop012. 20.1.1.0/30Direct0020.1.1.1S1/013. 20.1.1.1/32Direct00127.0.0.1InLoop014. 20.1.1.2/32Direct0020.1.1.2S1/015. 30.1.1.0/30Direct0030.1.1.1S2/016. 30.1.1.1/32Direct00127.0.0.1InLoop017. 30.1.1.2/32Direct0030.1.1.2S2/018. 60.1.1.0/24Static 50020.1.1.2S1/019. 127.0.0.0/8Direct 0012

7、7.0.0.1InLoop020.127.0.0.1/32Direct 00127.0.0.1InLoop021.22. RT-3:23. RT-3ip route-static 10.1.1.024 40.1.1.1preference 5024. RT-3ip route-static 10.1.1.024 50.1.1.1preference 8025. RT-3dis ip routing-table26. Routing Tables:Public27.Destinations : 11Routes : 1128.29. Destination/MaskProto PreCostNe

8、xtHopInterface30.31. 10.1.1.0/24Static 50040.1.1.1S2/032. 40.1.1.0/30Direct 0040.1.1.2S2/033. 40.1.1.1/32Direct 0040.1.1.1S2/034. 40.1.1.2/32Direct 00127.0.0.1InLoop035. 50.1.1.0/30Direct 0050.1.1.2S1/036. 50.1.1.1/32Direct 0050.1.1.1S1/037. 50.1.1.2/32Direct 00127.0.0.1InLoop038. 60.1.1.0/24Direct 0060.1.1.1E

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
  • 6. 下載文件中如有侵權或不適當內容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論