unknown subnet for client address

Simon Hobson dhcp1 at thehobsons.co.uk
Tue Feb 17 07:57:13 UTC 2015


Mehmet Ali Öksüz <Mali.Oksuz at ankara.edu.tr> wrote:

> Feb 17 08:37:53 aurad02 dhcpd: DHCPINFORM from 194.27.25.181 via 194.27.24.1
> Feb 17 08:37:53 aurad02 dhcpd: DHCPINFORM from 194.27.25.181 via 194.27.24.1: unknown subnet for client address 194.27.25.181


> subnet 194.27.24.0 netmask 255.255.254.0 {
> # monitor: 90% 95% Y tnd-akansu
> option broadcast-address 194.27.25.255;
> option subnet-mask 255.255.254.0;
> option routers 194.27.24.1;
> range 194.27.24.51 194.27.25.254;
> host xx_21746 { hardware ethernet 00:18:fe:6a:d4:fd; }
> host xx_21848 { hardware ethernet 00:02:3f:67:b8:3b; }
> host xx_22090 { hardware ethernet 90:2B:34:22:9B:AC; }
> host xx_22091 { hardware ethernet 90:2B:34:22:70:8D; }
> host xx_22092 { hardware ethernet 30:85:A9:91:69:A1; }
> host xx_22093 { hardware ethernet 74:D0:2B:26:83:26; }
> host xx_22094 { hardware ethernet 30:85:A9:91:96:9E; }
> .........................................
> host xx_28868 { hardware ethernet 30:85:a9:91:97:29; fixed-address 194.27.24.40; }
> host xx_28871 { hardware ethernet 00:26:73:1a:0d:bf; fixed-address 194.27.24.41; }
> deny unknown-clients;
> }

The first thing to do is move the host declarations outside of the subnet declaration. Host statements are always global in scope, but can cause some inheritance problems when placed inside another scope. SO move tjhose first and see if the problem persists - I don't think it's related but it's something to fix first.

subnet 194.27.24.0 netmask 255.255.254.0 {
  # monitor: 90% 95% Y tnd-akansu
  option broadcast-address 194.27.25.255;
  option subnet-mask 255.255.254.0;
  option routers 194.27.24.1;
  range 194.27.24.51 194.27.25.254;
  deny unknown-clients;
}

host xx_21746 { hardware ethernet 00:18:fe:6a:d4:fd; }
host xx_21848 { hardware ethernet 00:02:3f:67:b8:3b; }
host xx_22090 { hardware ethernet 90:2B:34:22:9B:AC; }
host xx_22091 { hardware ethernet 90:2B:34:22:70:8D; }
host xx_22092 { hardware ethernet 30:85:A9:91:69:A1; }
host xx_22093 { hardware ethernet 74:D0:2B:26:83:26; }
host xx_22094 { hardware ethernet 30:85:A9:91:96:9E; }
.........................................
host xx_28868 { hardware ethernet 30:85:a9:91:97:29; fixed-address 194.27.24.40; }
host xx_28871 { hardware ethernet 00:26:73:1a:0d:bf; fixed-address 194.27.24.41; }


More information about the dhcp-users mailing list