我正在使用 Cisco 2511 路由器和外部调制解调器配置拨出。端点是拨入服务器,它将创建 ppp 连接。我使用本指南作为参考,但它只适用于 async1 端口,当我切换到 async2 并 ping 服务器时,路由器不会拨号服务器。
配置:客户端计算机==(以太网)路由器==(异步端口)调制解调器----pstn----调制解调器==拨入服务器
有人能帮我解决这个问题吗?由于我对这个东西还不熟悉,所以详细的答案或文档对我很有帮助。
更新:结果 sho run
!
version 11.2
no service password-encryption
no service udp-small-servers
no service tcp-small-servers
!
hostname Cisco
!
!
chat-script dialnum ABORT ERROR ABORT BUSY "" "ATD\T" TIMEOUT 180 CONNECT
chat-script DialOut ABORT ERROR ABORT BUSY "" "ATD\T" TIMEOUT 120 CONNECT
modemcap entry Zyxelsetup:MSC=&FS0=1&K4&N70
modemcap entry hayes:MSC=&FS0=1&K4&N70
modemcap entry Mosetup MSC=&FS0=1+MS=11,1,19200,19200
!
interface Ethernet0
description !!----- LAN interface -----!!
ip address 192.185.10.254 255.255.255.0
ip access-group 100 in
ip access-group 100 out
no ip mroute-cache
!
interface Serial0
no ip address
shutdown
no fair-queue
!
interface Serial1
no ip address
shutdown
!
interface Async1
no ip address
encapsulation ppp
async mode dedicated
dialer in-band
dialer rotary-group 0
!
interface Async2
no ip address
encapsulation ppp
async mode dedicated
dialer in-band
dialer rotary-group 1
!
interface Dialer0
ip address 192.184.10.254 255.255.255.0
encapsulation ppp
dialer in-band
dialer idle-timeout 180
dialer string xxxxxxx
dialer-group 1
ppp chap hostname CISCO1
ppp chap password 7 0010161510
!
interface Dialer1
ip address 192.184.9.254 255.255.255.0
encapsulation ppp
dialer in-band
dialer idle-timeout 60
dialer string xxxxxxxx
dialer-group 1
ppp chap hostname CISCO2
ppp chap password 7 110A11001419
!
ip classless
ip route 192.184.9.0 255.255.255.0 Dialer1
ip route 192.184.10.0 255.255.255.255 Dialer0
access-list 100 permit tcp any any
access-list 100 permit icmp any any
access-list 100 permit ip any any
!
dialer-list 1 protocol ip list 100
!
line con 0
line 1 16
script dialer DialOut
modem InOut
modem autoconfigure discovery
speed 115200
flowcontrol hardware
line aux 0
line vty 0 4
login
!
end
谢谢你!
答案1
您 ping 了哪个服务器?您需要 ping 192.184.9.X 才能使用 async2。
配置看起来不错,async1 和 async 2 上的配置相同,没有理由 asyn2 不工作。
进行调试 ppp 和调试拨号器并让我们看看。