Method and device for sending a packet based on tunneling protocol used in layer 2
First Claim
1. A method for sending a packet based on tunneling protocol used in Layer 2, the method comprising:
- enabling an a Dynamic Host Configuration Protocol (DHCP) snooping protocol at a QinQ termination interface to generate a DHCP snooping binding table when a client applies to a DHCP server for an Internet Protocol (IP) address;
searching the DHCP snooping binding table according to IP address of the client in a packet of a traffic flow to obtain forwarding address information corresponding to the client when the traffic flow needs to be sent from a network side to the client via a QinQ termination equipment in which tunneling protocol used in Layer 2 is used;
encapsulating the packet of the traffic flow using the forwarding address information corresponding to the client; and
sending the packet of the traffic flow to the client according to the obtained forwarding address information;
wherein the forwarding address information corresponding to the client comprises two layers of Virtual Local Area Network (VLAN) tag information of the client.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and a device for sending a packet based on Tunneling Protocol used in Layer 2 are provided. Specifically, when a traffic flow needs to be sent from a network side to a client via QinQ termination equipment in which the tunneling protocol used in Layer 2 is used, forwarding address information corresponding to the client is obtained by searching a Dynamic Host Configuration Protocol (DHCP) snooping binding table according to Internet Protocol (IP) address information of the client in a packet of the traffic flow. The packet of the traffic flow can be sent to the client according to the obtained forwarding address information.
33 Citations
11 Claims
-
1. A method for sending a packet based on tunneling protocol used in Layer 2, the method comprising:
-
enabling an a Dynamic Host Configuration Protocol (DHCP) snooping protocol at a QinQ termination interface to generate a DHCP snooping binding table when a client applies to a DHCP server for an Internet Protocol (IP) address; searching the DHCP snooping binding table according to IP address of the client in a packet of a traffic flow to obtain forwarding address information corresponding to the client when the traffic flow needs to be sent from a network side to the client via a QinQ termination equipment in which tunneling protocol used in Layer 2 is used; encapsulating the packet of the traffic flow using the forwarding address information corresponding to the client; and sending the packet of the traffic flow to the client according to the obtained forwarding address information; wherein the forwarding address information corresponding to the client comprises two layers of Virtual Local Area Network (VLAN) tag information of the client. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A device for sending a packet based on tunneling protocol used in Layer 2, the device comprising:
-
a Dynamic Host Configuration Protocol (DHCP) snooping binding table generating unit configured to enable an a DHCP snooping protocol at a QinQ termination interface to generate a DHCP snooping binding table when a client applies to a DHCP server for an Internet Protocol (IP) address; a forwarding address information obtaining unit configured to search the DHCP snooping binding table according to IP address information of the client in a packet of a traffic flow to obtain forwarding address information corresponding to the client and to encapsulate the packet of the traffic flow using the forwarding address information corresponding to the client when traffic flow needs to be sent from a network side to the client via QinQ termination equipment in which tunneling protocol used in Layer 2 is used; and a packet sending unit configured to send the packet of the traffic flow to the client according to the obtained forwarding address information; wherein the forwarding address information corresponding to the client comprises two layers of Virtual Local Area Network (VLAN) tag information of the client. - View Dependent Claims (8, 9, 10, 11)
-
Specification