A method and device for sending data packets
A data packet and forwarding path technology, applied in the field of communication, can solve the problems of data packet sending failure, different forwarding paths, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0086] see figure 1 , the embodiment of the present invention provides a method for sending data packets, including:
[0087] Step 101: When there is no forwarding entry matching the header information of the data packet in the forwarding table of the first switch, send a policy request message carrying the header information of the data packet to each controller, so that each controller is The data packet calculates a forwarding path, and the header information includes address information required for sending the data packet;
[0088] Step 102: Receive a policy response message sent by each controller, where the policy response message includes a forwarding path;
[0089] Step 103: Select a forwarding path from the received forwarding paths;
[0090] Step 104: setting the second switch to use the selected forwarding path to forward the data packet after receiving the data packet, the second switch being any switch on the selected forwarding path except the first switch;
...
Embodiment 2
[0108] The embodiment of the present invention provides a method for sending data packets.
[0109] Such as diagram 2-1 As shown, the SDN network is composed of multiple controllers and multiple switches and other devices. When the switch receives a data packet and searches for the forwarding table entry of the forwarding table according to the header information of the data packet, but does not find a forwarding table entry matching the header information of the data packet, the switch can pass the method to send the packet. For ease of description, the switch is referred to as the first switch in this embodiment of the present invention.
[0110] see Figure 2-2 , the method includes:
[0111] Step 201: the first switch receives the data packet, searches the forwarding table entry of the forwarding table according to the data packet, if a forwarding table entry matching the data packet is found, then forwards the data packet according to the forwarding table entry, and ...
Embodiment 3
[0178] The embodiment of the present invention provides a method for sending data packets.
[0179] Such as diagram 2-1 As shown, the SDN network is composed of multiple controllers and multiple switches and other devices. When the switch receives a data packet and searches for the forwarding table entry of the forwarding table according to the header information of the data packet, but does not find a forwarding table entry matching the header information of the data packet, the switch can pass the method to send the packet. For ease of description, the switch is referred to as the first switch in this embodiment of the present invention.
[0180] see image 3 , the method includes:
[0181] Steps 301 and 302: the operation is the same as that of steps 201 and 202, and will not be repeated here;
[0182] Wherein, after the first switch sends a policy request message to each controller through the above step 302, for any controller in each controller in the SDN network, ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


