
¡¡¡¡¹¤ÒµÂ·ÓÉÆ÷µÄDHCPͨ³£Óɹ˿Ͷ˷¢Æð¹ã²¥ÇëÇ󣬷þÎñÆ÷ÊÕµ½ÇëÇóºóÔÚÅäÖÃÎļþÖвéѯ£¬Èç¹û·ûºÏÒªÇóÔòÏò¹Ë¿Í¶ËÌṩ·þÎñ¡£
1¡¢ 0.000000 0.0.0.0 255.255.255.255 DHCP 342 DHCP Discover - Transaction ID 0xba170374 2¡¢ 0.000000 10.0.2.2 10.0.2.15 DHCP 590 DHCP Offer - Transaction ID 0xba170374 3¡¢ 0.005345 0.0.0.0 255.255.255.255 DHCP 342 DHCP Request - Transaction ID 0xba170374 4¡¢ 0.005510 10.0.2.2 10.0.2.15 DHCP 590 DHCP ACK - Transaction ID 0xba170374
|
¡¡¡¡(1)¹Ë¿Í¶ËÔÚÒÔÉÏÒÔÌ«ÍøÉϹ㲥¡°DHCP Discover¡±±¨ÎÄÀ´·¢ÏÖDHCP·þÎñÆ÷¡£
¡¡¡¡(2)IPΪ10.0.2.2µÄ·þÎñÆ÷ÊÕµ½¹ã²¥ÇëÇóºó£¬Ïò¹Ë¿Í¶Ë»ØÓ¦ÇëÇ󣬷¢³öµ¥²¥¡°DHCP Offer¡±±¨ÎÄ£¬²¢ÇÒÄ¿µÄIPΪ10.0.2.15¡£
¡¡¡¡(3)¹Ë¿Í¶ËÔÙ´ÎÒԹ㲥ÐÎʽ·¢³ö¡°DHCP Request¡±±¨ÎÄ¡£ÕâÊÇÒòΪ¹Ë¿Í¶Ë¿ÉÄÜÊÕµ½¶à¸ö·þÎñÆ÷¡°DHCP Offer¡±±¨ÎÄ£¬¹Ë¿Í¶Ë»á¸ù¾Ý±¨ÎĵÄÄÚÈÝÀ´Ñ¡ÔñÒ»¸ö¸øÓèÏìÓ¦£¬²ÉÓù㲥ÐÎʽ¿ÉÒÔÈöà¸ö·þÎñÆ÷¾ù¿ÉÊÕµ½¡£
¡¡¡¡(4)µ±·þÎñÆ÷ÊÕµ½¡°DHCP Request¡±±¨Îĺ󣬷þÎñÆ÷ÔÚ½«¹Ë¿Í¶ËµÄMACµØÖ·Í¬·ÖÅäµÄIPµØÖ·°ó¶¨ºó£¬½«IPÐÅÏ¢(IP¡¢ÑÚÂë¡¢Íø¹ØµØÖ·ºÍDNSµÈ)·¢Ë͸ø¹Ë¿Í»ú¡£
¡¡¡¡(5)¹Ë¿Í»úÊÕµ½¡°DHCP ACK¡±±¨Îĺ󣬽«IPÐÅÏ¢ÉèÖõ½Ö÷»úϵͳÉÏ¡£ÕâʱIPÉèÖþÍÍê³ÉÁË£¬¹Ë¿Í»ú¾Í¿ÉÒÔʹÓÃIPÀ´·ÃÎÊÍøÂçÁË¡£