dhcpd handing out wrong gateway

Simon Hobson dhcp1 at thehobsons.co.uk
Thu Sep 8 15:03:22 UTC 2011


Fredrik Björk wrote:

>We're having occasional problems with ISC dhcpd 
>handing out an incorrect gateway (option 
>routers) to some clients. This happens only for 
>specific clients and is more or less persistent 
>for those. The config is somewhat complicated 
>and involves a few shared networks.
>
>What happens is that a client in network 
>123.123.230.0/24 gets a correct IP, the 
>appropriate subnet mask and all other options, 
>but the gateway is 123.123.235.1, which is in a 
>totally different subnet and even another shared 
>network! Anybody with a clue about what's going 
>on out there?
>
>Just to give you a rough idea on the structure, 
>I've filtered out a few lines from the config:

You've filtered too much out - it is impossible 
to answer your query since the config you post 
doesn't actually allow any client in that network 
to get an address. Since we can't see where the 
client gets it's address and information from, we 
can't suggest where it's going wrong.

I do have a hunch, but I don't want to send you on a wild goose chase.

>shared-network BSR3CPE {
>         subnet 123.123.230.0 netmask 255.255.255.0 {
>         subnet 123.123.233.0 netmask 255.255.255.0 {
>         subnet 123.123.231.0 netmask 255.255.255.0 {
>...
>shared-network CASACPE {
>         subnet 123.123.235.0 netmask 255.255.255.0 {
>         subnet 123.123.237.0 netmask 255.255.255.0 {
>         subnet 123.123.238.0 netmask 255.255.255.0 {

Can you post the full config for those shared 
networks AND any host declarations (and groups 
they might be contained in) referencing the 
client ?

-- 
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.



More information about the dhcp-users mailing list