Skip to main content

RFC 2661 - Layer Two Tunneling Protocol "L2TP"

发布时间: 1999年8月
状态: 标准跟踪
作者: W. Townsley, A. Valencia (Cisco Systems), A. Rubens (Ascend Communications), G. Pall, G. Zorn (Microsoft Corporation), B. Palter (Redback Networks)


Abstract (摘要)

本文档描述了第二层隧道协议 (Layer Two Tunneling Protocol, L2TP)。STD 51, RFC 1661 规定了通过 PPP [RFC1661] 进行多协议访问。L2TP 促进了 PPP 数据包穿越中间网络的隧道传输,以对终端用户和应用程序尽可能透明的方式进行。


Table of Contents (目录)

1. Introduction (简介)

  • 1.0 Introduction - 简介
  • 1.1 Specification of Requirements - 需求规范
  • 1.2 Terminology - 术语

2-3. Topology and Protocol Overview (拓扑与协议概述)

4. Control Message Attribute Value Pairs (控制消息属性值对)

  • 4.0 Control Message Attribute Value Pairs - 控制消息 AVP
    • 4.1 AVP Format - AVP 格式
    • 4.2 Mandatory AVPs - 强制性 AVP
    • 4.3 Hiding of AVP Attribute Values - AVP 属性值隐藏
    • 4.4 AVP Summary - AVP 摘要
      • 4.4.1 AVPs Applicable To All Control Messages
      • 4.4.2 Result and Error Codes
      • 4.4.3 Control Connection Management AVPs
      • 4.4.4 Call Management AVPs
      • 4.4.5 Proxy LCP and Authentication AVPs
      • 4.4.6 Call Status AVPs

5. Protocol Operation (协议操作)

  • 5.0 Protocol Operation - 协议操作
    • 5.1 Control Connection Establishment - 控制连接建立
    • 5.2 Session Establishment - 会话建立
    • 5.3 Forwarding PPP Frames - 转发 PPP 帧
    • 5.4 Using Sequence Numbers on the Data Channel - 在数据通道上使用序列号
    • 5.5 Keepalive (Hello) - 保活
    • 5.6 Session Teardown - 会话拆除
    • 5.7 Control Connection Teardown - 控制连接拆除
    • 5.8 Reliable Delivery of Control Messages - 控制消息的可靠传递

6-7. Control Connection Protocol (控制连接协议)

  • 6.0 Control Connection Protocol Specification - 控制连接协议规范

    • 6.1 Start-Control-Connection-Request (SCCRQ)
    • 6.2 Start-Control-Connection-Reply (SCCRP)
    • 6.3 Start-Control-Connection-Connected (SCCCN)
    • 6.4 Stop-Control-Connection-Notification (StopCCN)
    • 6.5-6.14 其他控制消息
  • 7.0 Control Connection State Machines - 控制连接状态机

    • 7.1 Control Connection Protocol Operation
    • 7.2 Control Connection States
    • 7.3 Timing considerations
    • 7.4 Incoming calls
    • 7.5 Outgoing calls
    • 7.6 Tunnel Disconnection

8-10. Media, Security and IANA (媒体、安全与 IANA)

11-13. References and Appendices (参考文献与附录)

Appendices (附录)


核心术语 (Key Terminology)

  • L2TP (Layer Two Tunneling Protocol): 第二层隧道协议
  • LAC (L2TP Access Concentrator): L2TP 访问集中器
  • LNS (L2TP Network Server): L2TP 网络服务器
  • AVP (Attribute Value Pair): 属性值对
  • PPP (Point-to-Point Protocol): 点对点协议
  • NAS (Network Access Server): 网络访问服务器
  • Tunnel: 隧道 - LAC 和 LNS 之间的控制连接
  • Session: 会话 - 隧道内的单个 PPP 连接
  • Control Connection: 控制连接 - 在隧道内运行以控制会话和隧道本身
  • Call: 呼叫 - 远程系统与 LAC 之间的连接

协议概述

L2TP 扩展了 PPP 模型,允许第二层 (L2) 和 PPP 端点驻留在通过分组交换网络互连的不同设备上。使用 L2TP,用户与访问集中器 (例如调制解调器池、ADSL DSLAM 等) 建立 L2 连接,然后集中器将各个 PPP 帧隧道传输到 NAS。这使得 PPP 数据包的实际处理与 L2 电路的终止分离。

主要优势:

  1. 允许 L2 连接在本地电路集中器终止,而不是远程 NAS
  2. 解决多链路分组问题
  3. 提供透明的 PPP 会话扩展

相关资源