HowdoIsetupDHCPserviceonmyrouter

王朝other·作者佚名  2008-05-19
窄屏简体版  字體: |||超大  

Here is my 1601 performing as a DHCP server config...

The static pool is how I use DHCP to assign the same IP to the same PC

each time, essentially a static IP address assignment. The only other

requirement would be that on the interface DHCP requests will be

received, if you have an inbound ACL, bootp must be permitted.

ip dhcp excluded-address 192.168.3.1 192.168.3.9

!

ip dhcp pool dhcp-pool

network 192.168.3.0 255.255.255.0

default-router 192.168.3.1

netbios-node-type b-node

dns-server aaa.bbb.ccc.ddd aaa.bbb.ccc.eee

!

ip dhcp pool static-pool

host 192.168.3.2 255.255.255.0

client-identifier 0100.00c5.0cbd.7e

client-name main_pc

default-router 192.168.3.1

dns-server aaa.bbb.ccc.ddd aaa.bbb.ccc.eee

FW:俺来回复一下吧。其实就几条命令。

ip dhcp excluded-address (ip) (ip) 保留地址不分配

ip dhcp pool (name) 地址POOL

netwrok (ip) (mask) 可分配的地址范围

default-router (ip) 缺省网关

dns-server (ip) DNS服务器地址

int (inrterface) 指定接口

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航