您的位置:首页 > 运维架构 > Linux

linux下dhcp服务基本配置信息

2009-04-02 10:22 801 查看
linux下dhcp服务基本配置信息# vim /etc/dhcpd.conf ddns-update-style interim;
ignore client-updates;
default-lease-time 21600;
max-lease-time 43200;
authourtative;
subnet 192.168.203.0 netmask 255.255.255.0 {
option routers 192.168.203.1;
option subnet-mask 255.255.255.0;
range 192.168.203.20 192.168.203.78;
default-lease-time 21600;
max-lease-time 43200;
filename "/pxelinux.0";
} 日志文件获取:#find / -name dhcpd.leases/var/lib/dhcpd/dhcpd.leases #cat /var/lib/dhcpd/dhcpd.leaseslease 192.168.203.77 {
starts 4 2009/04/02 08:28:54;
ends 4 2009/04/02 14:28:54;
binding state active;
next binding state free;
hardware ethernet 00:0c:29:a7:bb:a1;
}
lease 192.168.203.76 {
starts 4 2009/04/02 08:29:33;
ends 4 2009/04/02 14:29:33;
binding state active;
next binding state free;
hardware ethernet 02:bf:c0:a8:0a:e5;
uid "\001\002\277\300\250\012\345";
client-hostname "test111";
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  linux 职场 休闲 dhcpd