免费注册 查看新帖 |

Chinaunix

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

一个cisco 3640 上配置dhcp server的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-04-20 20:14 |只看该作者 |倒序浏览
我配置了一个3640作internet路由器,打算启用NAT和DHCP,但是DHCP总是不生效,不知道为什么?同样的配置在3660上就可以。

以下是配置信息:
Router#sho run              
Building configuration...                        

Current configuration : 1533 bytes                                 
!
version 12.2            
service timestamps debug uptime                              
service timestamps log uptime                             
no service password-encryption                              
!
hostname Router               
!
enable secret 5 $1$7aO0$Vd8zOrOXzfS6noyRGBuo0.                                             
enable password cisc0                     
!
ip subnet-zero              
!
!
no ip dhcp conflict logging                           
ip dhcp excluded-address 192.168.200.1 192.168.200.10                                                     
ip dhcp excluded-address 192.168.200.251 192.168.200.254                                                        
!
ip dhcp pool 1              
   network 192.168.200.0 255.255.255.0                                      
   default-router 192.168.200.2                              
   dns-server 202.106.0.20                              
   lease 7         
!
!
!
!
interface BRI1/0               
no ip address              
shutdown         
!
interface Ethernet1/0                     
ip address 222.116.21.13 255.255.255.128      
ip nat outside               
half-duplex            
!
interface Ethernet1/1                     
ip address 192.168.200.2 255.255.255.0                                       
ip nat inside              
ip dhcp relay information trusted                                 
half-duplex            
!
interface BRI2/0               
no ip address              
shutdown         
!
interface BRI2/1               
no ip address              
shutdown         
!
interface BRI2/2               
no ip address              
shutdown         
!
interface BRI2/3               
no ip address              
shutdown         
!
interface BRI2/4               
no ip address              
shutdown         
!
interface BRI2/5               
no ip address              
shutdown         
!
interface BRI2/6               
no ip address              
shutdown         
!
interface BRI2/7               
no ip address
shutdown
!
ip nat pool bbb 222.116.21.13 222.116.21.13 netmask 255.255.255.128
ip nat inside source list 1 pool bbb overload
ip classless
ip route 0.0.0.0 0.0.0.0 222.116.21.1
no ip http server
no ip pim bidir-enable
!
!
access-list 1 permit 192.168.200.0 0.0.0.255
!
line con 0
line aux 0
line vty 0 4
access-class 1 in
password cisc0
login
!
!
end

Router#
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP