Assignment of IP adddress based on vendor MAC address
"Fernando André F. Ribeiro"
fernando.andre at tvtel.pt
Sun Sep 24 20:17:50 UTC 2006
Maybe related to this problem ( post ) ;
I'm trying to get the chaddr from the client dhcp DISCOVER message to
compare to a set of existing hardware subclass's , but the field is empty.
'chaddr' client's hardware
Sep 24 05:59:05 pow dhcpd: DHCPDISCOVER from 00:11:e3:54:a4:b9 via
192.168.200.254: work home: no free leases
Sep 24 05:59:05 pow dhcpd: Lease for 1:0:11:e3:54:a4:11
Sep 24 05:59:05 pow dhcpd: 0:11:e3:54:a4:11
I only can return this value after a DHCPACK .
Thank you for any help, or tips in advance.
Simon Hobson wrote:
> *** From dhcp-server -- To unsubscribe, see the end of this message. ***
>
> Atiqur Rahman Mohammed wrote:
>
>> subnet 7.7.7.0 netmask 255.255.255.224 {
>> pool {
>> failover peer "dhcp";
>> range 7.7.7.3 7.7.7.30;
>> deny dynamic bootp clients;
>> allow members of "stb-device";
>> deny members of "voip-device";
>> deny unknown clients;
>> }
>
>
>
>
>> When a client from the voip-device request IP from the DHCP server, the
>> following error message logs in the log file:
>>
>> *Mar 4 15:44:03 nms dhcpd: [ID 702911 local1.error] DHCPDISCOVER from
>> 00:09:6b:da:3d:b0 via 6.6.6.1: peer holds all free leases
>> Mar 4 15:44:07 nms dhcpd: [ID 702911 local1.error] DHCPDISCOVER from
>> 00:09:6b:da:3d:b0 via 7.7.7.1: peer holds all free leases
>> Mar 4 15:44:31 nms last message repeated 2 times
>> Mar 4 15:50:12 nms dhcpd: [ID 702911 local1.error] DHCPDISCOVER from
>> 00:09:6b:da:3d:b0 via 8.8.8.1: peer holds all free leases
>> Mar 4 15:50:22 nms last message repeated 2 times
>> *
>> I am using the ISC DHCP version 3.0.4b2.
>>
>> Please help me in the resolution of this problem.
>
>
> I don't know if it is the cause or not, but you should not mix allow
> and deny in a pool - it does not work in any manner you might expect !
>
> If you use allow, then anything not explicitly allowed is
> automatically denied. Similarly, if you use a deny, then anything not
> denied is automatically allowed.
>
> So what you might expect to be the result of :
>
> deny dynamic bootp clients;
> allow members of "stb-device";
> deny members of "voip-device";
> deny unknown clients;
>
> would be achieved just by :
>
> allow members of "stb-device";
>
> Also, I believe dynamic bootp clients are not supported by failover
> so no need to specifically exclude them.
>
> Simon
>
> -----------------------------------------------------------------------
> List Archives : http://www.isc.org/ops/lists/
> Unsubscribe : http://www.isc.org/sw/dhcp/dhcp-lists.php
> -or- : mailto:dhcp-server-request at isc.org?Subject=unsubscribe
> -----------------------------------------------------------------------
>
>
More information about the dhcp-users
mailing list