IP Library Granted Patent US 9,729,348
Granted Patent B2
US 9,729,348 · App. 14/730,654 · Granted Aug 8, 2017

Tunnel-in-tunnel source address correction

Inventors: Michael L. Sullenberger (San Jose, CA); Manish Kumar (Jharkhand, IN); Eitan Ben-Nun (Sunnyvale, CA); Anand Oswal (Pleasanton, CA)
Assignee: Cisco Technology, Inc.
H04L12/4633H04L45/74H04L69/22H04L61/2592
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 9,729,348
App. No.
14/730,654
Granted
Aug 8, 2017
Kind
B2
Abstract

In one embodiment, a device in a network identifies a translated source network address for a tunnel source of a tunnel-in-tunnel packet. The device includes the translated source network address within a header of the packet. The header of the packet identifies an inner tunnel that is encapsulated within an outer tunnel during transmission of the packet within the network. The device sends the packet with the translated source network address within the header of the packet.

Claims (47)

1. A method comprising:

receiving, by a device in the network, a tunnel-in-tunnel packet, wherein the tunnel-in-tunnel packet includes an inner header and an outer header to indicate different tunnels associated with the packet;

identifying, by the device, a translated source network address for a tunnel source of the tunnel-in-tunnel packet in the inner header;

including, by the device, the translated source network address within the outer header of the packet, wherein, as a result, the outer header of the packet identifies an inner tunnel that is encapsulated within an outer tunnel during transmission of the packet within the network; and

sending, by the device, the packet with the translated source network address within the outer header of the packet.

2. The method as in claim 1 , wherein identifying the translated source address comprises:

receiving, at the device, an indication of the translated source address from a destination of the inner tunnel.

3. The method as in claim 2 , wherein the indication of the translated source address is received via a Next Hop Resolution Protocol (NHRP) message.

4. The method as in claim 2 , further comprising:

appending, by the device, the inner header with the translated source address to the packet, prior to appending the outer header to the packet that identifies the outer tunnel.

5. The method as in claim 1 , wherein a destination of the outer tunnel is a virtual service platform (VSP).

6. The method as in claim 1 , wherein the device is a destination of the outer tunnel, the method further comprising:

determining, by the device, a difference between the translated source address in the outer header of the packet and a source address included in the inner header that identities the inner tunnel.

7. The method as in claim 6 , further comprising:

decapsulating, by the device, the packet from the outer tunnel;

changing, by the device, the source address included in the inner header that identifies the inner tunnel to be the translated source address, based on the determined difference between the translated source address in the outer header and the source address included in the inner header that identifies the inner tunnel; and

sending, by the device, the decapsulated packet with the translated source address in the inner header that identifies the inner tunnel to a destination of the inner tunnel.

8. An apparatus, comprising:

one or more network interfaces to communicate with a computer network;

a processor coupled to the one or more network interfaces and configured to execute a process; and

a memory configured to store the process executable by the processor, the process when executed operable to:

receive a tunnel-in-tunnel packet, wherein the tunnel-in-tunnel packet includes an inner header and an outer header to indicate different tunnels associated with the packet;

identify a translated source network address for a tunnel source of the tunnel-in-tunnel packet in the inner header;

include the translated source network address within the outer header of the packet, wherein, as a result, the outer header of the packet identifies an inner tunnel that is encapsulated within an outer tunnel during transmission of the packet within the network; and

send the packet with the translated source network address within the outer header of the packet.

9. The apparatus as in claim 8 , wherein the apparatus identifies the translated source address by receiving an indication of the translated source address from a destination of the inner tunnel.

10. The apparatus as in claim 9 , wherein the indication of the translated source address is received via a Next Hop Resolution Protocol (NHRP) message.

11. The apparatus as in 9 , wherein the process when executed operable to:

appending the inner header with the translated source address to the packet, prior to appending an outer header to the packet that identifies the outer tunnel.

12. The apparatus as in claim 8 , wherein a destination of the outer tunnel is a virtual service platform (VSP).

13. The apparatus as in claim 8 , wherein the process when executed operable to:

determine a difference between the translated source address in the outer header of the packet and a source address included in the inner header that identifies the inner tunnel.

14. The apparatus as in claim 13 , wherein the process when executed is further operable to:

decapsulate the packet from the outer tunnel;

change the source address included in the inner header that identifies the inner tunnel to be the translated source address, based on the determined difference between the translated source address in the outer header and the source address included in the inner header that identifies the inner tunnel; and

send the decapsulated packet with the translated source address in the inner header that identifies the inner tunnel to a destination of the inner tunnel.

15. A tangible, non-transitory, computer-readable media having software encoded thereon, the software when executed by a processor on a device in a computer network operable to:

receive a tunnel-in-tunnel packet, wherein the tunnel-in-tunnel packet includes an inner header and an outer header to indicate different tunnels associated with the packet;

identify a translated source network address for a tunnel source of the tunnel-in-tunnel packet in the inner header;

include the translated source network address within the outer header of the packet, wherein, as a result, the outer header of the packet identifies an inner tunnel that is encapsulated within an outer tunnel during transmission of the packet within the network; and

send the packet with the translated source network address within the outer header of the packet.

16. The computer-readable media as in claim 15 , wherein the device identifies the translated source address by receiving an indication of the translated source address from a destination of the inner tunnel.

17. The computer-readable media as in claim 15 , wherein the software when executed by the processor of the device is further operable to:

determine a difference between the translated source address in the outer header of the packet and a source address included in the inner header that identifies the inner tunnel;

decapsulate the packet from the outer tunnel;

change the source address included in the inner header that identifies the inner tunnel to be the translated source address, based on the determined difference between the translated source address in the outer header and the source address included in the inner header that identifies the inner tunnel; and

send the decapsulated packet with the translated source address in the inner header that identifies the inner tunnel to a destination of the inner tunnel.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 5, 2015
From: SULLENBERGER, MICHAEL L.; KUMAR, MANISH; BEN-NUN, EITAN; OSWAL, ANAND
To: CISCO TECHNOLOGY, INC.
Reel/Frame 035833/0787 →
Continuity (1)
Related Publication 20160359738A1 · Dec 8, 2016