multipe dhcp pool via same interface

Glenn Satchell Glenn.Satchell at uniq.com.au
Tue Jul 22 14:28:05 UTC 2008


Yes, that should do it. Note that where you define the same setting in
more than one subnet defintion, you can move that setting to the global
scope. For example you could define option domain-name-servers in the
global scope (that is outside the subnet definitions) and it would be
inherited by all of them. If one subnet was different you could
override that value by defining it in the subnet.

regards,
-glenn

>Subject: Re: multipe dhcp pool via same interface
>From: Guillaume Vachon <gvachon at infoglobe.ca>
>To: dhcp-users at isc.org
>Date: Tue, 22 Jul 2008 08:54:27 -0400
>
>Hello again this morning,
>
>So this is what i did on my server. To the file dhcpd.conf i added these
>line :
>
>#   see /usr/share/doc/dhcp*/dhcpd.conf.sample  
># DHCP Server Configuration file.
>##
>ddns-update-style none;
>default-lease-time 86400;
>max-lease-time 604800;
>option netbios-node-type 8;
>
>subnet 172.24.50.0 netmask 255.255.255.0 {
>    # description: dhcp dolbeau
>    option domain-name-servers 172.24.50.19, 172.24.50.8;
>    option netbios-name-servers 172.24.50.19;
>    option routers 172.24.50.8;
>    range 172.24.50.101 172.24.50.199;
>    }
>
>subnet 172.24.51.0 netmask 255.255.255.0 {
>    # description: dhcp dolbeau
>    option domain-name-servers 172.24.50.19, 172.24.50.8;
>    option netbios-name-servers 172.24.50.19;
>    option routers 172.24.51.1;
>    range 172.24.51.101 172.24.51.199;
>    }
>
>subnet 172.24.53.0 netmask 255.255.255.0 {
>    # description: dhcp dolbeau
>    option domain-name-servers 172.24.50.19, 172.24.50.8;
>    option netbios-name-servers 172.24.50.19;
>    option routers 172.24.53.1;
>    range 172.24.53.101 172.24.53.199;
>   }
>
>
>Then i restarted the dhcp server. Is that all there is to do on the
>server ?!
>Now all I need to do it configure the dhcp relay on the router right ?
>
>Thanks in advance!
>
>
>On Mon, 2008-07-21 at 21:10 +0100, Simon Hobson wrote:
>
>> Guillaume Vachon wrote:
>> 
>> >eth1 - LAN 172.24.50.8
>> >
>> >there is already a dhcp pool configured on eth1 serving 172.24.50.0/24
>> >
>> >I need to add/create these pool serving 172.24.51.0/24
>> >                                                                
172.24.53.0/24
>> >                                                                 
172.24.54.0/24
>> >
>> >going through the same NIC the one in charge of the routeur will 
>> >make sure everything on the corect subnet
>> 
>> If these other subnets are on different physical networks then all 
>> you need to do is in my last message - if any of them share a 
>> physical piece of wire then things are slightly different.
>> 



More information about the dhcp-users mailing list