Community discussions

 
marklodge
Member Candidate
Member Candidate
Topic Author
Posts: 191
Joined: Sun Jun 21, 2009 6:15 pm

DHCP server assigns .0 IP

Fri Aug 16, 2019 9:05 am

I have a dhcp server that assigns IPs from 172.16.1.10-17..16.3.10. Now when it reaches the end of 172.16.0. range, the next IP it assigns is 172.16.1.0 How can I set the DHCP server to not assign the .0 IP of each range

Attached screenshot
You do not have the required permissions to view the files attached to this post.
 
tdw
Member Candidate
Member Candidate
Posts: 171
Joined: Sat May 05, 2018 11:55 am

Re: DHCP server assigns .0 IP

Fri Aug 16, 2019 12:29 pm

There is nothing wrong with assigning .0 and .255 addresses IF they are valid for the subnet in question, i.e. not for a /24 ethernet network as they have special meaning, but fine part way through a /23 or larger.

If for some reason you object to having .0 present specify multiple non-overlapping ranges in your IP pool - 172.16.1.10-17.16.1.255,172.16.2.1-17.16.2.255,172.16.3.1-17.16.3.10
 
pe1chl
Forum Guru
Forum Guru
Posts: 5523
Joined: Mon Jun 08, 2015 12:09 pm

Re: DHCP server assigns .0 IP

Fri Aug 16, 2019 3:10 pm

Or create dummy static entries (with nonexisting MAC address) on the addresses you do not want to assign.
But indeed, it is no problem at all. We run /22 networks all the time with a 1000-address IP range and people are happily using .0 and .255 addresses.

Who is online

Users browsing this forum: No registered users and 96 guests