9 Pages

rfc1853

Course: EE 6345, Fall 2008
School: Dallas
Rating:
 
 
 
 
 

Word Count: 1650

Document Preview

Working Network Group W. Simpson Request for Comments: 1853 Daydreamer Category: Informational October 1995 IP in IP Tunneling Status of this Memo This memo provides information for the Internet community. It does not specify an Internet standard. Distribution...

Register Now

Unformatted Document Excerpt

Coursehero >> Texas >> Dallas >> EE 6345

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
Working Network Group W. Simpson Request for Comments: 1853 Daydreamer Category: Informational October 1995 IP in IP Tunneling Status of this Memo This memo provides information for the Internet community. It does not specify an Internet standard. Distribution of this memo is unlimited. IESG Note: Note that this memo is an individual effort of the author. This document reflects a current informal practice in the internet. There is an effort underway within the IETF Mobile-IP Working Group to provide an appropriate proposed standard to address this issue. Abstract This document discusses implementation techniques for using IP Protocol/Payload number 4 Encapsulation for tunneling with IP Security and other protocols. Table of Contents 1. Introduction .......................................... 2 2. Encapsulation ......................................... 3 3. Tunnel Management ..................................... 5 3.1 Tunnel MTU Discovery ............................ 5 3.2 Congestion ...................................... 6 3.3 Routing Failures ................................ 6 3.4 Other ICMP Messages ............................. 6 SECURITY CONSIDERATIONS ...................................... 7 REFERENCES ................................................... 7 ACKNOWLEDGEMENTS ............................................. 8 AUTHOR'S ADDRESS ............................................. 8 Simpson Informational [Page 1] RFC 1853 IP Tunnelling October 1995 1. Introduction The IP in IP encapsulation Protocol/Payload number 4 [RFC-1700] has long been used to bridge portions of the Internet which have disjoint capabilities or policies. This document describes implementation techniques used for many years by the Amateur Packet Radio network for joining a large mobile network, and also by early implementations of IP Security protocols. Use of IP in IP encapsulation differs from later tunneling techniques (for example, protocol numbers 98 [RFC-1241], 94 [IDM91a], 53 [swIPe], and 47 [RFC-1701]) in that it does not insert its own special glue header between IP headers. Instead, the original unadorned IP Header is retained, and simply wrapped in another standard IP header. This information applies principally to encapsulation of IP version 4. Other IP versions will be described in separate documents. Simpson Informational [Page 2] RFC 1853 IP Tunnelling October 1995 2. Encapsulation The encapsulation technique is fairly simple. An outer IP header is added before the original IP header. Between them are any other headers for the path, such as security headers specific to the tunnel configuration. The outer IP header Source and Destination identify the "endpoints" of the tunnel. The inner IP header Source and Destination identify the original sender and recipient of the datagram. Each header chains to the next using IP Protocol values [RFC-1700]. +---------------------------+ | Outer IP Header | +---------------------------+ | Tunnel Headers | +---------------------------+ +---------------------------+ | IP Header | | Inner IP Header | +---------------------------+ ====> +---------------------------+ | | | | | IP Payload | | IP Payload | | | | | +---------------------------+ +---------------------------+ The format of IP headers is described in [RFC-791]. Type Of Service copied from the inner IP header. Optionally, another TOS may be used between cooperating peers. This is in keeping with the transparency principle that if the user was expecting a given level of service, then the tunnel should provide the same service. However, some tunnels may be constructed specifically to provide a different level of service as a matter of policy. Identification A new number is generated for each outer IP header. The encapsulated datagram may have already been fragmented, and another level of fragmentation may occur due to the tunnel encapsulation. These tunnel fragments will be reassembled by the decapsulator, rather than the final destination. Reserved ignored (set to zero). Simpson Informational [Page 3] RFC 1853 IP Tunnelling October 1995 This unofficial flag has seen experimental use, and while it remains in the inner IP header, does not affect the tunnel. Don't Fragment copied from the inner IP header. This allows the originator to control the level of performance tradeoffs. See "Tunnel MTU Discovery". More Fragments set as required when fragmenting. The flag is not copied for the same reason that a separate Identification is used. Time To Live the default value specified in the most recent "Assigned Numbers" [RFC-1700]. This ensures that long unanticipated tunnels do not interrupt the flow of datagrams between endpoints. The inner TTL is decremented once before encapsulation, and is not affected by decapsulation. Protocol the next header; 4 for the inner IP header, when no intervening tunnel headers are in use. Source an IP address associated with the interface used to send the datagram. Destination an IP address of the tunnel decapsulator. Options not copied from the inner IP header. However, new options particular to the path MAY be added. Timestamp, Loose Source Route, Strict Source Route, and Record Route are deliberately hidden within the tunnel. Often, tunnels are constructed to overcome the inadequacies of these options. Any supported flavors of security options of the inner IP header MAY affect the choice of security options for the tunnel. It is not expected that there be a one-to-one mapping of such options the to options or security headers selected for the tunnel. Simpson Informational [Page 4] RFC 1853 IP Tunnelling October 1995 3. Tunnel Management It is possible that one of the routers along the tunnel interior might encounter an error while processing the datagram, causing it to return an ICMP [RFC-792] error message to the encapsulator at the IP Source of the tunnel. Unfortunately, ICMP only requires IP routers to return 8 bytes (64 bits) of the datagram beyond the IP header. This is not enough to include the entire encapsulated header. Thus, it is not generally possible for an encapsulating router to immediately reflect an ICMP message from the interior of a tunnel back to the originating host. However, by carefully maintaining "soft state" about its tunnels, the encapsulator can return accurate ICMP messages in most cases. The router SHOULD maintain at least the following soft state information about each tunnel: - Reachability of the end of the tunnel. - Congestion of the tunnel. - MTU of the tunnel. The router uses the ICMP messages it receives from the interior of a tunnel to update the soft state information for that tunnel. When subsequent datagrams arrive that would transit the tunnel, the router checks the soft state for the tunnel. If the datagram would violate the state of the tunnel (such as the MTU is greater than the tunnel MTU when Don't Fragment is set), the router sends an appropriate ICMP error message back to the originator, but also forwards the datagram into the tunnel. Forwarding the datagram despite returning the error message ensures that changes in tunnel state will be learned. Using this technique, the ICMP error messages from encapsulating routers will not always match one-to-one with errors encountered within the tunnel, but they will accurately reflect the state of the network. 3.1. Tunnel MTU Discovery When the Don't Fragment bit is set by the originator and copied into the outer IP header, the proper MTU of the tunnel will be learned from ICMP (Type 3 Code 4) "Datagram Too Big" errors reported to the encapsulator. To support originating hosts which use this capability, all implementations MUST support Path MTU Discovery [RFC-1191, RFC-1435] within their tunnels. Simpson Informational [Page 5] RFC 1853 IP Tunnelling October 1995 As a benefit of Tunnel MTU Discovery, any fragmentation which occurs because of the size of the encapsulation header is done only once after encapsulation. This prevents more than one fragmentation of a single datagram, which improves processing efficiency of the path routers and tunnel decapsulator. 3.2. Congestion Tunnel soft state will collect indications of congestion, such as an ICMP (Type 4) Source Quench in datagrams from the decapsulator (tunnel peer). When forwarding another datagram into the tunnel, it is appropriate to send Source Quench messages to the originator. 3.3. Routing Failures Because the TTL is reset each time that a datagram is encapsulated, routing loops within a tunnel are particularly dangerous when they arrive again at the encapsulator. If the IP Source matches any of its interfaces, an implementation MUST NOT further encapsulate. Instead, the datagram is forwarded normally. ICMP (Type 11) Time Exceeded messages report routing loops within the tunnel itself. ICMP (Type 3) Destination Unreachable messages report delivery failures to the decapsulator. This soft state MUST be reported to the originator as (Type 3 Code 0) Network Unreachable. 3.4. Other ICMP Messages Most ICMP error messages are not relevant to the use of the tunnel. In particular, parameter problems are likely to be a result of misconfiguration of the encapsulator, and MUST NOT be reported to the originator. Simpson Informational [Page 6] RFC 1853 IP Tunnelling October 1995 Security Considerations Security issues are briefly discussed in this memo. The use of tunneling may obviate some older IP security options (labelling), but ...

Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

Dallas - EE - 6345
Network Working Group H. ClarkRequest For Comments: 1856 BBN PlanetCategory: Informational September 1995 The Opstat Clie
Dallas - EE - 6345
Network Working Group G. ZiembaRequest for Comments: 1858 AlantecCategory: Informational D. Reed
Dallas - EE - 6345
Network Working Group Y. PouffaryRequest For Comments: 1859 Digital Equipment CorporationCategory: Informational October 1995 ISO Transport Class
Dallas - EE - 6345
Network Working Group E. LevinsonRequest for Comments: 1872 Accurate Information Systems, Inc.Category: Experimental December 1995 The MIM
Dallas - EE - 6345
Network Working Group E. LevinsonRequest for Comments: 1873 Accurate Information Systems, Inc.Category: Experimental J. Clark
Dallas - EE - 6345
Network Working Group T. PummillRequest for Comments: 1878 AlantecObsoletes: 1860 B. ManningCategory: Informational
Dallas - EE - 6345
Network Working Group B. Manning, EditorRequest for Comments: 1879 ISICategory: Informational January 1996
Dallas - EE - 6345
Network Working Group S. Deering, Xerox PARCRequest for Comments: 1883 R. Hinden, Ipsilon NetworksCategory: Standards Track December 1995 Int
Dallas - EE - 6345
Network Working Group E. LevinsonRequest for Comments: 1895 Accurate Info. Sys., Inc.Category: Informational February 1996 The Ap
Dallas - EE - 6345
%!PS-Adobe-3.0 %Creator: Windows PSCRIPT %Title: Microsoft Word - RFC1896.DOC %BoundingBox: 18 9 593 784 %DocumentNeededResources: (atend) %DocumentSuppliedResources: (atend) %Pages: (atend) %BeginResource: procset Win35Dict 3 1 /Win35Dict 290 dict d
Dallas - EE - 6345
Network Working Group D. Eastlake 3rdRequest for Comments: 1898 CyberCashCategory: Informational B. Boesch
Dallas - EE - 6345
Network Working Group K. KompellaRequest for Comments: 4201 Y. RekhterUpdates: 3471, 3472, 3473 Juniper NetworksCategory: Standards Track
Dallas - EE - 6345
Network Working Group K. Kompella, Ed.Request for Comments: 4202 Y. Rekhter, Ed.Category: Standards Track Juniper Networks
Dallas - EE - 6345
Network Working Group G. SwallowRequest for Comments: 4208 Cisco Systems, IncCategory: Standards Track J. Drake
Dallas - EE - 6345
Network Working Group F. TemplinRequest for Comments: 4214 NokiaCategory: Experimental T. Gleeson
Dallas - EE - 6345
Network Working Group E. LearRequest for Comments: 4219 Cisco SystemsCategory: Informational October 2005 Things Multihoming i
Dallas - EE - 6345
Network Working Group K. MorneaultRequest for Comments: 4233 Cisco SystemsObsoletes: 3057 S. RengasamiCategory: Standards Track
Dallas - EE - 6345
Network Working Group D. Crocker, Ed.Request for Comments: 4234 Brandenburg InternetWorkingObsoletes: 2234 P. OverellCategory: Standards Track
Dallas - EE - 6345
Network Working Group A. RousskovRequest for Comments: 4236 The Measurement FactoryCategory: Standards Track M. Stecher
Dallas - EE - 6345
Network Working Group G. VaudreuilRequest for Comments: 4238 Lucent TechnologiesCategory: Standards Track October 2005 Vo
Dallas - EE - 6345
Network Working Group J. AshRequest for Comments: 4247 B. GoodeCategory: Informational J. Hand
Dallas - EE - 6345
Network Working Group B. LillyRequest for Comments: 4249 January 2006Category: Informational Implementer-Friendly Specification of Message and MIME-Part Header
Dallas - EE - 6345
Network Working Group T. YlonenRequest for Comments: 4252 SSH Communications Security CorpCategory: Standards Track C. Lonvick, Ed.
Dallas - EE - 6345
Network Working Group M.-J. MontpetitRequest for Comments: 4259 Motorola Connected Home SolutionsCategory: Informational G. Fairhurst
Dallas - EE - 6345
Network Working Group S. SantessonRequest for Comments: 4262 MicrosoftCategory: Standards Track December 2005 X.5
Dallas - EE - 6345
Network Working Group B. LillyRequest for Comments: 4263 January 2006Category: Informational Media Subtype Registration for Media Type text/troffStatus o
Dallas - EE - 6345
Network Working Group T. GriffinRequest for Comments: 4264 University of CambridgeCategory: Informational G. Huston
Dallas - EE - 6345
Network Working Group P. HoffmanRequest for Comments: 4266 VPN ConsortiumObsoletes: 1738 November 2005Category: Standards Track
Dallas - EE - 6345
Network Working Group S. MurphyRequest for Comments: 4272 Sparta, Inc.Category: Informational January 2006 BGP Se
Dallas - EE - 6345
Network Working Group D. MeyerRequest for Comments: 4274 K. PatelCategory: Informational Cisco Systems
Dallas - EE - 6345
Network Working Group P. Eronen, Ed.Request for Comments: 4279 NokiaCategory: Standards Track H. Tschofenig, Ed.
Dallas - EE - 6345
Network Working Group N. FreedRequest for Comments: 4288 Sun MicrosystemsBCP: 13 J. KlensinObsoletes: 2048
Dallas - EE - 6345
Network Working Group S. Routhier, Ed.Request for Comments: 4293 April 2006Obsoletes: 2011, 2465, 2466Category: Standards Track Management Informati
Dallas - EE - 6345
Network Working Group J. Loughney, Ed.Request for Comments: 4294 NokiaCategory: Informational April 2006
Dallas - EE - 6345
Network Working Group Jerry Cole, UCLARequest for Comments: 32 February 5, 1970SOME THOUGHTS ON SRI'S PROPOSED REAL TIME CLOCKRe: NWG/RFC's #28 and 29.The addition of a clo
Dallas - EE - 6345
Network Working Group J. PostelRequest for Comments #52 S. Crocker Revised
Dallas - EE - 6345
Network Working Group Ed Belove (Harvard)Request for Comments: 56 Dave Black (Harvard) Bob Flegel (Utah)
Dallas - EE - 6345
Network Working Group Mike Kraley (Harvard)Request for Comments #57 John Newkirk (Harvard) June 19, 1970 Thoughts and R
Dallas - EE - 6345
Network Working Group D. C. WaldenRequest for Comments: 62 BBN Inc.Supercedes NWG/RFC #61 3 August 1970 A Syste
Dallas - EE - 6345
Network Working Group M. ElieRequest for Comments #64 UCLA Getting Rid of Marking Though we realize that this improvement is perhaps somewhat lat
Dallas - EE - 6345
Network Working Group W. CrowtherRequest for Comments #67 BBN [IMPORTANT] Proposed Change to Host/IMP Spec to Eliminate Marking Before he
Dallas - EE - 6345
Network Working Group A. BhushanRequest for Comments: 69 M.I.T.Updates: 52 22 Sept. '70 Distr
Dallas - EE - 6345
Network Working Group Tjaart SchipperRequest for Comments #71 25 September 1970 UCLA-CCN Reallocation in Case
Dallas - EE - 6345
Network Working Group S. CrockerRequest for Comments #73 UCLA 25 Sept. 70 Response to NWM/RFC #67
Dallas - EE - 6345
Network Working Group S. CrockerRequest for Comments #75 UCLA 14 Oct. 70
Dallas - EE - 6345
Network Working Group E. HarslemRequest for Comments: 78 J. HeafnerNIC 5199 J. White NCP Status Report: UC
Dallas - EE - 6345
Network Working Group P. KarpRequest for Comments: 99 MITRENIC 5758 22 February 1971
Dallas - EE - 6345
Network Working Group M. DegermarkRequest for Comments: 2507 Lulea University of Technology/SICSCategory: Standards Track B. Nordgren L
Dallas - EE - 6345
Network Working GroupRequest for Comments: 2509 M. EnganCategory: Standards Track Effnet S. Casner
Dallas - EE - 6345
Network Working Group K. McCloghrieRequest for Comments: 2513 Cisco Systems, Inc.Category: Standards Track J. Heinanen
Dallas - EE - 6345
Network Working Group M. NotoRequest for Comments: 2514 3ComCategory: Standards Track E. Spiegel
Dallas - EE - 6345
Network Working Group R. MoatsRequest for Comments: 2517 R. HuberCategory: Informational AT&T
Dallas - EE - 6345
Network Working Group J. LucianiRequest for Comments: 2520 Nortel NetworksCategory: Experimental H. Suzuki
Dallas - EE - 6345
Network Working Group P. KarnRequest for Comments: 2521 QualcommCategory: Experimental W. Simpson
Dallas - EE - 6345
Network Working Group P. KarnRequest for Comments: 2522 QualcommCategory: Experimental W. Simpson
Dallas - EE - 6345
Network Working Group M. BananRequest for Comments: 2524 Neda Communications, Inc.Category: Informational February 1999
Dallas - EE - 6345
Network Working Group V. PaxsonRequest for Comments: 2525 EditorCategory: Informational ACIRI / ICSI
Dallas - EE - 6345
Network Working Group S. ChokhaniRequest for Comments: 2527 CygnaCom Solutions, Inc.Category: Informational W. Ford
Dallas - EE - 6345
Network Working Group R. HousleyRequest for Comments: 2528 SPYRUSCategory: Informational W. Polk
Dallas - EE - 6345
Network Working Group L. MasinterRequest for Comments: 2542 Xerox CorporationCategory: Informational March 1999 Termin
Dallas - EE - 6345
Network Working Group K. TesinkRequest for Comments: 2558 Telcordia TechnologiesObsoletes: 1595 March 1999Category: Standards Track