Technical Q & A: Do I need to enable DHCP for residential district or urban village broadband? What is the difference between enabling DHCP and enabling DHCP?

Source: Internet
Author: User

Do I need to enable DHCP for the community or village network? The following is a technical analysis on personal opinions.

My personal suggestion is to enable DHCP, but some people ask why China Telecom and China Unicom do not enable DHCP?

When DHCP is enabled, you can see that the boot speed is faster. I think there are more benefits that cannot be seen.

DHCP principle:

When the host changes from the down status to the up status, if the network adapter is in DHCP mode, the TCP/IP is automatically activated, use UDP port 67 to broadcast a DHCP discover packet to 255.255.255 to find the server. After the server receives the packet, it will report a dhcpack packet to the client, and then the client will configure the IP address based on the server's settings.

The above is a normal process in case of DHCP.

What if DHCP is not enabled? When the client fails to access the dhcpack data packet, it connects to broadcast for three times, and the first layer switch broadcasts the data to all switches. Layer by layer broadcast to all ports to generate spam packets. If there are many users, you can guess how many spam packets are there?

Therefore, we recommend that you enable DHCP to reduce the number of DHCP broadcast packets.

At this time, some people will ask the above question: why are China Telecom and China Unicom disabled?

If your network uses a switch with VLAN instead of a common switch, DHCP packets are sent only to the Communication Server. The switch is isolated by VLAN, packets will not be broadcast to all ports, so that the packets will not be repeatedly broadcast.

By the way, if you set the netmask code to 255.255.255.255, it can penetrate like these broadcast packets pointing to 255.255.255.255.

In fact, enabling DHCP has many advantages: for example, you can access the Internet without dialing, but only restrict access to some recharge NICs, the announcement website can also provide the IP address base for Web authentication, and can be connected to an intranet remote assistance tool such as the simple dial king when the user's pppoe module is damaged.

There is another problem. I just want to mention whether or not to do this. It is quite contradictory, but If you enable the wayos PNP Internet access, you can enable it, does the gateway in DHCP need to write the route?

As we all know, nowadays, many virus software first obtains the gateway of the NIC, and then uses the gateway to send ARP packets ~~~~~

I personally recommend that you enable DHCP to reduce the number of broadcast packets, and broadcast some ancillary services. In addition, in a common switch environment, DHCP can be used to isolate Intranet machines, so as to avoid scanning by P2P Terminator and jusheng network management.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.