How to install a DHCP server on the LAN

Hi Experts,

Current IP range(192.168.1.0/24) is not enough. Therefore we need to introduce new subnet mask(192.168.0.0/22) which gives more hosts(1022). We are planning to install a DHCP server for new IP range.

Server = Windows 2003

IP Range = 192.168.0.1 to 192.168.3.254

Subnet Mask = 255.255.252.0

 
Please help regarding above.

Thanks,

Wijendra.

wijendraAsked:
Who is Participating?
 
chrisbirleyConnect With a Mentor Commented:
it all depends as to what your setup is - if you currently use a DHCP you could look at extending its scope.

The best course of action regardless of whether DHCP is coming from a server or a piece of network equipment would be to create your DHCP server, set it up with the whole scope that you would like to use, but put in an exception for the addresses that are already being generated by your current DHCP server device - i.e. in the address pool you would set an exclusion range of 192.168.1.0 - 192.168.1.255.

you would then authorise this DHCP server so that it too is giving out DHCP addresses. you can then change the lease time on the old DHCP server, or router down to a couple of days or hours, and then disable its DHCP capability. once all of the machines are successfully on the new range (after the lease time you set has expired), you can then remove the exclusion and voila.

if you wanted to go a stage further you could build in some redundancy and build 2 DHCP servers that will serve your clients, both giving out a proportion of the IPs so that in the case of one going down, you are still serving IPs
0
 
rob_AXSNLCommented:
You can only have one DHCP service per LAN. Do you have one running now?
Where do you want the DHCP service to run.
0
 
wijendraAuthor Commented:

Thanks,


Yes, already one server is running and IP range is 192.168.3.0/24, but the ip range is not enough. we want to increase the range.

How do I do ?

Regards,

Wijendra.
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

 
Lukasz ChmielewskiCommented:
If you need help with calculating subnets and stuff use this:
http://lantricks.com/lancalculator/
0
 
chrisbirleyCommented:
sorry you may have to amend the ip range that i added - didnt see the addition till after i had posted
0
 
rob_AXSNLCommented:
You can add a scope in the new subnet, bij clicking dhcp and right click the dhcp server and select add scope.
This can only be done after the new subnet is effectuated.
0
 
rob_AXSNLCommented:
Do not JUST add a second dhcp server to your lan as this has to be carefully configured.
0
 
wijendraAuthor Commented:
Hi,

What I am planning is stopping the current DHCP server and starting a new server. The new server will include the Ip range starting from 192.168.0.1 to 192.168.3.254 and exclude the 192.168.3.50 to 192.168.3.100.

My concern is " Is it possible to use a large ip range in the DHCP server?"



Regards,

wijendra.

0
 
Krzysztof PytkoConnect With a Mentor Senior Active Directory EngineerCommented:
In my opinion, just delete actual scope on DHCP server and create new one using new IP scheme 192.168.0.0/22
Configure all necessary options 003 -> Default Gateway (router), 006 -> internal DNS servers, 015 -> DNS domain name (FQDN)
After that activate the scope but do not authorize DHCP server, yet. Open DHCP management console and under "Advanced" tab enable IP conflict detection by setting value 2-3 in "Conflict detection attempt".

 DHCP
This will rebuild all your DHCP database with issued IPs withou IPs confilct in the network. If you have any reservations, you have to recreate them manually or using script. For that you may be interested in my DHCP article at

http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/2003_Server/A_3516-Configuring-DHCP-server-from-command-line.html?sfQueryTermInfo=1+30+configur+dhcp

Regards,
Krzysztof
0
 
Krzysztof PytkoSenior Active Directory EngineerCommented:
and of course at the end authorize DHCP server (if you run it on the new one, if not, you don't have to, it is authorized) :)

Krzysztof
0
 
wijendraAuthor Commented:

Thanks.

I will get back to you tomorrow.

Regards,

Wijendra.

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.