unknown subnet for client address

Mehmet Ali Öksüz Mali.Oksuz at ankara.edu.tr
Tue Feb 17 08:23:00 UTC 2015


Hi Simon,

i changed dhcpd.conf and restart dhcp service as you can want.


##################################################
# VLAN 2 - 194.27.24.0/23
##################################################

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; }


and i got still error logs below

[root at aurad02 dhcp]# tail -f /var/log/dhcp.log | grep 194.27.24.1
Feb 17 10:22:02 aurad02 dhcpd: DHCPINFORM from 194.27.24.25 via 194.27.24.1
Feb 17 10:22:02 aurad02 dhcpd: DHCPINFORM from 194.27.24.25 via 
194.27.24.1: unknown subnet for client address 194.27.24.25
Feb 17 10:22:04 aurad02 dhcpd: DHCPINFORM from 194.27.25.143 via 194.27.24.1
Feb 17 10:22:04 aurad02 dhcpd: DHCPINFORM from 194.27.25.143 via 
194.27.24.1: unknown subnet for client address 194.27.25.143
Feb 17 10:22:08 aurad02 dhcpd: DHCPINFORM from 194.27.25.224 via 
194.27.24.1: unknown subnet for client address 194.27.25.224
Feb 17 10:22:08 aurad02 dhcpd: DHCPINFORM from 194.27.25.224 via 194.27.24.1
^C
[root at aurad02 dhcp]#


thank you for your quick response

-mali-


On 17-02-2015 09:57, Simon Hobson wrote:
> 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; }
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| M. Ali Öksüz
| Ankara Universitesi
| Bilgi Islem Daire Baskanligi
| Network Sorumlusu
| 0312 215 9001 / 3444
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
--



More information about the dhcp-users mailing list