《網(wǎng)絡互連技術(shù)課件08(補充1) 路由備份技術(shù)》由會員分享,可在線閱讀,更多相關(guān)《網(wǎng)絡互連技術(shù)課件08(補充1) 路由備份技術(shù)(14頁珍藏版)》請在裝配圖網(wǎng)上搜索。
1、單擊此處編輯母版標題樣式,,單擊此處編輯母版文本樣式,,第二級,,第三級,,第四級,,第五級,,*,*,*,路由備份技術(shù),,1,通過浮動的靜態(tài)路由實現(xiàn)鏈路備份,,【,目的,】,,掌握通過改變靜態(tài)路由的管理距離值來實現(xiàn)浮動的靜態(tài)路由。,,【,背景描述,】,,你是公司高級網(wǎng)絡管理員,公司內(nèi)部有一個很重要的服務器,其所在網(wǎng)段為,192.168.12.0/24,,平常訪問通過,R1,和,R3,的,OSPF,路由協(xié)議,為了保證該網(wǎng)段隨時能夠訪問,不能因為鏈路故障出問題,要求你實現(xiàn)一個備份冗余的功能,請給予支持。,,【,實現(xiàn)功能,】,,保證在擁有冗余鏈路的時候,主鏈路失效,備份鏈路工作。,拓撲圖,,實現(xiàn)步
2、驟(1),,路由器基本配置,,設置各端口IP地址,并測試,,R1#ping 192.168.13.3,,!!!!!,,R2#ping 192.168.23.3,,!!!!!,實現(xiàn)步驟(2),,配置主鏈路路由以及備份鏈路路由,,R1(config)#router ospf,,R1(config-router)#network 192.168.13.0 0.0.0.255 area 0,,R1(config-router)#network 192.168.12.0 0.0.0.255 area 2,,R3(config)#router ospf,,R3(config-router)#network
3、 192.168.13.0 0.0.0.255 area 0,,R3(config-router)#network 192.168.4.0 0.0.0.255 area 1,,R3(config-router)#network 192.168.3.0 0.0.0.255 area 1,,R3(config-router)#exit,,R3(config)#ip route 192.168.12.0 255.255.255.0 serial 1/2 150 !,配置備份路由的管理距離必須大于主路由的管理距離,,R2(config)#ip route 0.0.0.0 0.0.0.0 serial
4、1/3,驗證測試(1),,R3#show ip route,,……,,O IA 192.168.12.0/24[110/49] via 192.168.13.1,00:00,:,42,,,serial 1/3,,C 192.168.13.0/24 is directly connected, serial 1/3,,C 192.168.3.0/24 is directly connected, fastethernet 1/1,,C 192.168.4.0/24 is directly connected, fastethernet 1/0,,C 192.168.23.0/24 is dire
5、ctly connected, serial 1/2,驗證測試(2),,當主鏈路,down,的時候,可以通過備份鏈路通信,,R3(config)#int s1/3,,R3(config-if)#shut,,R3#show ip route,,……,,S 192.168.12.0/24 is directly connected,,,serial 1/2,,C 192.168.3.0/24 is directly connected, fastethernet 1/1,,C 192.168.4.0/24 is directly connected, fastethernet 1/0,,C 192
6、.168.23.0/24 is directly connected, serial 1/2,驗證測試(3),,當主鏈路,up,的時候,仍然用主鏈路通信,,R3(config)#int s1/3,,R3(config-if)#no shut,,R3#show ip route,,……,,O IA 192.168.12.0/24[110/49] via 192.168.13.1,00:14,:,45,,,serial 1/3,,C 192.168.13.0/24 is directly connected, serial 1/3,,C 192.168.3.0/24 is directly con
7、nected, fastethernet 1/1,,C 192.168.4.0/24 is directly connected, fastethernet 1/0,,C 192.168.23.0/24 is directly connected, serial 1/2,2,通過動態(tài)路由協(xié)議實現(xiàn)鏈路備份,,通過動態(tài)路由協(xié)議實現(xiàn)鏈路備份,,掌握通過在不同鏈路上配置不同的路由協(xié)議實現(xiàn)鏈路備份,拓撲圖,,配置備份鏈路路由,,R3(config)#router rip !,配置,RIP,協(xié)議作為備份,,RIP,協(xié)議管理距離大于,OSPF,OSPF,自動成為主路由協(xié)議,,R3(config-route
8、r)#version 2,,R3(config-router)#network 192.168.23.0,,R3(config-router)#no auto-summary,,R2(config)#router rip,,R2(config-router)#version 2,,R2(config-router)#network 192.168.23.0,,R2(config-router)#network 192.168.12.0,,R2(config-router)#no auto-summary,驗證測試(1),,R3#show ip route,,……,,O IA 192.168.1
9、2.0/24[110/49] via 192.168.13.1,00:00,:,42,,,serial 1/3,,C 192.168.13.0/24 is directly connected, serial 1/3,,C 192.168.3.0/24 is directly connected, fastethernet 1/1,,C 192.168.4.0/24 is directly connected, fastethernet 1/0,,C 192.168.23.0/24 is directly connected, serial 1/2,驗證測試(2),,當主鏈路,down,的時候
10、,可以通過備份鏈路通信,,R3(config)#int s1/3,,R3(config-if)#shut,,R3#show ip route,,……,,R 192.168.12.0/24 [120/1] via 192.168.23.2,,,00:00:13,serial 1/2,,C 192.168.3.0/24 is directly connected, fastethernet 1/1,,C 192.168.4.0/24 is directly connected, fastethernet 1/0,,C 192.168.23.0/24 is directly connected, s
11、erial 1/2,驗證測試(3),,當主鏈路,up,的時候,仍然用主鏈路通信,,R3(config)#int s1/3,,R3(config-if)#no shut,,R3#show ip route,,……,,O IA 192.168.12.0/24[110/49] via 192.168.13.1,00:14,:,45,,,serial 1/3,,C 192.168.13.0/24 is directly connected, serial 1/3,,C 192.168.3.0/24 is directly connected, fastethernet 1/1,,C 192.168.4.0/24 is directly connected, fastethernet 1/0,,C 192.168.23.0/24 is directly connected, serial 1/2,