6,查看租约文件,现在有内容了
[root@mylab ~]# cat /var/lib/dhcpd/dhcpd.leases
# All times in this file are in UTC (GMT), not your local timezone. This is
# not a bug, so please don't ask about it. There is no portable way to
# store leases in the local timezone, so please don't request this as a
# feature. If this is inconvenient or confusing to you, we sincerely
# apologize. Seriously, though - don't ask.
# The format of this file is documented in the dhcpd.leases(5) manual page.
# This lease file was written by isc-dhcp-V3.0.5-RedHat lease 192.168.0.200 {
starts 5 2009/05/08 14:56:00;
ends 5 2009/05/08 15:01:24;
tstp 5 2009/05/08 15:01:24;
binding state free;
hardware ethernet 00:19:d2:09:68:36;
uid "\001\000\031\322\011h6";
} 7,现在将客户机的IP地址进行绑定,希望每次开机都能得到同样的IP 192.168.0.188,需要添加额外的host设置
首先查看客户机MAC地址ipconfig /all