Capture records when dhcpclient switches between different dhcpsevers at a time

Source: Internet
Author: User
When dhcpclient switches between different dhcpsevers at a time, packet capture records the author's dhcpclient switches between different dhcpsevers at a time (from 10.0.2. & amp; times; network segment to 10.0.9.x network segment). The number of the fourth packet NAK in www.2cto.com is as follows... packet capture records when a dhcp client switches between different dhcp sever
The author's dhcp client switches between different dhcp sever at one time (from 10.0.2. * network segment to 10.0.9.x network segment), capture the following packet: www.2cto.com where the fourth packet NAK data content is as follows: 0110 00 00 00 00 00 00 63 82 53 63 35 01 06 36 04 0a ...... c. sc5 .. 6 ..
0120 00 09 01 38 1f 72 65 71 75 65 73 74 65 64 20 61... 8.req uested
0130 64 64 72 65 73 20 6e 6f 74 20 61 76 61 69 6c ddress n ot avail
0140 61 62 6c 65 ff 00 00 00 00 00 00 00 00 00 00 able ............
0150 00 00 00 00 00 ...... it means that the new DHCP server 10.0.9.1 finds that the DHCP Request sent by the Client itself cannot be processed, so he immediately sends a NAK so that he does not need to send it again. Then the Client sends a broadcast (discover) to get a new IP address. The Server returns the result using the Offer package. Then the Client sends a broadcast (Request), and the Server returns it using the ACK package. IP address allocated successfully. The Client uses the obtained IP address to broadcast (Inform) to the group. This means that others will not use this IP address.

(Http://tools.ietf.org/html/rfc2131) Comments: dhcp nack Shoudl be sent to any PC
Requesting DHCP connectivity from the firewall interface, if a DHCPREQUEST for
Non-configured network is already ed. THis terminates the DHCPREQUEST sequence,
And starts the DHCPDISCOVER process by the computer. ---------- In addition, whether the DHCP server can send NAK depends on whether the server configuration file dhcp. conf contains authoritative. If no, the server will not send the NAK, and the client will repeatedly send 3 (Linux) or 7 (Windows) requests before sending DIiscover to obtain the IP address again, which is very slow. If the Client is deployed on Windows, it usually takes about one minute.
 
Related Article

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.