Patent attributes
Disclosed is a method for applying a TCP/IP protocol in a mesh network, comprising: constructing protocol stack models of a root node and one or more ordinary nodes in the mesh network; the root node using a custom IE in a management frame to share an IP configuration acquired by itself from a router, a MAC address of itself, and a MAC address of the router with the ordinary nodes; each ordinary node adopting a static IP configuration mode to set its IP configuration as that of the root node; the root node acquiring a port range available for each ordinary node; and each node in the mesh network communicating with an external IP network over a TCP/IP protocol stack. In the invention, when an IP datagram is forwarded in the mesh network, there is no need to perform layer-by-layer NAT, and no need to recalculate a checksum of the IP datagram when it reaches the root node, thereby greatly improving network communication efficiency.