问: 通过一个modem拨号到3640的8as模块上,但在进行身份验证的时候通不过。请教那位有经验的大哥给我一个正确的配置,小弟十分感激 答: 1. 主机是不是nt? 是不能身份验证还是不能登录域? 2. 主机是nt的话一般建议采用ppp封装,unix采用slip封装 对于不能登录域的回答:其实已拨入公司网内,而且可以ping通机器,但却不能登录,因为在windows网络中是采用netbios命名机器的,需要将机器名称解析为ip地址。方法有三个:1. 采用udp广播,但会增加网络带宽;2.采用wins 解析 3. 编辑lmhosts 文件 给出一个配置实例(该实例采用由远程访问服务器为远端客户在一段地址范围内动态分配ip地址: current configuration: ! version 11.2 no service udp-small-servers no service tcp-small-servers ! hostname router ! enable secret 5 ***************** ! username kkk password ************* ! ip adress-pool local ! interface ethernet0 ! ip address 192.169.1.4 255.255.255.0 ! interace serial0 no ip address shutdown ! interface serial1 no ip address shutdown ! interface async2 ip unnumbered ethernet0 encapsulation ppp async dynamic address async mode dedicated peer dafault ip address pool lab no cdp enable ppp authentication chap ! ip local pool lab 192.169.1.200 192.169.1.220 no ip classes ! line con 0 line 1 line 2 modem inout ! modem autoc on figure discovery ! autocommand ppp neg ! stopbits 1 !以下为远程访问服务器自动检测到的,配置modem autoc on figure discovery之后无需设置 rxspeed 115200 txspeed 115200 flowcontron hardware line 3 6 line aux 0 line vty 0 4 login ! end (责任编辑:admin) |