Multi IP assign for single MAC-Urgent

Glenn Satchell glenn.satchell at uniq.com.au
Mon Jan 3 13:41:01 UTC 2011


Hi Arun

Looks like the gremlins got into the example, note the placing of the 
'{' on the first line :)

if substring (client-id,1,4) = "RAS " {
      ignore booting;
}

This goes in /etc/dhcpd.conf, probably somewhere before the first subnet 
declaration.

regards,
-glenn

On 01/03/11 23:53, Rudy Zijlstra wrote:
> Hi Arun,
>
> the documentation of ISC documents this very well.
>
> I would suggest by starting to read "man dhcpd.conf". You will find
> referrals to other good pages in there as well
>
> Cheers,
>
>
> Rudy
>
> On 01/03/2011 01:36 PM, arun.sasi1 at wipro.com wrote:
>> Ho to implement below in my Ubuntu server.
>>
>> if { substring (client-id,1,4)="RAS "
>> ignore booting ;
>> }
>>
>>
>> -----Original Message-----
>> From: dhcp-users-bounces+arun.sasi1=wipro.com at lists.isc.org
>> [mailto:dhcp-users-bounces+arun.sasi1=wipro.com at lists.isc.org] On Behalf
>> Of Simon Hobson
>> Sent: Monday, January 03, 2011 6:02 PM
>> To: Users of ISC DHCP
>> Subject: Re: Multi IP assign for single MAC-Urgent
>> Importance: High
>>
>> arun.sasi1 at wipro.com wrote:
>>
>>> This is a multi IP assignment for single host with DHCP server.
>>>
>>> I have dhcp server running in Ubuntu platform. I have configured
>>> DHCP with "range". There is no MAC binding or reserve concept.
>>>
>>> Here I can see in my Webmin and dhcpd.lease database multiple active
>>> IP for single host.
>>>
>>> I compared the two active lease and found that client are populating
>>> and registered with two different UID for single MAC.
>>>
>>> Please help me to resolve this issue.
>> Did you try searching the archives at all - it's a common and well
>> known problem.
>>
>>> Logs
>>> lease 163.183.39.238 {
>>> starts 3 2010/12/29 06:01:26;
>>> ends 4 2010/12/30 06:01:26;
>>> tstp 4 2010/12/30 06:01:26;
>>> cltt 3 2010/12/29 06:01:26;
>>> binding state active;
>>> next binding state free;
>>> hardware ethernet e0:cb:4e:24:8c:27;
>>> uid "\001\340\313N$\214'";
>>> client-hostname "MHAMZEHNAZ-IR16";
>>> ------------------------
>>>
>>> lease 163.183.39.247 {
>>> starts 2 2010/12/28 04:32:34;
>>> ends 5 2010/12/31 04:32:34;
>>> tstp 5 2010/12/31 04:32:34;
>>> cltt 2 2010/12/28 04:32:34;
>>> binding state active;
>>> next binding state free;
>>> hardware ethernet e0:cb:4e:24:8c:27;
>>> uid "\001RAS \340\313N$\214'\000\000\000\000\000\000";
>>> client-hostname "MHAMZEHNAZ-IR16";
>> The key bit here is the uid starting with ""\001RAS ", which suggests
>> this is a Windows server with RAS (Remote Access Service) enabled.
>> These servers will automatically obtain (IIRC) 10 addresses just in
>> case a client should ever connect to it. If you aren't using RAS,
>> then the easiest thing to do is to ignore such requests like this :
>>
>> if { substring (client-id,1,4)="RAS "
>> ignore booting ;
>> }
>>
>> See also :
>> https://lists.isc.org/mailman/htdig/dhcp-users/2006-March/000273.html
>



More information about the dhcp-users mailing list