[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: subnets in dhcp server



2008/11/12 Jesus arteche <chechu.linux@gmail.com>:
> hey,
>
> I want to know if its possible  create several subnets inside the same
> subnetwork with dhcp server, i mean i have my subnet 192.168.2.0 and i want
> to create the subnet 192.168.2.0 (192.168.2.1-192.168.2.63...netmask
> 255.255.255.192),  subnet 192.168.2.64 (192.168.2.65-192.168.2.123...netmask
> 255.255.255.192),...
>
> thanks

Yes quite possible, just change the range values to suit.
In my home setup values 192.168.0.1 - 31 are handed out via dhcpd statically.

subnet 192.168.0.0 netmask 255.255.255.0 {
  range 192.168.0.32 192.168.0.64;
}


Look at the dhcpd.conf file It's quite easy to figure out

But I am going to ask why you want dhcp to hand out addresses to
consecutive ip ranges.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
<erno> hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


Reply to: