Ken Schneider wrote:
James D. Parra pecked at the keyboard and wrote:
Hello,
I'd like to expand the pool of addresses DHCP hands out from, 192.168.2.0/255.255.255.0 to 192.168.0.0/255.255.255.0, however I am not sure how to do this correctly. Also, I'd like to remove the ranges of 192.168.2.0, 192.168.3.0 & 192.168.23.0, from the DHCP pool so I can reserve these ranges for manual assignments.
Currently my dhcpd.conf files has this;
shared-network MY_DOMAIN {
subnet 192.168.2.0 netmask 255.255.255.0 { default-lease-time 259200; option routers 192.168.2.1; option subnet-mask 255.255.255.0; option broadcast-address 192.168.2.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.2.62 192.168.2.66; range dynamic-bootp 192.168.2.68 192.168.2.71; range dynamic-bootp 192.168.2.73 192.168.2.107; range dynamic-bootp 192.168.2.109 192.168.2.129; range dynamic-bootp 192.168.2.131 192.168.2.133; range dynamic-bootp 192.168.2.135 192.168.2.137; range dynamic-bootp 192.168.2.139 192.168.2.153; range dynamic-bootp 192.168.2.155 192.168.2.157; range dynamic-bootp 192.168.2.159 192.168.2.175; range dynamic-bootp 192.168.2.177 192.168.2.253; }
How can I properly expand the range?
Thank you in advance,
James
It's been a while but if I remember right something like 192.168.0.0 with a netmask of 255.255.252.0 and a broadcast of 192.168.1.255 should allow the entire 192.168.0.1 - 192.168.1.254 addresses to be given ny DHCP.
Not quite. A netmask of 255.255.252.0 or /22 will result in a range reaching from 192.168.0.0 to 192.168.3.255. Since the OP said 192.168.3.x is already in use, it may be necessary to expand the address range in two stages. However, without knowing how the network(s) is(are) configured, I can't say for certain. -- Use OpenOffice.org <http://www.openoffice.org> -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org