全部課程
發(fā)布時(shí)間: 2017-10-12 17:48:10
BY亂雪紛飛?
今日的網(wǎng)絡(luò)環(huán)境,無論是局域網(wǎng)還是廣域網(wǎng),冗余已經(jīng)成為一個(gè)重要的因素。這次的主題涉及一個(gè)廣域網(wǎng)的冗余——數(shù)條廣域網(wǎng)鏈路終結(jié)于一個(gè)路由器。最佳、最簡單的在思科設(shè)備上實(shí)現(xiàn)廣域網(wǎng)冗余的方法是配合IP SLA使用可靠的靜態(tài)備份路由。
IP SLA是包含于思科IOS中的可以允許管理員去分析IP應(yīng)用程序和服務(wù)的IP服務(wù)等級(jí)(IP Service Levels)的一個(gè)軟件。IP SLA利用動(dòng)態(tài)流量監(jiān)視技術(shù)來監(jiān)視網(wǎng)絡(luò)中的連續(xù)流量。思科路由器提供IP SLA響應(yīng)機(jī)制為通過網(wǎng)絡(luò)的數(shù)據(jù)進(jìn)行精確的測量。
使用IP SLA,路由器或交換機(jī)執(zhí)行周期性的測量。測量次數(shù)以及可用的測量類型十分豐富,在本文中我只設(shè)計(jì)ICMP ECHO(ICMP響應(yīng))功能。IP SLA其本身就是一個(gè)非常大的課題。
R1:
hostname R1
!
no ip domain lookup
ip cef
!
interface Loopback0
no shutdown
ip address 1.1.1.1 255.255.255.255
!
interface Serial1/0
no shutdown
ip address 12.1.1.1 255.255.255.0
serial restart-delay 0
!
interface Serial1/1
no shutdown
ip address 13.1.1.1 255.255.255.0
serial restart-delay 0
!
ip route 0.0.0.0 0.0.0.0 12.1.1.2 track 1
ip route 0.0.0.0 0.0.0.0 12.1.1.2
ip route 0.0.0.0 0.0.0.0 13.1.1.3 10
!
ip sla auto discovery
ip sla 1
icmp-echo 4.4.4.4 source-interface Loopback0
threshold 10
frequency 10
ip sla schedule 1 life forever start-time now
R2:
hostname R2
!
no ip domain lookup
ip cef
!
interface Ethernet0/0
no shutdown
ip address 24.1.1.2 255.255.255.0
!
interface Serial1/0
no shutdown
ip address 12.1.1.2 255.255.255.0
serial restart-delay 0
!
router ospf 110
router-id 2.2.2.2
redistribute static subnets
network 24.1.1.0 0.0.0.255 area 0
!
ip route 1.1.1.1 255.255.255.255 12.1.1.1
R3:
hostname R3
!
no ip domain lookup
ip cef
!
interface Ethernet0/1
no shutdown
ip address 34.1.1.3 255.255.255.0
!
interface Serial1/1
no shutdown
ip address 13.1.1.3 255.255.255.0
serial restart-delay 0
!
router ospf 110
router-id 3.3.3.3
redistribute static subnets
network 34.1.1.0 0.0.0.255 area 0
!
ip route 1.1.1.1 255.255.255.255 13.1.1.1
R4:
hostname R4
!
no ip domain lookup
ip cef
!
interface Loopback0
no shutdown
ip address 4.4.4.4 255.255.255.255
!
interface Ethernet0/0
no shutdown
ip address 24.1.1.4 255.255.255.0
!
interface Ethernet0/1
no shutdown
ip address 34.1.1.4 255.255.255.0
!
router ospf 110
router-id 4.4.4.4
network 4.4.4.4 0.0.0.0 area 0
network 24.1.1.0 0.0.0.255 area 0
network 34.1.1.0 0.0.0.255 area 0
?
R1的S1/0 shutdown后?