本實(shí)驗(yàn)通過設(shè)置浮動(dòng)靜態(tài)路由,可以實(shí)現(xiàn)ISDN撥號(hào)備份 。浮動(dòng)靜態(tài)路由即靜態(tài)預(yù)定義運(yùn)行代價(jià)(COST) 。
備份思想是當(dāng)主線路出現(xiàn)故障,高COST的靜態(tài)路由開始起作用,產(chǎn)生一個(gè)ISDN呼叫 。
當(dāng)主線路恢復(fù)時(shí),將斷開這條高Cost的路由,重新起用原線路 。
配置實(shí)例 R3
Building configuration...
Current configuration : 1025 bytes
!
version 12.1
service timestamps debug uptime
service timestamps log uptime
no service passWord-encryption
!
hostname R3
!
enable secret 5 $1$VgNb$9fc/n4VziCOMvalJ.az6M0
enable password cisco
!
username R5 password 0 cisco
!
!
!
!
ip subnet-zero
no ip finger
no ip domain-lookup
!
isdn switch-type basic-net3
!
!
!
interface Ethernet0
ip address 195.1.1.1 255.255.255.0
no keepalive
!
interface Serial0
ip address 193.1.1.1 255.255.255.0
encapsulation ppp
clockrate 500000
!
interface Serial1
no ip address
shutdown
!
interface BRI0
ip address 196.1.1.1 255.255.255.0
encapsulation ppp
dialer idle-timeout 90
dialer map ip 196.1.1.2 name R5 38846302
dialer load-threshold 1 outbound
dialer-group 1
isdn switch-type basic-net3
ppp authentication chap
ppp multilink
!
router rip
network 193.1.1.0
network 195.1.1.0
!
ip classless
ip route 0.0.0.0 0.0.0.0 196.1.1.2 121
ip http server
!
dialer-list 1 protocol ip permit
!
line con 0
transport input none
line aux 0
line vty 0 4
password cisco
login
!
end
配置實(shí)例 R5
Building configuration...
Current configuration : 910 bytes
!
version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R5
!
enable secret 5 $1$vD0X$8U3bwtxlBsXdu9Y45OGs01
enable password cisco
!
username R3 password 0 cisco
!
!
!
!
ip subnet-zero
no ip finger
no ip domain-lookup
!
isdn switch-type basic-net3
!
!
!
interface Ethernet0
ip address 197.1.1.1 255.255.255.0
no keepalive
!
interface Serial0
ip address 193.1.1.2 255.255.255.0
encapsulation ppp
!
interface Serial1
no ip address
shutdown
!
interface BRI0
ip address 196.1.1.2 255.255.255.0
encapsulation ppp
dialer map ip 196.1.1.1 name R3 38846301
dialer-group 1
isdn switch-type basic-net3
ppp authentication chap
ppp multilink
!
router rip
network 193.1.1.0
network 197.1.1.0
!
ip classless
ip http server
!
dialer-list 1 protocol ip permit
!
line con 0
transport input none
line aux 0
line vty 0 4
password cisco
login
!
end[/HIDE}進(jìn)入討論組討論 。
推薦閱讀
- 設(shè)置新的路由器
- 關(guān)于netflow策略路由
- 路由器技術(shù)的變革
- 淺談千兆交換路由器的虛擬路由集群技術(shù)
- 三層交換機(jī)≠路由器
- 三層交換機(jī)與路由器的比較
- BGP路由決策過程
- 三 IPv6尋址—主機(jī)地址和路由器地址
- 圖 中小企業(yè)如何選購核心路由器
- Cisco 集成多業(yè)務(wù)路由器的動(dòng)力來源
