Record an intranet DHCP fault

Source: Internet
Author: User

I. symptom

The Intranet router is a DHCP server by default and provides the DHCP service. There are five network segments below. Suddenly, the IP addresses obtained by the hosts in the four network segments one day are not the IP address segments allocated by the Intranet route, as a result, hosts with 4 CIDR blocks accessing the Internet through DHCP cannot automatically obtain reasonable IP addresses.

Ii. Solution

(1) static address binding for all devices

The disadvantage is that it is troublesome. In this network, the PC is a static address, and a Wireless AP provides an IP address for the wireless device. If it is changed to static binding, it is troublesome to bind a static IP address to each mobile phone, the problem cannot be completely solved.

(2) locate the pseudo DHCP server and disable its service.

A. Capture packets from Wireshark and view the source IP address and source MAC address in the broadcast packet that responds to the DHCP request. For example

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/49/A2/wKiom1QXpTHxpxGNAARm26a5DIg396.jpg "Title =" mac.jpg "alt =" wkiom1qxpthxpxgnaarm26a5dig396.jpg "/>

B. Configure the local IP address and the pseudo DHCP server in the same network segment. Ping the IP address of the pseudo DHCP server and check the TTL value to determine the system type (64 is generally a Linux system, 128 is generally for Windows, 255 is generally for UNIX), and Mac Scanning

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/49/A4/wKioL1QXpVWjr6dLAAD9wFOvHtw231.jpg "Title =" mac2.jpg "alt =" wkiol1qxpvwjr6dlaad9wfovhtw231.jpg "/>

C. Based on the Mac scan results, find the host name of the pseudo DHCP server, and then find the host to close its service (if it is a network administrator, it is important to register the host ), this is the result of the failure to shut down the pppoe server set up by a colleague during the test. Fortunately, its virtual machine also has an obvious host name. Otherwise, you can find the host one by one...


This article from the "Flying Pig" blog, please be sure to keep this source http://thinkpig007.blog.51cto.com/971471/1553159

Record an intranet DHCP fault

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.