登录站点

用户名

密码

思科路由器1841+ADSL模块PPPOE的拨号问题

已有 112 次阅读  2011-05-17 11:26   标签:  思科路由器 
主要配置代码如下:
ip dhcp pool 1
   network 192.168.1.0 255.255.255.0
   dns-server 202.103.224.68
   default-router 192.168.1.1
!
ip dhcp pool 2
   network 192.168.2.0 255.255.255.0
   dns-server 202.103.224.68
   default-router 192.168.2.1
!
no ip domain lookup
multilink bundle-name authenticated
vpdn enable
!
vpdn-group pppoe
 request-dialin
  protocol pppoe
 l2tp tunnel receive-window 1024

!
archive
 log config
  hidekeys
!
interface FastEthernet0/0
 description link to switch
 no ip address
 ip virtual-reassembly
 duplex auto
 speed auto
!
interface FastEthernet0/0.1
 encapsulation dot1Q 1 native
 ip address 192.168.1.1 255.255.255.0
 ip nat inside
 ip virtual-reassembly
!
interface FastEthernet0/0.2
 encapsulation dot1Q 2
 ip address 192.168.2.1 255.255.255.0
 ip nat inside
 ip virtual-reassembly
!
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface ATM0/0/0
 description link to dianxin
 no ip address
 no atm ilmi-keepalive
 bundle-enable
 dsl operating-mode auto
 hold-queue 224 in
!
interface ATM0/0/0.1 point-to-point
 pvc 0/35
  pppoe-client dial-pool-number 1

!
interface Dialer1
 ip address negotiated
 ip mtu 1492
 ip nat outside
 ip virtual-reassembly
 encapsulation ppp
 no ip mroute-cache
 dialer pool 1
 ppp authentication pap callin
 ppp pap sent-username xxxxxx password 0 xxxxxx
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 Dialer1
!
ip http server
ip nat inside source list 1 interface Dialer1 overload
!
access-list 1 permit 192.168.1.0 0.0.0.255
access-list 1 permit 192.168.2.0 0.0.0.255
dialer-list 1 protocol ip permit
!
control-plane
!
line con 0
line aux 0
line vty 0 4
 password cisco
 login
!
scheduler allocate 20000 1000
end
 
拨不上号,提示的错误代码如下:
 %DIALER-6-BIND: Interface Vi1 bound to profile Di1
 %LINK-3-UPDOWN: Interface Virtual-Access1, changed state to up
 %DIALER-6-UNBIND: Interface Vi1 unbound from profile Di1
 %LINK-3-UPDOWN: Interface Virtual-Access1, changed state to down
上网查,说是加chap认证方式,可是加了也没用,然后我“no ip dhcp pool 1”就能拨上了,不知道是什么原因,难道是DHCP地址池的命名和拨号池的命名冲突了(它们都是1)?可是后来我又把“ip dhcp pool 1”加上去,也不掉线了。
 
想知道真正原因!向各位高手请教!
分享 举报