动网论坛,站长建站首选,国内使用量最多的论坛软件 动网论坛官方技术讨论区 站长工具 申请属于您自己的免费论坛
首页 | 新闻资讯 | 网站运营 | 网络编程 | 数据库 | 服务器 | 网页设计 | 图像媒体 | 网络应用 | 搜索优化 | 资源下载 | 动网主机 | DVBOX
    本站内  互联网 ASP论坛  ASP.Net论坛  PHP论坛
   服务器 → 阅读文章
  

 用ROUTER做DHCP服务器

作者来源:ChinaITLab  
阅读 数 106 人次 , 2006-3-18 13:06:00 

version 12.0

no service pad

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

service udp-small-servers

service tcp-small-servers

!

hostname Router

!

!

ip subnet-zero

ip dhcp excluded-address 172.16.240.1 172.16.240.10

ip dhcp excluded-address 172.16.240.201 172.16.240.254

!

ip dhcp pool flink

network 172.16.240.0 255.255.255.0

default-router 172.16.240.254

domain-name ns3.bta.net.cn

dns-server 202.106.196.115 202.106.0.20

!

no ip domain-lookup

!

!

process-max-time 200

!

interface Ethernet0

ip address 172.16.241.254 255.255.255.0 secondary

ip address 172.16.242.254 255.255.255.0 secondary

ip address 172.16.243.254 255.255.255.0 secondary

ip address 172.16.244.254 255.255.255.0 secondary

ip address 172.16.240.254 255.255.255.0

no ip directed-broadcast

ip nat inside

!

interface Serial0

ip address 192.168.108.22 255.255.255.252

no ip directed-broadcast

ip nat outside

!

ip nat pool gj 210.72.225.88 210.72.225.95 netmask 255.255.255.248

ip nat inside source list 1 pool gj overload

ip nat inside source static n

no ip http server

ip route 0.0.0.0 0.0.0.0 192.168.108.21

!

access-list 1 permit 172.16.240.0 0.0.0.255

!

line con 0

transport input none

stopbits 1

line vty 0 4

login

当然用W2K SERVER也可以做DHCP,她这样使客户机不用手工配置IP,这种IP就可动态产生!



 
 收藏本文  打印本文  论坛讨论  关闭窗口
· 上一篇:巧妙实现DHCP服务冗余
· 下一篇:利用Win2K集群确保WINS及DHCP服务
· “蓝屏”的软件原因
· 关于Win2003系统中证书服务
· 扼杀IIS服务器性能的十条规则
· 网上安家步步高;ADSL建站初探
· 简单的作好服务器安全的几个步骤


关于本站 | 联系我们 | 业务合作 | 客户案例 | 诚聘英才 | 广告合作 | 收藏本站
海口动网先锋网络科技有限公司版权所有
Copyright © 2000 - 2006 Cndw.Com
中华人民共和国电信与信息服务业务经营许可证编号 琼 ICP 020077