Configuring Dial-on-Demand routing with AUX ports

2013-11-5不详中国IT实…

  ROUTER #1
  version 11.3
  !
  service udp-small-servers
  service tcp-small-servers
  !
  hostname R1
  !
  enable secret ciSCo
  !
  no ip domain-lookup
  !
  username R1 password ciSCo
  chat-SCritpt ddr-test "" "ATDT\T" TIMEOUT 30 CONNECT \C
  !
  interface Ethernet0
  ip address 172.16.2.1 255.255.0.0
  !
  interface Async1
  ip unnunmbered Ethernet 0
  encapsulation ppp
  async mode interactive
  no peer default ip address pool
  dialer-group 1
  dialer idle-timeout 120
  pulse-time 3
  dialer in-band
  dialer hold-queue 20
  dialer map ip 172.16.1.1 modem-SCript ddr-test name RTB
  broadcast 5555555
  no cdp enable
  ppp authentication chap
  !
  ip classless
  ip route 172.16.1.0 255.255.255.0 172.16.1.1
  ip route 172.16.1.1 255.255.255.255 Async 1
  !
  dialer-list 1 protocol ip permit
  !
  line con 0
  exec-timeout 0 0
  line aux 0
  modem InOut
  modem autoconfigure diSCovery
  autoselect ppp
  rxspeed 38400
  txspeed 38400
  flowcontrol hardware
  line vty 0 4
  exec-timeout 0 0
  password bar
  login
  !
  end
  
  ROUTER #2
  version 11.3
  !
  service udp-small-servers
  service tcp-small-servers
  !
  hostname R2
  !
  enable secret ciSCo
  !
  no ip domain-lookup
  !
  username R2 password ciSCo
  chat-SCritpt ddr-test "" "ATDT\T" TIMEOUT 30 CONNECT \C
  !
  interface Ethernet0
  ip address 172.16.1.1 255.255.0.0
  !
  interface Async1
  ip unnunmbered Ethernet 0
  encapsulation ppp
  async mode interactive
  no peer default ip address pool
  dialer-group 1
  dialer idle-timeout 120
  pulse-time 3
  dialer in-band
  dialer hold-queue 20
  dialer map ip 172.16.2.1 modem-SCript ddr-test name RTB
  broadcast 5556666
  no cdp enable
  ppp authentication chap
  !
  ip classless
  ip route 172.16.2.0 255.255.255.0 172.16.2.1
  ip route 172.16.2.1 255.255.255.255 Async 1
  !
  dialer-list 1 protocol ip permit
  !
  line con 0
  exec-timeout 0 0
  line aux 0
  modem InOut
  modem autoconfigure diSCovery
  autoselect ppp
  rxspeed 38400
  txspeed 38400
  flowcontrol hardware
  line vty 0 4
  exec-timeout 0 0
  password bar
  login
  !
  end
  

本文来源:不详 作者:中国IT实…

聚合推荐
声明
声明:本站所发表的文章、评论及图片仅代表作者本人观点,与本站立场无关。若文章侵犯了您的相关权益,请及时与我们联系,我们会及时处理,感谢您对本站的支持!联系Email:support@txwb.com,系统开号,技术支持,服务联系QQ:1175525021本站所有有注明来源为天下网吧或天下网吧论坛的原创作品,各位转载时请注明来源链接!
天下网吧·网吧天下