dhcp3-server e estranhos servidores DNS / NTP

1

Eu tenho problema com dhcp3-server 3.1.1-6+lenny4 . Meu dhcp-server envia "estranho" IPs para DNS e NTP servidores em DHCP ACK apesar da configuração que não possui esses IPs. Em ACK packet podemos ver os endereços "estranhos" como:

49.57.50.46 or 49.54.56.46 etc.

A configuração do servidor 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";

e /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;
}
... 

O arquivo subnet.list.conf contém configuração de hosts fiexed e eu o limito por apenas alguns aqui.

Abaixo deste link existe um limite de comunicação DHCP: DHCP_CAP

O servidor está rodando sob o Debian 5 no VMware Host.

    
por Kristoff 22.06.2015 / 22:00

1 resposta

1

Graças a @ ott-- a solução estava mudando:

f6option6 code 6 = string;

para:

option f6option6 code 6 = array of ip-address;
    
por 22.06.2015 / 23:22