-1
希望有人能幫助我。DHCP將2個IP分配給1個mac地址。
我有一個DHCPD/PXE服務器似乎是爲同一個mac地址分配2個IP地址。
我需要電腦獲得分配的IP地址是連續
我曾嘗試「允許重複;」和「否認重複」; 我可以看到唯一的區別就是這個「uid」行。
除了這個煩惱 - 我的dhcpd/pxe服務器工作正常。
繼承人從我的租約片段文件:
lease 10.11.46.227 {
starts 4 2014/10/02 15:01:06;
ends 0 2150/11/08 21:29:20;
cltt 4 2014/10/02 15:01:06;
binding state active;
next binding state free;
hardware ethernet 00:1e:67:b9:32:f6;
uid "\000\215\013\011b\345\227\021\343\270\270\000\036g\2712\366";
}
lease 10.11.46.228 {
starts 4 2014/10/02 15:09:13;
ends 0 2150/11/08 21:37:27;
cltt 4 2014/10/02 15:09:13;
binding state active;
next binding state free;
hardware ethernet 00:1e:67:b9:32:f6;
}
這裏是我的dhcpd.conf
allow booting;
allow bootp;
authoritive;
deny duplicates;
class "pxeclients" {
match if substring(option vendor-class-identifier,0,9) = "PXEClient";
next-server 10.11.0.1;
filename "pxelinux.0";
}
subnet 10.11.0.0 netmask 255.255.0.0 {
range 10.11.1.1 10.11.25.200;
default-lease-time 4294967294;
max-lease-time 4294967294;
min-lease-time 4294967294;
}
# Pxe Server so it doesnt get changed.
host masterPXE {
hardware ethernet 00:1E:67:98:D5:EB;
fixed-address 10.11.0.1;
}
在同一臺機器上有兩個DHCP客戶端(可能是netboot和實際操作系統),報告不同的ID字符串。所以服務器看到一個新的租約請求,而不是續約。 – 2014-10-02 21:59:11