Home >Common Problem >Is static IP faster or dhcp faster?

Is static IP faster or dhcp faster?

醉折花枝作酒筹
醉折花枝作酒筹Original
2021-06-28 14:01:2530575browse

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.

Is static IP faster or dhcp faster?

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn