IP Library › Granted Patent US 8,509,243
Granted Patent B2
US 8,509,243 · App. 12/834,496 · Granted Aug 13, 2013

Method and device for sending a packet based on tunneling protocol used in layer 2

Inventors: Rongwei Gu (Shenzhen, CN); Xingguo Sun (Shenzhen, CN)
Assignee: Huawei Technologies Co., Ltd.
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,509,243
App. No.
12/834,496
Granted
Aug 13, 2013
Kind
B2
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.

Claims (25)

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.

2. The method according to claim 1 , wherein sending the packet of the traffic flow to the client according to the obtained forwarding address information comprises:

implementing ARP entry learning and obtaining Media Access Control (MAC) address information of the client by sending an Address Resolution Protocol (ARP) packet to the client according to the obtained two layers of VLAN tag information and IP address information of the client; and

sending the packet of the traffic flow to the client according to the MAC address information and the two layers of VLAN tag information of the client.

3. The method according to claim 1 , wherein the forwarding address information corresponding to the client further comprises MAC address information of the client.

4. The method according to claim 3 , wherein sending the packet of the traffic flow comprises sending the packet of the traffic flow to the client according to the obtained MAC address information and the two layers of VLAN tag information of the client.

5. The method according to claim 1 , wherein the QinQ termination equipment comprises a router.

6. The method according to claim 1 , wherein the QinQ termination equipment comprises a switch.

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.

8. The device according to claim 7 , wherein the packet sending unit comprises:

an Address Resolution Protocol (ARP) entry learning module configured to implement ARP entry learning and obtain Media Access Control (MAC) address information of the client by sending an ARP packet to the client according to the two layers of VLAN tag information and IP address information of the client; and

a packet sending module configured to send the packet of the traffic flow to the client according to the MAC address information and the two layers of VLAN tag information of the client.

9. The device according to claim 7 , wherein when the obtained forwarding address information further comprises MAC address information of the client, the packet sending unit comprises:

a packet sending module configured to send the packet of the traffic flow to the client according to the MAC address information and the two layers of VLAN tag information of the client.

10. The device according to claim 7 , wherein the device is deployed at the QinQ termination equipment.

11. The device according to claim 7 , wherein the device is deployed as an independent functional entity.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 12, 2010
From: GU, RONGWEI; SUN, XINGGUO
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 024667/0362 →
Priority Claims (1)
CN 2008 1 0056872 · Jan 25, 2008 · national
Continuity (2)
Continuation PCTCN2009070196 · Jan 19, 2009
Related Publication 20100278183A1 · Nov 4, 2010