Selasa, 28 Juni 2011

Advantages and Disadvantages of DHCP in Windows

If you plug in (certain) protocol tcp / ip on your network. You may also need to use DHCP (Dynamic Host Connection Protocol) to set the IP address on your network client computers are. By using the DHCP server configuration issue at least be lighter. For the owner of the cafe will also have easy if you want to expand business by increasing the number of existing computers. Because it will not bother to set the IP address on a new computer installed in an existing network.
What is the DHCP server? DHCP stands for Dynamic Host Connection Protocol. Is an extension of the BOOTP protocol that makes the client computer can be connected in a network and automatically obtain an IP address (so we do not need to manually setting the IP address). DHCP also has the ability to provide every client in a network IP address, subnet mask, default gateway, the IP addresses for WINS servers and IP addresses for DNS servers.* Note: Although we are using DHCP to provide IP addresses automatically. Computer running DHCP, WINS and DNS server itself must use a static IP address. Also in its primary domain controller.
Many of the convenience offered by the DHCP server in particular on providing a dynamic IP address. We can freely move the computer in a network to other networks that also use a DHCP server without having to reset the IP address. For the cafe that will expand also freely add computers.
How DHCP works? Prokol-based DHCP is a broadcast that does not pass through a router if it is not directed to do so. If required to work with such capabilities, the router must be configured to pass DHCP traffic that occurs on UDP ports 67 and 68. Broadly speaking, DHCP divided into four phases, namely:
a. IP LEASE REQUEST. If a computer in the living tissue, it checks whether it has been "loaned" the IP address or not. If not he will contact the DHCP server to request an IP address because the client computer does not know the address of the DHCP server. Client computers will use IP addresses 0.0.0.0 and 255 255 255 255 as the goal and make the client sends a DHCPDISCOVER message containing the address Media Access Controller and NetBIOS names.
b. IP LEASE OFFER. When the DHCP server receives a request from the client's IP address, it will list the IP with the IP address for the client deviates and sends DHCPOFFER messages. This message contains the MAC address was followed by the IP address offered by the server, a subnet mask, duration of use and the IP addresses of DHCP servers that provide a quote.
c. IP LEASE SELECTION.
If the client computer receives an IP offer, he must notify the DHCP server (if fitted) the other that he had accepted the offer. By removing the DHCPREQUEST message containing the IP address of the server which offers IP.
d. IP LEASE acknowledgment.
When the DHCP server receives the DHCPREQUEST message, he will run the last phase of the configuration process by sending a DHCPACK packet to the client. This package contains the duration of use and other configurations requested by the client computer. At this stage, the TCP / IP has been completed.
II. INSTALLING DHCP SERVER.Attention: The server should still use a static IP address even though running a DHCP server.
If you already understand how DHCP server to work we will further on how the installation of DHCP server on Windows NT Server as follows:

   
1. Open Control Panel -> Network -> Services.
   
2. Click the Add button to select Network Service.
   
3. Select Microsoft DHCP Server from the list.
   
4. Click OK and wait until the WinNT install the required files.
   
5. After finished installing WinNT warning will appear notifying you if any other network adapters that use dynamic IP should be replaced with a static IP.
   
6. Click OK and Close to close the Network Properties. WinNT will update the existing binding and restart your computer.
III. ADJUSTING THE SERVICE DHCP.
Before we configure the DHCP service. He will ask you to provide a coverage that contains IP addresses that are allowed to be given to the client computer. Make sure there are no overlapping if there are two DHCP servers work. Second, because of DHCP, WINS and DNS servers must use static IP addresses, meaning we have to provide coverage beyond the IP address of the server's IP. Example: if we have the IP address 192.168.0.1 - 192.168.0.50. We can create a DHCP scope is only on the IP address 192.168.0.11 - 192.168.0.50, and provide the remaining 10 for servers that require static IP addresses. Finally, we must take into account how many subnets that exist on our network. A DHCP server can serve multiple subnets only if your router is configured as a DHCP relay from it. Here is also worth noting that the DHCP can only provide a coverage for each subnet.
If you're ready, let's move on to configure the DHCP via DHCP Manager on the Administrative Tools such as the following

   
1. Select Local Machine entry in column DHCP server.
   
2. Select Create from the Scope menu. Fill with coverage of IP addresses that you want then enter all the subnet mask of the addresses. NOTE: If needed you can also provide coverage exclusions. This coverage contains the IP address that will not be provided to DHCP clients. DHCP server will store these addresses for servers that require static addresses.
   
3. Fill in the duration of the loan to be unlimited or to your liking.
   
4. We can give names to such coverage and add comments as a further identification.
   
5. Click OK to make such coverage. Then activate the Scope menu. (If you have, we can mengekspan Local Machine entry to see the coverage below. The icon lights mean the coverage has been active.

Tidak ada komentar:

Posting Komentar