View Full Version : hỏi về cách config backup giữa leases line , isdn và dial_up
herry
02-03-2005, 09:10 PM
Chào ,
CHo em hỏi cách config chuẩn giữa leases line - ISDN-Dial_up
Hiện em dang chạy leases line nhưng muốn dùng 2 đường backup bằng ISDN và DiaUp.Nếu đường leases line
rớt thì đường ISDN tự kich.Nếu đường ISDN rớt nữa thi đường dial_up connect lênh tự đông.Xin các anh chị giúp
Thanks
Herry
changchancuucodon
03-03-2005, 08:04 AM
krimson#show running-config
Building configuration...
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
!
hostname krimson
!
!
username kevin password 0 <password> !
isdn switch-type basic-net3
!
!
interface Loopback0
ip address 10.7.7.1 255.255.255.0
ip ospf network point-to-point
!
interface Ethernet0
ip address 10.200.16.30 255.255.255.0
!
interface Serial1
bandwidth 64
no ip address
encapsulation frame-relay
no ip route-cache
no ip mroute-cache
!
interface Serial1.1 point-to-point
backup interface Dialer0
ip address 10.5.5.2 255.255.255.0
no ip route-cache
frame-relay interface-dlci 20
!
interface BRI0
description Testanschluss ISDN(intern), Nr. 4420038
no ip address
encapsulation ppp
no ip route-cache
no ip mroute-cache
load-interval 30
no keepalive
dialer pool-member 1
isdn switch-type basic-net3
no fair-queue
no cdp enable
ppp authentication chap
!
interface Dialer0
ip address 10.9.9.1 255.255.255.0
encapsulation ppp
no ip route-cache
no ip mroute-cache
dialer pool 1
dialer remote-name kevin
dialer string 6120
dialer-group 1
no cdp enable
ppp authentication chap
!
router ospf 10
log-adjacency-changes
network 10.5.5.0 0.0.0.255 area 0
network 10.7.7.0 0.0.0.255 area 0
network 10.9.9.0 0.0.0.255 area 0
!
ip default-gateway 10.200.16.1
no ip classless
no ip http server
!
access-list 105 permit ip any host 10.7.7.1
access-list 105 permit ip any host 10.8.8.1
access-list 105 permit ip any any
dialer-list 1 protocol ip permit
!
line con 0
exec-timeout 0 0
privilege level 15
line aux 0
transport input all
line vty 0 4
exec-timeout 0 0
password <password> login
!
end
kevin#show running-config
Building configuration...
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
!
hostname kevin
!
!
username krimson password 0 <password> !
isdn switch-type basic-net3
!
!
interface Loopback0
ip address 10.8.8.1 255.255.255.0
ip ospf network point-to-point
!
interface Loopback1
ip address 172.19.0.1 255.255.255.255
!
interface Ethernet0
ip address 10.200.16.26 255.255.255.0
!
interface Serial0
no ip address
encapsulation frame-relay
!
interface Serial0.1 point-to-point
ip address 10.5.5.1 255.255.255.0
no cdp enable
frame-relay interface-dlci 20
!
interface BRI0
no ip address
encapsulation ppp
dialer pool-member 1
isdn switch-type basic-net3
no cdp enable
ppp authentication chap
!
interface Dialer0
ip address 10.9.9.2 255.255.255.0
encapsulation ppp
dialer pool 1
dialer remote-name krimson
dialer-group 1
no cdp enable
ppp authentication chap
!
router ospf 10
log-adjacency-changes
network 10.5.5.0 0.0.0.255 area 0
network 10.8.8.0 0.0.0.255 area 0
network 10.9.9.0 0.0.0.255 area 0
!
ip default-gateway 10.200.16.1
ip classless
!
dialer-list 1 protocol ip permit
no cdp run
!
line con 0
exec-timeout 0 0
line aux 0
modem InOut
line vty 0 4
exec-timeout 0 0
password <password> login
!
ntp clock-period 17180102
ntp server 10.200.20.134
end
xem ở đây thêm cho chắc:
http://www.cisco.com/en/US/tech/tk801/tk133/technologies_configuration_example09186a008009455d .shtml
Powered by vBulletin® Version 4.1.9 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.