IP address range

Glenn Satchell Glenn.Satchell at uniq.com.au
Tue Jul 14 15:44:44 UTC 2009


Hi Jason

Try this:

subnet 172.16.0.0 netmask 255.255.0.0 {
     option routers 172.16.0.1;
     range 172.16.0.2 172.16.0.254;
}

The range should not include any addresses that are used by devices not
being served by dhcp.

man pages are most likely installed on the system, so:

% man dhcpd.conf
...
     The subnet statement

      subnet subnet-number netmask netmask {
        [ parameters ]
        [ declarations ]
      }
...
     The subnet-number should be an IP  address  or  domain  name
     which  resolves  to  the  subnet  number of the subnet being
     described.   The netmask should be an IP address  or  domain
     name  which  resolves to the subnet mask of the subnet being
     described.   The subnet number, together with  the  netmask,
     are  sufficient to determine whether any given IP address is
     on the specified subnet.

HTH

regards,
-glenn


>Date: Tue, 14 Jul 2009 17:30:34 +0200
>Subject: Re: IP address range
>From: Jason Penton <jason.penton at gmail.com>
>To: Users of ISC DHCP <dhcp-users at lists.isc.org>
>X-BeenThere: dhcp-users at lists.isc.org
>X-MIME-Autoconverted: from quoted-printable to 8bit by mail.uniq.com.au id 
n6EFVVUd004820
>
>I think you misunderstood my question Jason, I know how to add a 24
>bit IP range. Im asking about a 16 bit IP range!
>
>googling for man dhcpd.conf doesnt help me with that particular
>question (believe me I've searched)
>
>
>On Tue, Jul 14, 2009 at 4:53 PM, Jason Gerfen<jason.gerfen at gmail.com> wrote:
>> subnet 192.168.241.0 netmask 255.255.255.0 {
>>      option domain-name-servers 192.168.115.10, 192.168.18.2;
>>      option routers 192.168.18.1;
>>      range 192.168.241.1 192.168.241.255;
>> }
>>
>> Google for man dhcpd.conf
>>
>> On Tue, Jul 14, 2009 at 8:45 AM, Jason Penton <jason.penton at gmail.com>
>> wrote:
>>>
>>> Hi All,
>>>
>>> I want to use DHCPD to server addresses for the follwoing network
>>> 172.16.0.0/16. How do I configure this in the dhcpd.conf file. ie.
>>> will it look as follows:
>>>
>>> range 172.16.0.1 176.16.254.254
>>>
>>> any help / pointers much appreciated
>>>
>>> thanks
>>> Jason
>>> _______________________________________________
>>> dhcp-users mailing list
>>> dhcp-users at lists.isc.org
>>> https://lists.isc.org/mailman/listinfo/dhcp-users
>>
>>
>>
>> --
>> Jason Gerfen
>> jason.gerfen at gmail.com
>>
>> ~ tomorrow ain't promised so we live for today
>>
>> _______________________________________________
>> dhcp-users mailing list
>> dhcp-users at lists.isc.org
>> https://lists.isc.org/mailman/listinfo/dhcp-users
>>
>_______________________________________________
>dhcp-users mailing list
>dhcp-users at lists.isc.org
>https://lists.isc.org/mailman/listinfo/dhcp-users
>




More information about the dhcp-users mailing list