PACKET SENDING METHOD, ROUTING TABLE ENTRY GENERATION METHOD, DEVICE, AND STORAGE MEDIUM
This application discloses a packet sending method, an apparatus, and a storage medium, and belongs to the field of communications technologies. In this application, a first network device receives a first data packet, and determines a target routing entry from a stored routing table based on a dest...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | eng ; fre ; ger |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | This application discloses a packet sending method, an apparatus, and a storage medium, and belongs to the field of communications technologies. In this application, a first network device receives a first data packet, and determines a target routing entry from a stored routing table based on a destination address carried in the first data packet. The destination address carried in the first data packet matches a site prefix included in the target routing entry, and a site identifier included in the target routing entry is used to identify a second site. Then, the first network device may send the first data packet to a network device deployed in the second site. That is, the first network device may send a data packet to the second site based on the site identifier of the second site, without determining a port that is of a network device in the second site and that the data packet is specifically sent to. In addition, the first network device may store only one routing entry for one site. This avoids duplication of routing entries, and also avoids updating of a routing table caused by a change of a status of a network device. |
---|