This application provides a packet sending method, a network device, and a computer-readable storage medium. The method includes: receiving, by a target service node, a first packet sent by a
client, where a destination address of the first packet is an
IP address of a
server; sending, by the target service node, a second packet to the
client, where the second packet includes an
IP address of the target service node; and receiving, by the target service node, a third packet sent by the
client, where a destination address of the third packet is the
IP address of the target service node. In the foregoing technical solution, the target service node records the IP address of the node in the second packet. After receiving the second packet, the client changes a destination address from the IP address of the
server to the IP address of the target service node to send the third packet, and the
server directly forwards the third packet to the target service node with no need to
record a correspondence between the client and the target service node, thereby reducing network overheads.