RE: [opensuse] running out of IP addresses for DHCP
Would this work if I used 192.168.50./23 to give me a range from 192.168.50.0 to 192.168.53.0?
No. It would give you 192.168.50.0 to 192.168.51.255. Using a /22 would give you 192.168.48.0 to 192.168.51.255.
Increasing the range from 254 addresses to 510 addresses would work for me.
Again, many thanks. This is a great list.
Plan for future expansion. You can set up the DHCP netblock with the entire 192.168.0.0/16 allocation but only specify individual /24s or /23s. That way, when you start running out again, you can add another range within that allocation with ease. Using this, very little changes with your present setup. All you need to do is un-comment a range and reload/restart the DHCP daemon for the allocation to become active. ~~~~~ Thank you David. Would the following suffice? This should add the extra address I'll need. shared-network MY_DOMAIN { subnet 192.168.0.0 netmask 255.255.0.0 { default-lease-time 259200; option routers 192.168.2.1; option subnet-mask 255.255.0.0; option broadcast-address 192.168.255.255; option domain-name "mydomain.com"; option domain-name-servers 192.168.2.2; option netbios-name-servers 192.168.2.2; option ntp-servers 192.168.2.2; option time-offset -28800; range dynamic-bootp 192.168.50.0 192.168.53.255; } Thanks again, ~James -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (1)
-
James D. Parra