摘要 |
<p>The present invention provides a method for realizing network topology discovery, which relates to a dynamic host configuration protocol (DHCP) client, a plurality of intermediate devices and a DHCP server and comprises: the intermediate devices recording successively address information of the intermediate devices into a DHCP option of a message in a DHCP message request sent by the DHCP client when receiving the message; and when receiving the message, the DHCP server storing a physical address of the DHCP client and information in the DHCP option carried in the message, while assigning an IP address to the DHCP client. The present invention is simple to implement, and can be implemented using only each sub-option in the original Option82 of the DHCP conveniently without additional devices, therefore it is suitable for network topology discovery of the LAN, and has high system performance-price ratio.</p> |