Chinaunix首页 | 论坛 | 博客
  • 博客访问: 318840
  • 博文数量: 172
  • 博客积分: 2967
  • 博客等级: 少校
  • 技术积分: 1805
  • 用 户 组: 普通用户
  • 注册时间: 2011-09-09 13:31
文章分类

全部博文(172)

文章存档

2014年(6)

2013年(45)

2012年(120)

2011年(1)

我的朋友

分类: 其他UNIX

2013-03-25 13:35:35

1.yum install dhcp -y
2.chkconfig dhcpd on
3.vi /etc/dhcp/dhcpd.conf
ddns-update-style interim;
allow booting;
allow bootp;
next-server 10.12.190.152;
filename "pxelinux.0";


subnet 10.12.190.0 netmask 255.255.255.0 {
option routers 10.12.190.254;
option subnet-mask 255.255.255.0;
option domain-name-servers 10.12.190.152;
option time-offset      -18000;
range dynamic-bootp 10.12.190.220 10.12.190.240;
default-lease-time 21600;
max-lease-time 43200;
}

service dhcpd restart
阅读(433) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~