ComputersEquipment

DHCP server: installation, activation and configuration

Every day the number of questions about computers is growing. And many of them are connected primarily with the worldwide network. Among the questions that are asked by many users, the DHCP service is often mentioned. How to install and configure it? After reading the below, you will understand why this server is needed, how to work with it.

General information about DHCP

Absolutely every user whose computer is running a Windows server type can install a service such as a DHCP server. However, sometimes this process is accompanied by some problems. In this regard, in the above operating system, there is such a concept, which makes possible the authorization with Active Directory. This occurs immediately before serving requests from the client. In the event that the server that is part of the domain is not authorized in Active Directory, the service will not start.

What do I need to know in order to install the required server?

A service called DHCP Servers can only be installed on the computer that is controlled by the Windows-based operating system . In order to install such a server, you will need the following:

1. Go to the "Installation and removal of programs", which is located in the "Control Panel".

2. You will need to select the "Add and remove components" tab, which is located in the panel on the left.

3. After that, the "Component Wizard" should start. You will need to click the "Next" button.

4. You should select a section such as "Network Services", and click on the button called "Composition".

5. You will need to select the "Dynamic Host Configuration" entry and click the "OK" button.

6. After that, you need to click on the "Done" button, and then on the "Close" item.


Now we can say that the DHCP server for Windows XP and other systems of such a family is fully installed.

How to pass the authorization procedure for the service?

In order to authorize a DHCP server, you will need to perform some important actions:

1. Pass the registration procedure, taking the rights of a member of the Enterprise Administrators group.

2. Open the server snap-in through the "Administration" tab, which is located in the "Start" menu in all programs.

3. Select the one that is the root of the snap-in. You need to click on it with the right mouse button and find a command called "Browse authorized servers".

4. After that, all services will be displayed. To add a new DHCP server, you need to click the "Add" button.

5. Enter the data (the IP address of the new server or its name). After that, press the "OK" key.

6. Then you need to close everything by clicking on the corresponding button.

After those parameters that the DHCP server has, will be updated, the red arrow will change its color to green. Please note that the update procedure can continue for several minutes.

What do I need to do to configure the server?

The installed server should be configured using a special utility called DHCP Manager. It will need to be installed after the installation of the appropriate service. So how do you configure the DHCP server?

1. You need to open the previously installed program. DHCP Manager is located in the "Administration" tab.

2. Having found the inscription "Local computer", you need to double-click on it with the right mouse button.

3. You must select the "New" command, which is located in the menu called "Scope".

4. A dialog box opens. It will need to type information of the following type: the initial address, the final address. Accordingly, when entering these data, the user delineates the boundaries of using the client. You will also need to enter the subnet mask and those initial and final addresses that you want to exclude from the range. You will also need to dial data concerning a single address that is excluded from the general range, time of its use, name.

5. After entering any comments, click on the "OK" button.

6. When you are prompted to make the band active, you will need to click the "Yes" button.

Now you know how to set up a DHCP server. We hope that this information will be useful to you.

How to make the necessary service properly?

So, the basic parameters that the DHCP server possesses were as thoroughly as possible considered. How do I enable it? Before doing this, you will need to understand that the DHCP service is a special protocol that is required to automatically give out IP addresses to personal computers. Accordingly, the connection to the worldwide network will also depend on this server.

It will be necessary to start the computer as administrator. Then you need to go to the Start menu. In the line called "Run" you must enter a command such as napclcfg.msc, and then click on the "Ok" button. After the corresponding window is opened, you will need to make a choice in favor of such an item as "Clients of compulsory protection". In the list that opens, you need to select the server you need (the DHCP forced client ). Right-click on it and select "Enable".

What if I need to merge several computers into one network?

Sometimes several PCs have to be integrated into one network. And to not manually assign IP addresses, the DHCP service is involved. This is done as follows:

1. It is necessary to put the IP address in the automatic mode on the personal computer.

2. After it is loaded, a request will be sent to provide the address.

3. Such a request will be received by absolutely all computers that are in the same network. However, the response to it will be generated only by the DHCP server. It is he who will give the computer that address that is free. Data will also be transmitted about the mask, the address of the gateway, and so on.

4. The computer after receiving all the necessary parameters can apply them. Naturally, after the reboot the request will be sent on a new one. Accordingly, the new IP address will also be received.

