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

Which is faster, static ip or dhcp?

2025-01-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

This article mainly explains "static ip or dhcp which is fast", the content of the explanation is simple and clear, easy to learn and understand, now please follow the editor's train of thought slowly in depth, together to study and learn "static ip or dhcp which is fast"!

Dhcp is faster in static ip and dhcp, DHCP, dynamic host configuration protocol, is a way to provide transmission configuration information to the host; the client uses the UDP68 port to send the request message, and the server uses the UDP67 port to respond, providing the client with the ip address and other related information.

The operating environment of this tutorial: windows7 system, Dell G3 computer.

Dhcp is faster in static ip and dhcp.

Dynamic Host Configuration Protocol dynamic host configuration protocol is a way to transfer configuration information to the host.

The client uses the UDP68 port to send the request message, and the server uses the UDP67 port to respond, providing the client with the ip address and other related information, such as the network mask, routing, DNS server address and so on. Based on the Client-Server schema, the information format is similar to BOOTP.

Advantages and disadvantages of manually configuring IP addresses

(1) disadvantages:

Tedious configuration

Easily lead to IP address conflicts

Poor mobility

Security is not guaranteed.

(2) advantages:

Simple configuration

Better mobility

It's relatively safe.

Address allocation mode

Auto assign-DHCP assigns a permanent IP address to the host

Dynamic allocation-A lease that DHCP assigns an address to a client (or until the host declares to relinquish the address)

Manual assignment-host IP address specified by administrator

Note: only dynamic allocation has address recovery mechanism.

Common terms of DHCP

DHCP client:DHCP client, the host that obtains the network parameters through DHCP.

DHCP server:DHCP server, the host that provides network parameters for DHCP client.

BOOTP relay agent:BOOTP relay agent, a host or router that carries DHCP messages between a DHCP server and a DHCP client.

DHCP relay agent:DHCP relay agent, a host or router that carries dhcp messages between a DHCP server and a DHCP client.

Binding: binding, encapsulation. The collected configuration parameters (including at least one ip address) are encapsulated and assigned to the client. This action is handled by the server.

Dhcp Relay

In a large network, there may be multiple subnets. The DHCP client gets the IP address after getting the response of the DHCP server through the webcast message. But broadcast messages cannot cross subnets. So, if the DHCP client and server are in different subnets, can the client still request an IP address from the server?

This requires the use of DHCP relay agents.

DHCP relay agent is actually a software technology. The computer with DHCP relay agent installed is called DHCP relay agent server, which undertakes the communication task between DHCP client and server between different subnets.

Thank you for your reading, the above is the content of "static ip and dhcp which is faster". After the study of this article, I believe you have a deeper understanding of which is faster, static ip and dhcp, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

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

Internet Technology

Wechat

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

12
Report