Among static ip and dhcp, dhcp is faster. DHCP, Dynamic Host Configuration Protocol, is a method that provides a method of transmitting configuration information to the host; the client uses UDP68 port to send request messages, and the server uses UDP67 port to respond. , providing the client with an IP address and other related information.

The operating environment of this tutorial: Windows 7 system, Dell G3 computer.
Among static ip and dhcp, dhcp is faster
Dynamic Host Configuration Protocol The dynamic host configuration protocol is a method that provides a method for transmitting configuration information to the host.
The client uses UDP68 port to send a request message, and the server uses UDP67 port to respond, providing the client with an IP address and other related information, such as network mask, routing, DNS server address, etc. Based on Client-Server mode, the information format is similar to BOOTP.
Advantages and Disadvantages of Manually Configuring IP Addresses
(1) Disadvantages:
Configuration is cumbersome;
It is easy to cause IP address conflicts;
Mobility is poor;
Security cannot be guaranteed.
(2) Advantages:
Simple configuration;
Good mobility;
Relatively safe.
Address allocation method
Automatic allocation - DHCP assigns a permanent IP address to the host
Dynamic allocation - DHCP assigns a lease to the client address (or until the host declares that it has given up Address)
Manual allocation - The host IP address is specified by the administrator
Note: Only dynamic allocation has an address recycling mechanism.
DHCP common terms
DHCP client: DHCP client, a host that obtains network parameters through DHCP.
DHCP server: DHCP server, a host that provides network parameters to the DHCP client.
BOOTP relay agent: BOOTP relay agent, a host or router that transmits DHCP messages between the DHCP server and the DHCP client.
DHCP relay agent: DHCP relay agent, a host or router that transmits dhcp messages between DHCP servers and DHCP clients.
binding: binding, encapsulation. Encapsulate and distribute the collected configuration parameters (including at least one IP address) to the client. This action is handled by the server.
Dhcp Relay
In a large network, there may be multiple subnets. The DHCP client obtains the IP address after obtaining the response from the DHCP server through network broadcast messages. But broadcast messages cannot cross subnets. Therefore, if the DHCP client and server are in different subnets, can the client still apply for an IP address from the server?
This requires the use of DHCP relay agent.
DHCP relay agent is actually a software technology. The computer with DHCP relay agent installed is called DHCP relay agent server. It is responsible for the communication tasks between DHCP clients and servers between different subnets.
For more computer-related knowledge, please visit the FAQ column!
The above is the detailed content of Is static IP faster or dhcp faster?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Atom editor mac version download
The most popular open source editor

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.





