用ROUTER做DHCP服务器
程序员文章站
2022-03-20 11:06:25
...
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.
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就可动态产生!
上一篇: WAS集群系列(6):集群搭建:步骤4:安装WAS升级软件
下一篇: PHP无限极分类巧用引用生成树
推荐阅读
-
CentOS7用hostapd做radius服务器为WiFi提供802.1X企业认证
-
用Windows Storage Server 2008做iSCSI存储服务器的图文方法第1/2页
-
用勤哲EXCEL服务器做项目电子档案管理OA系统
-
用PHP做服务器转发层,解决js的ajax跨域访问问题
-
CentOS7用hostapd做radius服务器为WiFi提供802.1X企业认证
-
用PHP做服务器接口客户端用http协议POST访问安全性一般怎么做
-
谈用Access数据库做服务器
-
php做的服务器端,客户端用android手机,通信有关问题
-
zencart模板做的网站 小弟我新上了一批新产品 用ftp把图片传到服务器 但在前台页面不显示图片
-
zencart模板做的网站 小弟我新下了一批新产品 用ftp把图片传到服务器 但在前台页面不显示图片