Abstract:
Embodiments of the disclosure provide a method for packet tunneling through a software defined network (SDN), a method of intelligently controlling flow of a packet through an SDN network, and a system. The method for packet tunneling through an SDN includes: sending programmable instructions to an SDN controller from a processor executing an application program that includes the programmable instructions; wherein the programmable instruction comprises primitive operations regarding processing a packet for tunneling in accordance with a tunneling protocol; configuring a flow table by the first SDN controller in accordance with the programmable instructions; and processing and distributing the packet in accordance with the flow table by the SDN switch. The method may enable a system support multiple tunneling technologies without complicating the implementation of the SDN switch, and enable the system support new tunneling technologies without the need for updating the SDN switch, thereby reducing complexity of the SDN switch.
Abstract:
The embodiments of the present invention provide a method, a device, and a system for forwarding a packet. The method includes: receiving an IPv6 packet sent by a gateway, and obtaining a flow label of the IPv6 packet, where the flow label of the IPv6 packet is corresponding to a link identity of customer premise equipment in one-to-one correspondence; decapsulating the IPv6 packet; performing network address translation on a decapsulated packet according to the flow label; and forwarding the decapsulated packet according to a translated network address. When multiple links between the gateway and an AFTR are corresponding to the same tunnel for network address translation, in the case that IP addresses of terminal users are overlapping or are the same, different terminal users can be distinguished, so that a terminal user that sends a packet can receive feedback, thus improving customer satisfaction.