ISC DHCP server offers fixed IP addresses to ANY device!

li jun li-jun-a at hdsc.hitachi-displays.com
Fri Dec 26 02:05:52 UTC 2008


 Hi
Merry Christmas!
 I have the same problem.And I  modified dhcpd.conf  as the way Anderson
mentioned.
.e.g

subnet 10.10.10.0 mask 255.255.255.0 {
  option routers 10.10.10.1;
  range 10.10.10.2     10.10.10.56
  range 10.10.10.58    10.10.10.254
  host donaldduck {
    hardware ethernet 00:11:22:33:44:55;
    fixed-address 10.10.10.57;
  }
}

but when I restart the dhcpd. the daemon reported error message.(log:
"Address range 10.10.10.58    10.10.10.254 netmask 255.255.255.0 spans
multiple subnets!")

Is there any mistake in my conf file?
Thanks!
 -----------------
Li


-----Original Message-----
From: dhcp-users-bounces at lists.isc.org
[mailto:dhcp-users-bounces at lists.isc.org] On Behalf Of Chuck Anderson
Sent: Saturday, December 20, 2008 6:55 AM
To: dhcp-users at lists.isc.org; dhcp-users at isc.org
Subject: Re: ISC DHCP server offers fixed IP addresses to ANY device!

> Any help/response on this issue is highly appreciated.

1.  Host statements are always global.  Don't bother splitting them and
declaring them inside each subnet.  It will cause problems with option
inheritance.

2. fixed-addresses MUST NOT BE INCLUDED IN ANY RANGE STATEMENTS.  
Split the ranges around any assigned fixed-addresses.  E.g. if you have this
anywhere in the config file:

fixed-address 10.10.10.57;

You must create ranges that don't included 10.10.10.57, e.g.:

range 10.10.10.10 10.10.10.56;
range 10.10.10.58 10.10.10.100;
_______________________________________________
dhcp-users mailing list
dhcp-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users

Disclaimer:
The contents of this e-mail, and its attachments, if any, are confidential and may be protected
by law against any unauthorized use.  If you have received this e-mail by mistake or have
reason to believe that you are not the intended recipient, please notify the sender by reply
e-mail as soon as possible and delete it from your computer system immediately thereafter.
If you are not the intended recipient, you must not copy this e-mail or attachment or disclose
the contents to any other person.  While we have made every effort to keep our network virus free,
we take no responsibility for any computer virus which might be transferred by way of this e-mail.



More information about the dhcp-users mailing list