Reconfig of dhcp.conf

Glenn Satchell Glenn.Satchell at uniq.com.au
Wed Nov 25 06:12:04 UTC 2009


Hi Chris

Do you still have a shared network with 192.168.123.0 and 192.168.124.0
on the same physical segment?

If not then your new config should be fine, and hosts on each of the
physical networks will get addresses in that range.

If they are the same network segment then you need a way to split the
hosts across the two subnets. You would also need a second IP on your
router so that it could route traffic between the two subnets.

regards,
-glenn

>Date: Tue, 24 Nov 2009 18:19:50 -0500
>From: Chris Arnold <carnold at electrichendrix.com>
>
> So, since no one answered, I am thinking it should be something like this:
> authoritative;
> option domain-name "domain.com";
> option domain-name-servers ns.server.here;
> option ntp-servers ntp.servers.here;
> ddns-update-style interim;
> default-lease-time 14400;
> max-lease-time 172800;
>        subnet 192.168.123.0 netmask 255.255.255.0 {
>          option routers 192.168.123.1;
>        range 192.168.123.20 192.168.123.250;
>          }
>        subnet 192.168.124.0 netmask 255.255.255.0 {
>          option routers 192.168.124.2;
>        range 192.168.124.20 192.168.124.253;
>          }
> 
> 
> On 11/23/09 6:05 PM, "Chris Arnold" <carnold at electrichendrix.com> wrote:
> 
> > authoritative;
> > option domain-name "domain.com";
> > option domain-name-servers ns.server.here;
> > option ntp-servers ntp.servers.here;
> > ddns-update-style interim;
> > default-lease-time 14400;
> > max-lease-time 172800;
> > Class "123 DHCP Clients" {
> >          match hardware;
> >        }
> >        subclass "123 DHCP Clients" 1:00:23:DF:86:6D:44;
> >       # HP a6313w builtin NIC subclass "123 DHCP Clients" 
1:00:1E:8C:36:08:FB;
> >        subclass "123 DHCP Clients" 1:00:06:29:89:D6:CA;
> > 
> > Shared-network EH {
> >        subnet 192.168.123.0 netmask 255.255.255.0 {
> >          option routers 192.168.123.1;
> >          pool {
> >            allow members of "123 DHCP Clients";
> >        range 192.168.123.20 192.168.123.250;
> >          }
> >        }
> >        subnet 192.168.124.0 netmask 255.255.255.0 {
> >          option routers 192.168.124.2;
> >          pool {
> >            deny members of "123 DHCP Clients";
> >        range 192.168.124.20 192.168.124.253;
> >          }
> >        }
> 




More information about the dhcp-users mailing list