Multi IP assign for single MAC-Urgent

arun.sasi1 at wipro.com arun.sasi1 at wipro.com
Mon Jan 3 12:36:23 UTC 2011


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
-- 
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.
_______________________________________________
dhcp-users mailing list
dhcp-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com



More information about the dhcp-users mailing list