拨号备份的问题

王朝other·作者佚名  2008-05-19
窄屏简体版  字體: |||超大  

问:用cisco3660、2500两台路由器其中3660走DDN做主线路,2500走拨号备份DDN线路(GVC33.6外猫)客户端使用MP2600终端服务器,s2 口走DDN,s1走拨号(用2600的内猫)如何配置拨号线路 ?

答:gaugin (Cisco 2500) - Calling Router

gaugin#show running-config

Building configuration...

Current configuration:

hostname gaugin

username sphinx password 0 cisco

!

chat-script CALLOUT "" "atdt\T" TIMEOUT 60 CONNECT \c

modemcap entry usr:MSC=&FS0=1&C1&D2&H1&R2&B1&W

interface Loopback1

ip address 1.1.1.1 255.255.255.255

!

interface Serial0

ip address 3.3.3.1 255.255.255.0

!

interface Serial2

physical-layer async

ip unnumbered Loopback1

encapsulation ppp

dialer in-band

dialer map ip 2.2.2.1 name sphinx modem-script CALLOUT 8029

dialer-group 1

async mode dedicated

no peer default ip address

no fair-queue

ppp authentication chap callin

ip route 2.2.2.1 255.255.255.255 Serial0

ip route 2.2.2.1 255.255.255.255 Serial2

dialer-list 1 protocol ip permit

line 2

script dialer CALLOUT

modem InOut

modem autoconfigure type usr

transport input all

speed 115200

flowcontrol hardware

sphinx (Cisco 2500) - Called Router

sphinx#show running-config

Building configuration...

Current configuration:

!

version 12.0

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname sphinx

username gaugin password 0 cisco

modemcap entry usr:MSC=&FS0=1&C1&D2&H1&R2&B1&W

!

interface Loopback1

ip address 2.2.2.1 255.255.255.255

no ip directed-broadcast

!

interface Serial0

ip address 3.3.3.2 255.255.255.0

!

interface Serial2

physical-layer async

ip unnumbered Loopback1

no ip directed-broadcast

encapsulation ppp

dialer in-band

dialer-group 1

async mode dedicated

no peer default ip address

no fair-queue

no cdp enable

ppp authentication chap

ip route 1.1.1.1 255.255.255.255 Serial0

ip route 1.1.1.1 255.255.255.255 Serial2 2

! --- The 2 here is important since the async interface will be in spoofing mode

! --- (not in standby mode). If we do not use the 2 here, we lose half of the

! --- packets in the return path.

line 2

modem InOut

modem autoconfigure type usr

transport input all

speed 115200

flowcontrol hardware

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航