我在 Redhat 卫星服务器上安装了 kickstart。在dhcp服务器上,我添加了一个redhat1来启动;在构建 redhat1 时,dhcp 服务器将 redhat1 的 IP 地址发布给未知主机(Windows 服务器)。这导致 redhat1 服务器的构建不完整。是什么导致 dhcp 服务器将 redhat1 的 IP 发布给第二台服务器?
# more /etc/dhcp/dhcpd.conf
option domain-name "build.local.com";
option domain-name-servers 10.10.3.9, 10.10.3.8;
default-lease-time 600;
max-lease-time 7200;
authoritative;
log-facility local7;
subnet 10.10.3.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option routers 10.10.3.1;
range 10.10.3.80 10.10.3.85;
}
host redhat1 {
hardware ethernet 00:50:56:B7:7A:4D;
fixed-address 10.10.3.83;
}
allow booting;
allow bootp;
next-server 10.10.3.90;
filename "/pxelinux.0";
#
以下是 IP 10.10.3.83 的 /var/log/messages 文件条目
/var/log/messages-20150927:Sep 23 14:42:01 satellite dhcpd: DHCPACK on 10.10.3.83 to 00:50:56:b7:7a:4d via eth1
/var/log/messages-20150927:Sep 23 14:42:05 satellite dhcpd: DHCPREQUEST for 10.10.3.83 from 00:50:56:b7:7a:4d via eth1
/var/log/messages-20150927:Sep 23 14:42:05 satellite dhcpd: DHCPACK on 10.10.3.83 to 00:50:56:b7:7a:4d via eth1
/var/log/messages-20150927:Sep 23 14:42:12 satellite dhcpd: DHCPREQUEST for 10.10.3.83 from 00:50:56:b7:7a:4d via eth1
/var/log/messages-20150927:Sep 23 14:42:12 satellite dhcpd: DHCPACK on 10.10.3.83 to 00:50:56:b7:7a:4d via eth1
/var/log/messages-20150927:Sep 23 14:44:14 satellite dhcpd: DHCPREQUEST for 10.10.3.83 from 00:50:56:b7:18:a5 (windows) via eth1
/var/log/messages-20150927:Sep 23 14:44:14 satellite dhcpd: DHCPACK on 10.10.3.83 to 00:50:56:b7:18:a5 (windows) via eth1
答案1
10.10.3.83
嗯,窗户盒以前是否偶然被租用过(dhcpd.leases
可能表明这一点)?不知道会出现什么问题,因为我将任何fixed-address
分配保留在 中列出的任何地址之外range
。