Re: Extend DHCP range

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



On 8/26/19 3:48 PM, Jerry Geis wrote:
I have a simple DHCP range .

option routers 192.168.1.1;

subnet 192.168.1.0 netmask 255.255.255.0 {
         range 192.168.1.60 192.168.1.129;
         range 192.168.1.150 192.168.1.199;
         }

So I want to add a range 192.168.2.1 -> 192.168.2.254
so I did this:

subnet 192.168.1.0 netmask 255.255.254.0 {
         range 192.168.1.60 192.168.1.129;
         range 192.168.1.150 192.168.1.199;
         range 192.168.2.1 192.168.2.254;
         }

then tried to restart the dhcpd server... This did not work.
How do I get more dhcp addresses  ?

subnet 192.168.0.0 netmask 255.255.252.0

would let you have .0.x .1.x .2.x and .3.x
and so your ranges are included.

Is that what you want?

Regards.

--
   Roberto Ragusa    mail at robertoragusa.it
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux