Other subnet

Zachár Balázs zachar at direkt-kfki.hu
Thu Nov 16 10:55:30 UTC 2006


I have the following problem:

One VLAN: 111

One router with one interface int the 111 VLAN with two IP address: 
10.128.43.1, 10.128.42.1 (secondary)     On the interface there is an ip 
helper-address 10.128.43.121 command!

Two Subnet: 10.128.43.0/24, 10.128.42.0/24

One dhcp server : 10.128.43.121

One clinet: wich would like to give: 10.128.42.80


My config:

cl-test-a:~ # cat /etc/dhcpd.conf
authoritative;
subnet 10.128.42.0 netmask 255.255.255.0
    {
#    range 10.128.42.20 10.128.42.90;
    option domain-name-servers 171.19.9.4;
    option domain-name "internal.example.org";
    option routers 10.128.42.1;
    option broadcast-address 10.128.42.255;
    default-lease-time 7200;
    max-lease-time 36000;

    }


subnet 10.128.43.0 netmask 255.255.255.0
    {
#       range 10.128.43.20 10.128.43.40;
    option domain-name "direkt.osz.kozig.b-m.hu";
    option domain-name-servers 171.19.9.4;
    option broadcast-address 10.128.43.255;
    option routers 10.128.43.1;
    option subnet-mask 255.255.255.0;

    default-lease-time 7200;
    max-lease-time 36000;
    }

ddns-update-style none;
log-facility local7;

host bali_nb
{
  hardware ethernet 00:c0:9f:29:54:19;
  fixed-address 10.128.42.80;
}



And the log:
Nov 16 11:36:46 cl-test-a dhcpd: DHCPDISCOVER from 00:c0:9f:29:54:19 via 
eth0: network 10.128.43/24: no free leases
Nov 16 11:36:46 cl-test-a dhcpd: DHCPDISCOVER from 00:c0:9f:29:54:19 via 
10.128.43.1: network 10.128.43/24: no free leases
Nov 16 11:36:51 cl-test-a dhcpd: DHCPDISCOVER from 00:c0:9f:29:54:19 via 
eth0: network 10.128.43/24: no free leases
Nov 16 11:36:51 cl-test-a dhcpd: DHCPDISCOVER from 00:c0:9f:29:54:19 via 
10.128.43.1: network 10.128.43/24: no free leases
Nov 16 11:36:59 cl-test-a dhcpd: DHCPDISCOVER from 00:c0:9f:29:54:19 via 
eth0: network 10.128.43/24: no free leases
Nov 16 11:36:59 cl-test-a dhcpd: DHCPDISCOVER from 00:c0:9f:29:54:19 via 
10.128.43.1: network 10.128.43/24: no free leases
Nov 16 11:37:14 cl-test-a dhcpd: DHCPDISCOVER from 00:c0:9f:29:54:19 via 
eth0: network 10.128.43/24: no free leases
Nov 16 11:37:14 cl-test-a dhcpd: DHCPDISCOVER from 00:c0:9f:29:54:19 via 
10.128.43.1: network 10.128.43/24: no free leases



If I add a static IP (10.128.42.80) to the client it can ping the dhcp 
server.
What maybe the problem?


Thanks,
Balázs





More information about the dhcp-users mailing list