dhcp3-server 和奇怪的 DNS/NTP 服务器

dhcp3-server 和奇怪的 DNS/NTP 服务器

我在使用 时遇到了问题dhcp3-server 3.1.1-6+lenny4。我的 dhcp 服务器IPsDNSNTP服务器发送“奇怪的”DHCP ACK地址,尽管配置中没有这些 IP。在ACK数据包中我们可以看到“奇怪的”地址,例如:

49.57.50.46 or 49.54.56.46 etc.

DHCP服务器配置为:

deny bootp;
#
# Sample configuration file for ISC dhcpd for Debian
#
# $Id: dhcpd.conf,v 1.1.1.1 2002/05/21 00:07:44 peloy Exp $
#

# The ddns-updates-style parameter controls whether or not the server will
# attempt to do a DNS update when a lease is confirmed. We default to the
# behavior of the version 2 packages ('none', since DHCP v2 didn't
# have support for DDNS.)
#ddns-update-style none;

# option definitions common to all supported networks...
option domain-name "Test";

default-lease-time 600;
max-lease-time 7200;

log-facility local7;
include "/etc/dhcp3/subnet.list.conf";

/etc/dhcp3/subnet.list.conf:

authoritative;

option f6option6 code 6 = string;
option f6option42 code 42 = string;
option f6option114 code 114 = string;


shared-network HARPER {


subnet 192.168.13.0 netmask 255.255.255.0 {
range 192.168.13.20 192.168.13.250;
default-lease-time 86400;
max-lease-time 86400;
option broadcast-address 192.168.13.255;
option subnet-mask 255.255.255.0;
option f6option6 "192.168.0.10,192.168.0.18,192.168.13.3";
option f6option42 "192.168.13.3";
option f6option114 "http://192.168.13.3/config";
option tftp-server-name "http://192.168.13.3/config";

host gxp-5f6c52 {
hardware ethernet 00:0B:82:5F:6C:52;
fixed-address 192.168.13.20;
option routers 192.168.13.1;
}

host gxp-5f6836 {
hardware ethernet 00:0B:82:5F:68:36;
fixed-address 192.168.13.21;
option routers 192.168.13.1;
}

host gxp-63dfb1 {
hardware ethernet 00:0B:82:63:DF:B1;
fixed-address 192.168.13.22;
option routers 192.168.13.1;
}
... 

subnet.list.conf 文件包含固定主机配置,我在这里仅将其限制为少数。

在此链接下有 DHCP 通信的上限: DHCP_CAP

服务器在 VMware Host 上的 Debian 5 下运行。

答案1

感谢@ott——解决方案正在改变:

f6option6 code 6 = string;

到:

option f6option6 code 6 = array of ip-address;

相关内容