免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2181 | 回复: 2
打印 上一主题 下一主题

经典思科1841ADSL的成功设置+DHCP的问题~!急~~! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-05-09 09:59 |只看该作者 |倒序浏览
路由器下面的客户端全是XP。都是设为自动获取IP 地址。

现像是在客户端上IPCONFIG   地址是0。0。0。0
没有获得指定的IP地址,
系统也没有获得169网段的地址。

cisco1841#sh run
Building configuration...

Current configuration : 2970 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service dhcp
!
hostname cisco1841
!
boot-start-marker
boot-end-marker
!
logging buffered 51200 warnings
!
no aaa new-model
!
resource policy
!
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip subnet-zero
ip cef
!
!
ip dhcp database 123
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.1.1
ip dhcp ping packets 0
!
ip dhcp pool 123
   network 192.168.1.0 255.255.255.0
   default-router 192.168.1.1
   dns-server 202.106.0.20 202.106.46.151
!
!
no ip domain lookup
ip domain name yourdomain.com
ip dhcp-server 192.168.1.1
vpdn enable
vpdn ip udp ignore checksum
!
vpdn-group pppoe
request-dialin
  protocol pppoe
!
!
username cisco privilege 15 secret 5 $1$ZKUk$YoVcdG31aDaIAn/mdK9qL0
!
!
!
interface FastEthernet0/0
description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-FE 0$
ip address 192.168.1.1 255.255.255.0
ip access-group 100 in
ip nat inside
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
pppoe enable
pppoe-client dial-pool-number 1
!
interface Dialer1
ip address negotiated
ip access-group 100 in
ip mtu 1492
ip nat outside
encapsulation ppp
dialer pool 1
dialer vpdn
dialer-group 1
no cdp enable
ppp pap sent-username 1234567 password 0 1234567
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
!
no ip http server
ip http authentication local
ip http timeout-policy idle 5 life 86400 requests 10000
ip nat inside source list 1 interface Dialer1 overload
!
access-list 1 permit any
access-list 100 deny   
access-list 100 deny   
access-list 100 permit ip any any
dialer-list 1 protocol ip permit
!
control-plane
!
banner login ^C
-----------------------------------------------------------------------
Cisco Router and Security Device Manager (SDM) is installed on this device.
This feature requires the one-time use of the username "cisco"
with the password "cisco".

Please change these publicly known initial credentials using SDM or the IOS CLI.
Here are the Cisco IOS commands.

username <myuser>  privilege 15 secret 0 <mypassword>
no username cisco

Replace <myuser> and <mypassword> with the username and password you want to use.

For more information about SDM please follow the instructions in the QUICK START
GUIDE for your router or go to http://www.cisco.com/go/sdm
-----------------------------------------------------------------------
^C
!
line con 0
timeout login response 200
login local
line aux 0
line vty 0 4
timeout login response 200
privilege level 15
password gbicc_cisco
login
transport input telnet
line vty 5 15
privilege level 15
password gbic_cisco
login
transport input telnet
!
end

cisco1841#

论坛徽章:
0
2 [报告]
发表于 2006-05-09 23:15 |只看该作者
能不能先把FE 0/0上的访问列表去掉后再试下,看客户机能否取得IP地址

论坛徽章:
0
3 [报告]
发表于 2006-05-15 15:27 |只看该作者
已经去掉过。还是不行。。

DEBUG 后。出现的消息是。

not open database
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP