multipe dhcp pool via same interface
Guillaume Vachon
gvachon at infoglobe.ca
Tue Jul 22 12:54:27 UTC 2008
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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20080722/d5f01d87/attachment.html>
More information about the dhcp-users
mailing list