Sunday, January 8, 2012

Windows 8 Server DHCP

Introduction
The Dynamic Host Configuration Protocol aka DHCP was introduce as part of the standard design to reduce administration burden in a bigger environment which contain a lot of computer or network devices. By using DHCP, all of the devices which are connected in the private LAN will get the IP address from the DHCP servers.

In a more complex environment, mac address binding is configure on the DHCP server to make sure that the devices will get the same IP address all the time. However DHCP is not commonly use for IP address allocation for server or any critical network component.
The services become critical where by the number of computer increase, and the availability of the DHCP is important for a corporate network. There are a lot of product and method that can be use in order to achieve the high availability for the DHCP server. Mostly the term we use will be failover or standby server.
failover can be in 2 way, one is switchover and another will be automatic failover. However the previous release, the configuration might be complicated to configure and mistake can happen. For automatic failover mostly uses a heartbeat or pulse between the 2 servers.
While in another term, failback which mean to restore a system to a previous state. In the latest release of DHCP in Windows Server 8, failover and failback you can achieve in a few clicks.


Prerequisite
Before we start and plan for high availability for the DHCP server, we must know well in term of the requirement and also how you want to plan for your entire corporate LAN. You will need a domain controller and 2 DHCP which are member server of the domain.

For planning purpose, when you want to plan for your range of IP address for your computers. Avoid configure a big subnet, as if your network don’t have any devices to protect from ARP storms, the broadcast from the computers can cripple your network.


Configuration
1)The first step of will be adding the roles into the server. You can use the server manager to add the roles.


2)Once you have install and configure your DHCP, now you need to configure the scope for your server. The scope contain IP address information such as IP, gateway and DNS when the client request for an IP address



3)In the latest windows server 8, the failover configuration it is easy, just a few click on the scope. You can have your DHCP failover within minutes.


I am interested in hearing your feedback, so that I can improve my articles and learning resources for you.


Reference

4 comments:

  1. Currently I'm having one problem with the DHCP. One notebook has Lan connection and wireless connection. Both adapters couldn't be the same IP address. Let say, my company has 200 computers. I need to allocate 200 for them. Some user they want to use wireless. I couldn't provide them 2 ip as soon I will limit ip address to allocate to new computer.

    Current practise is I allocate 1 ip to the computer (notebook). User need to manually disable the lan adapter and enable the wireless to avoid the setting conflict.

    Please advise...

    ReplyDelete
  2. Hi Maniac4U,

    Thanks for your comment, there is solution for this.For security best practice especially on wireless deployment you should isolated that from the LAN.The users should have 2 IP. The wireless LAN configuration you should have a setting different from the LAN(e.g.wireless network user should not have access directly to the servers).

    As you know in wireless network, it is always broadcasting and attacker can always find opportunity to hack in which you can read from here http://www.wongchonkit.com/2011/10/wireless-attack-on-microsoft-peap-part.html

    But if you still insists on using one IP for each computer that is still fine, but however as you mention you need to disable the LAN adapter for the wireless network to use.You can use the netsh script and put into the desktop for user for them to click.Let me know if I have answer your question. I be more happy to help you.

    ReplyDelete
  3. btw, how do u record this windows screen?

    ReplyDelete
  4. It's not a special software.It's part of the vmware workstation feature.I just login to the server using remote desktop. VMware workstation is given to free to all test taker after we have past the VMware certification.

    ReplyDelete