摘要 |
The present invention discloses a packet forwarding method, apparatus, and system. The method includes: receiving an IP packet, and obtaining a destination IP address carried in the IP packet; obtaining an IP address of a next-hop device on a link from a routing table according to the destination IP address; obtaining a MAC address of the next-hop device and a corresponding port number according to the IP address of the next-hop device; and if failing to obtain the MAC address of the next-hop device and the corresponding port number, obtaining a corresponding interface on the routing device from the routing table according to the destination IP address, and obtaining the MAC address of the next-hop device and the corresponding port number from a fuzzy ARP table according to the interface; and forwarding the IP packet to the next-hop device according to the MAC address of the next-hop device and the port number, where the fuzzy ARP table records a mapping relationship between the interface, the port number, and the MAC address. |