Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Build DHCP services and principles, set up special web addresses

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Build DHCP services and principles, set up special web addresses

Server image, VM virtual machine installation, please see my previous tutorial, for resources, please send me a private message, I will send you a link.

First: understand the principles and benefits of DHCP.

1. What is DHCP: dynamic Host configuration Protocol (DHCP) is a network management protocol that dynamically assigns IP addresses to any new node entering the network. DHCP allows automatic configuration of nodes, thus avoiding the need for network administrators to participate.

Benefits of 2.DHCP

The principle of 3.DHCP

The first step: discover broadcast: you spread the news, unicast: one-to-one spread of news, multicast: go for a walk in groups.

Step 2: offer

Step 3: request

The fourth step; ack

For two scenarios of client restart and lease renewal, start from step 3 after restart. If you want to renew the lease, it will take more than half of the time to renew the lease. If the time elapses, a URL will be automatically assigned to you because of the network protocol. 169.254.0.0.

2. Let's start building DHCP services:

First, we set the two virtual machines to host-only mode.

Let's open the network sharing center of our client.

Let's set the network properties, we choose to get it automatically, and then we go to build an address for it.

Let's open the server manager and choose to add roles and features

Let's start clicking step by step.

Next, let's go to the server to set a network address.

Let's go to the start menu and find the DHCP service.

Let's click IPV4 to create a new scope.

Let's first set a name scope

Let's set an address range.

Let's set a few addresses not to be assigned.

Let's set a lease time.

Let's set up the network card address of the router.

Let's not use this to do the DNS URL at first, and then get it automatically.

Let's create it. Next, let's verify that the client can connect to our server.

OK above is our client connected to the server, our web address, network card, DNS are all correct.

Let's expand to set up a special web address for special people to use.

First of all, let's go to our previous DHCP service to set up a URL!

Right-click our start icon, click run, enter our address in the following figure, and click add.

Our special web address has been set up. Let's verify it.

First of all, let's go back to the client and release the connected address we just had.

That's all we have for our DHCP service.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report