One up when network management (a) DHCP configuration on--windows server

Source: Internet
Author: User

School laboratory large and small equipment, network environment although not complex, but also more complex than the home. Just practice practiced hand, just write some articles, lest later the laboratory network no one tube. So let's start with the DHCP configuration!



What 1.DHCP is. What's the use?

Dhcp. Dynamic Host configuration Protocol. config protocol. is a network protocol used in the LAN. Based on UDP. The serverport number is 67,client to 68. The IPV6 version number is 546. Because IPV6 in the laboratory on this side of the device can not support the normal. So here is not the detailed IPv6 related content.

Plainly. DHCP is in fact to the LAN in the host allocation of some network configuration information, including the most common routers, gateways, DNS, subnet mask, etc., with the DHCP itself to allocate, the burden of network administrators will be reduced a lot, IP, mask, DNS does not have to manually go to a set. And can be in the IP address of the network to certain management.

Here's an idiot to ask, why configure these network information? That is, configure IP, mask, DNS, gateway, etc? The answer is very easy. Because unworthy you can not go to the net, do not deserve you will not group LAN, you can not open CS.


2.IP address, DNS, Gateway, mask Literacy
Ip:internet Protocol. network protocol, IP address is naturally the network protocol address. With this address, the ability to carry out the main network, the equivalent of you bought a suite. Then you put the number, other people to find your home. Dns:domain Name System, domain name systems. Visiting the site on the Internet is, in fact, an IP address, but it's certainly inconvenient to visit the IP address. For example, 202.117.128.8, ordinary people do not have to remember the IP address to visit the site, everyone for convenience, will visit the domain name such as baidu.com, DNS has appeared, DNS is to convert the domain name to an IP address. Gateways: Gateway, in a nutshell, connects two different network levels. Gateway in the LAN generally in the router or the presence of a routing protocol, the popular point is "split network." Mask: Speaking of masks. You have to talk about the division of subnets and subnets. Today's IP uses CIDR to divide subnets, and IP addresses and subnet masks are bitwise AND. Results can be used to represent the division and definition of subnets.
3. Network topology Analysis

The above is the lab's internal network topology, relatively simple, three servers in two are mainly used for network sharing. A dedicated download. More devices under the main server, that is, 222.24.52.173server, intranet ip:172.20.0.1, mask 255.255.0.0. The server also drags 4 switches and 4 switches are cascaded to provide network services to the lab's internal PC, 2 wireless routers, Macs, and other mobile devices.

Because two of the servers used for network sharing are in static DHCP mode, the assigned IP is fixed, so at most, more than 250 IPs are allocated. The secondary server is primarily used to share the internet pressure on the primary server, simply by dragging a wireless router and without a switch, providing only wireless network connectivity services.


Configuration of 4.DHCP
Now that the layout of the network has been basically built. So. Now all you have to do is configure it on the server. Because Windows Server 2003 R2 is compared to Windows Server R2. Stability is still relatively poor. So three servers are using Windows Server R2 's operating system. The first step. Configure a fixed IP address for the internal network cardIn order to enable the DHCP service, you must have a network card that connects to the internal network (that is, networks that require DHCP services). Manually configure a fixed IP address. Tip: It is a good idea to rename the network card. Use the WAN and LAN to differentiate between intranet and extranet network cards, as seen in:
Next, you see, select the Intranet network card, in the attribute to specify a fixed LAN IP address, this address must be within the following range: ①10.0.0.0~10.255.255.255②172.16.0.0~ 172.31.255.255③192.168.0.0~192.168.255.255 these three IP segments are referred to as intranet IP address segments. is a reserved address in the IPV4. Can be used to configure the LAN, but in order not to conflict with the router, it is recommended to select the IP address of ① and ② segments.


OK later. The DHCP IP address is configured.
The second step is to join the role for server:First open Server Manager, join the role, see the
Depending on the needs, can choose to install the relevant role, here I installed the DHCP, network policy and access services and file services, the following describes their basic use of three: ①DHCP: provides DHCP services. The IP address assignment policy can be managed at the same time, such as IP address assignment, DNS allocation, and so on. such as assigning a fixed IP address. Or exclude some IP addresses.

② Network Policy and access services: Provide VPN, NAT, routing and other services, is a higher level of network services, relatively complex. Typically used in conjunction with DHCP, DNS, and so on. ③ File Services: Primarily file-sharing services. Today we mainly describe the configuration of DHCP.

And then the next step. Of course, in a step-by-step hint to do some of the main configuration, but assuming that it is not easy, it is a casual configuration, and then the next step, and so all finished before the specific configuration.


WINS is basically not configured, that is, the use of
When you join a role, you can create a simple and usable scope directly.
Suppose the IPV6 network is not sound or is not available. Ability to disable IPV6 stateless mode
After the information is checked correctly, click Install to complete

step three, create scopes, enable DHCP, locate DHCP in the administration tool. When open, right-click in IPv4 and create a new scope
Of Names and descriptive narratives can be assigned at their own discretion
Then. You need to determine which IP segment you need to assign. Set the IP address range, assuming that the computed subnet mask and length results in incorrect or non-conforming requirements, make your own changes. The corresponding relationship between the subnet mask and the IP address, please refer to the "Computer network" or network project division related books.

Down, assuming that you want DHCPServer to not assign an IP address. You need to join the exclusion range, configure, DHCP will not assign IP addresses between 172.20.1.100~172.20.1.150
The lease period is the expiry date of the IP address and exceeds the lease period. Requires the client to renew the IP address again or to obtain a different IP address again.

Windows default lease is 8 hours, assuming that the client's time in the network is uncertain, or very liquid, for example, the public WiFi in the mall, it is not necessary to give the client an immutable IP address. Fixed desktops in the lab are assigned to their fixed IP addresses, which makes it easy for other devices to access and test.


The next step is to set up the router, which is the default gateway mentioned above, because the server inside the lab is acting as the gateway and DHCP identity at the same time. So I configure the default gateway as a native IP, how to build a gateway, and so I next article talk about it! Next. Within the specified area. Add some dnsserver address, it is recommended to add some more, in case the DNS hangs, and best to the nearest, most stable Dnsserverip address in the first place, and then by the stability and speed gradually descending. The IP of the DNS service can be searched online. Everywhere is different, it is best not to use too far away. Avoid affecting the speed of domain name resolution. This can affect the speed of site access.
Come down to the next point, after the completion of the DHCP configuration is basically complete. The rest is to observe the IP address from the address lease list. To be cleaned or retained when required.
All right. The basic configuration of DHCP on Windows server is here. Because the DHCP configuration of the Windows system is basically similar, here is an example of incorrect 2003 and 2012. Play on your own and come out!


Reprint please indicate the source. Original address: http://blog.csdn.net/yuanguozhengjust/article/details/37512269 Welcome to follow the article!

With the DHCP configuration on the--windows server when the network administrator (a)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.