Patent attributes
A data packet sending method and apparatus. The method includes: sending a policy request message that carries header information of a data packet to one or more controllers when a forwarding table of a first switch does not have a forwarding entry that matches the header information of the data packet; receiving a policy response message sent by a controller, where the policy response message includes a controller-determined forwarding path; selecting a forwarding path from received controller-determined forwarding paths; informing the selected forwarding path to a second switch on the selected forwarding path to forward the data packet after receiving the data packet, where the second switch is a switch besides the first switch on the selected forwarding path; and forwarding the data packet according to the selected forwarding path.