浅塘在线--儿时的记忆,老家村门口一口浅塘,是儿童时光差不多全部美好时光的记忆,游泳嬉水、抓鱼钓鱼、捞螺丝、漂石仗、淘硬币、以及生活中各种洗洗涮涮~·

 找回密码
 立即注册

微信登录

微信扫一扫,快速登录

搜索
热搜: 活动 交友 discuz

社区广播台

查看: 85|回复: 0

用ROUTER做DHCP服务器

[复制链接]

4万

主题

4万

帖子

13万

积分

版主

Rank: 7Rank: 7Rank: 7

积分
134973
发表于 2019-4-12 10:32:08 | 显示全部楼层 |阅读模式
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就可动态产生!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 微信登录

本版积分规则

快速回复 返回顶部 返回列表