What do I need to do to configure the service through the router?

You should consider in more detail how to enable the router's DHCP server. To do this, you need to go to the device and start setting up the IP address.

1. The Router> en command allows you to get a privileged status.

2. The Router # conf t command will help you get to the global configuration.

3. Using the input Router (config) #inf fa0 / 1, you can enter the interface setup mode.

4. By entering Router (config-if) #ip address, you can specify an IP address. The subnet mask will also be set.

5. The inscription Router (config-if) #no shut will allow you to turn off the interface.

6. By typing a command such as Router (config-if) #exit, you can return to the global configuration menu.

How to configure the server correctly?

After all the above items are met, you can proceed to configure the server. It is he who will distribute all the necessary parameters to computers.

1. Using the command Router (config) #ip dhcp pool test, you will be able to create the pool addresses that will be called Test.

2. Use the Router (dhcp-config) #network command to specify the subnet. It is on it that the IP address is distributed.

3. By using the Router (dhcp-config) command # default-router, a parameter such as default-gateway will be passed to a specific computer.

4. The Router (dhcp-config) command # dns-server allows you to pass a parameter specific to the DNS network.

5. With the command Router (dhcp-config) #exit, you can return to the global configuration menu.

And what if you do not need to give out absolutely all the addresses?

Quite often, setting up, for example, on a Windows 7 DHCP server, there is a desire to distribute not all the addresses that are on the subnet, but only some of them. In this case, everything must be set statically. Usually this can be attributed to servers. In addition, the address specific to a particular router does not always have to be given to someone. You can give an example of how to use one command to allocate certain addresses, in the distribution of which there is no need.

By configuring a DHCP server on Windows 7, you can enter an inscription such as Router (config) #ip dhcp excluded-address. It allows you to remove from the distribution of all the addresses that are in a certain range. If you then turn on the computer, which is corrected for the automatic issuance of addresses, you can see that it has received that IP-address, which at the moment is free.

Is there any other way to configure the service correctly?

Now you know what a router's DHCP server is, and how it can be configured. But there is another way to configure that extends to the Cisco model devices.

If there is a large number of different subnets and the desire to make distribution of all the addresses occur centrally through the use of one server, you will not need to configure the server on the device, but specify where it is located. As an example, you can demonstrate the following set of commands, which will contribute to the achievement of the goal:

1. Router (config) #int fa0 / 1. This command allows you to log into the interface settings, which captures all computer calls.

2. Router (config-if) #ip helper-address. By typing such an inscription, you can specify the address on which the server we need is located. Accordingly, access to this server must be granted to a particular router. In addition, the configuration of the address pool that will be distributed must be completely completed.

Such a scheme, which allows you to configure a DHCP server, Linux, Windows, Cisco, assigns the role of an intermediary to the router itself. If you receive a request from a specific computer, the device will simply forward it to the server that was specified in the command. Also he will deliver the request in the opposite direction.

The complexity of installing the service should not be frightened

We hope that this review helped to understand all the issues that interest you and understand what a server like DHCP is, what it is needed for and how to configure it. Everything in fact turns out to be even simpler than described in the article. Therefore, if you need to configure and install the service, you can safely read the review and act. Good luck with your activities!

Through the fault of what errors the server configuration may not be saved?

Working with a DHCP server, you may encounter the following errors:

1. It was wrong to change the basic settings.

2. Incorrect addresses were entered.

3. The user incorrectly specified the subnet mask.

4. The address of the router was entered incorrectly.

5. The address of the router does not match the range that is typical for the subnet.

6. The domain was not set correctly.

7. The DNS server was not specified correctly.

8. The user entered inaccurately the address where the time server is located.

9. An error occurred during the introduction or correction of the ranges.

10. IP-addresses were created inaccurately.

11. The final address was entered inaccurately.

12. The desired range could not be added.

13. Until all addresses are set correctly, the range will not be added.

14. A range has been entered whose parameters are the same as those of the already available range in the DHCP server.

These are the main mistakes most users face. Remember that everything must be done carefully and thoroughly, so that later you do not have to correct the data entered earlier.

Similar articles

 

 

 

 

Trending Now

 

 

 

 

Newest

Copyright © 2018 en.birmiss.com. Theme powered by WordPress.