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

Basic principle and experiment of DHCP

2025-03-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

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

What is ① DHCP?

What are the advantages of ② DHCP?

What is the workflow of ③ DHCP?

How is the working process of ④ DHCP reflected?

1:DHCP is a service protocol in which the network automatically assigns TCP/IP parameters to computers.

Configure client IP address, subnet mask, gateway. As shown in figure 1-1

The advantages of 2:DHCP are as follows:

A. reduce the workload of administrators

B. the possibility of avoiding input errors

C. Avoid IP conflicts

D. Improve the utilization of IP address

E. Convenient client configuration

3: install the DHCP server

In order to visually simulate the workflow of DHCP, we installed the windows server-2016 system on the VMware virtual machine.

(check DHCP server) Click the rest of the next check box until the installation is complete.

Open the Windows tool management system

DHCP in manually sets the scope of IPv4 to form an address pool, for example, I set 192.168.100.1-192.168.100.100 available

Among them, I reserved the auspicious number 192.168.100.88 for BOSS and entered the MAC address of the boss machine. Finally, activate the scope and open the BOSS machine. We will see the following result:

The premise of the above realization is that the virtual machine network card is set to host-only mode and in the same network segment, the Boss machine and server16 achieve signal transmission and collection through the same virtual machine network card.

DHCP is allocated in the following ways:

Automatic allocation

Manual assignment

Dynamic allocation

The workflow of 4:DHCP can be captured by wireshark software, such as:

You can see that there are several steps for the client to obtain the IP address on the DHCP server:

Client requests IP

Server response

Client chooses IP

The server determines the lease

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

Network Security

Wechat

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

12
Report