首页 > 学院 > 网络通信 > 正文

How do I setup DHCP service on my router

2019-11-05 01:18:23
字体:
来源:转载
供稿:网友

  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) 指定接口

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表