设为首页收藏本站language 语言切换
查看: 1319|回复: 0
收起左侧

拨号备份的问题

[复制链接]
发表于 2010-8-25 16:24:33 | 显示全部楼层 |阅读模式
  问:用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
您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-3 23:37 , Processed in 0.049837 second(s), 11 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表