Avaya L2TP User Manual

Configuring L2TP Services

BayRS Version 12.20 Site Manager Software Version 6.20
Part No. 300016-B Rev. 00 June 1998
4401 Great America Pa rkw ay 8 Federal S treet Santa Clara, CA 95054 Billerica, MA 01821
Copyright © 1998 Bay Networks, Inc.
All rights reserved. Printed in the USA. June 1998. The information in this document is subject to change without notice. The statements, configurations, technical data,
and recommendations in this document are believed to be accurate and reliable, but are presented without express or implied warranty. Users must take full responsibility fo r th eir a pplic a tio ns of any products specified in this document. The information in this document is proprietary to Bay Networks, Inc.
The software described in this document is furnished under a license agreement and may only be used in accordance with the terms of that licen se. A summary of the Software License is included in this document.
Trademarks
AN, BCN, BLN, BN, and Bay Networks are registered trademarks and ASN, BayRS, BayStack, System 5000, and the Bay Networks logo are trademarks of Bay Network s, Inc.
Microsoft, MS, MS-DOS, Win32, Windows, and Windows NT are registered trademarks of Microsoft Corporation. All other trademarks and registered trademarks are t he property of their respective owners.
Restricted Rights Legend
Use, duplication, or disclosure by the United States Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer So ftware clause at DFARS 252.227-7013.
Notwithstanding any other license agreement that may pertain to, or accompany the delivery of, this computer software, the rights of the United States Government regarding its use, reproduction, and disclosure are as set forth in the Commercial Computer Software-Restricted Rights cl ause at FAR 52.227-19.
Statement of Conditions
In the interest of improving internal design, operational function, and/or reliability, Bay Networks, Inc. reserves the right to make changes to the pr oducts described in this document without notice.
Bay Networks, Inc. does not assume any liability that may occur du e to the use or application of the product(s) or circuit layout(s) described herein.
Portions of the code in this software product may be Copyright © 1988, Regents of the University of California. All rights reserved. Redistribution and use in source and binary forms of such portions are permitted, provided th at the above copyright notice and this paragraph are duplicated in all such forms and that any documentation, advertising materials, and other materials related to such distribution and use acknowledge that su ch portions of the software were developed by the University of California, Berkeley. The name of the University may not be used to endorse or promote products derived from such portions of the software without specific prior written permission.
SUCH PORTIONS OF THE SOFTWARE ARE PROVIDED “AS IS” AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
In addition, the program and information contained herein are licensed only pursuant to a license agreement that contains restrictions on use and disclosure (that may incorporate by reference certain limitations and notices imposed by third parties).
300016-B Rev. 00
Bay Networks, Inc. Software License Agreement
NOTICE: Please carefully read this license agre ement before copying or using the accompanying software or installing the hardware unit with pre-enabled software (each of which is referred to as “Software” in this Agreement). BY COPYING OR USING THE SOFTWARE, YOU ACCEPT ALL OF THE TERMS AND CONDITIONS OF THIS LICENSE AGREEMENT. THE TERMS EXPRESSED IN THIS AGREEMENT ARE THE ONLY TERMS UNDER WHICH BAY NETWORKS WILL PERMIT YOU TO USE THE SOFTWARE. If you do not accept these terms and conditions, return the product, unused and in the original shipping container, within 30 days of purchase to obtain a credit for the full purchase price.
1. License Grant. Bay Networks, Inc. (“Bay Networks”) grants the end user of the Software (“Licensee”) a personal, nonexclusive, nontransferable license: a) to use the Software either on a single computer or, if applicable, on a single authorized device identified by host ID, for which it was originally acquired; b) to copy the Software solely for backup purposes in support of authorized use of the Software; and c) to use and copy the associated user manual solely i n support of authorized use of the Software by Licensee. This license applies to the Software only and does not extend to Bay Networks Agent software or other Bay Networks software pro ducts. Bay Networks Agent software or other Bay Networks software products are licensed for use under the terms of the applicable Bay Networks, Inc. Software License Agreement that accomp anies such software and upon payment by the end user of the applicable license fees for such software.
2. Restrictions on use; reservation of rights. The Software and user manuals are protected under copyright laws. Bay Networks and/or it s licensors retain all title and ownership in both the Software and user manuals, including any revisions made by Bay Networks or its licensors. The copyright notice must be reproduced and included with any copy of any portion of the Software or user manuals. Licensee may not modify, translate, decompile, disassemble, use for any competitiv e analysis, re v erse engineer , distrib ute, or create deriv ati ve works from the Softwa re or user manuals or any copy, in whole or in part. Except as expressly provided in thi s Agreement, Licensee may not copy or transfer the Software or user manuals, in whole or in part. The Soft ware and user manuals embody Bay Networks’ and its licensors’ confidential and proprietary intellectual property. Licensee shall not sublicense, assign, or otherwise disclose to any third party the Software, or any information about the operation, design, performance, or implementation of the Software and user manuals that is confidential to Bay Networks and its licensors; however, Licensee may grant permission to its consultants, subcontractors, a nd agents to use the Softw are at Licensee’s facility , provided they have agreed to use the Software only in accordance with the terms of this license.
3. Limited warranty. Bay Netw o r ks wa r ra nts ea c h item of So ft ware, as delivered by Bay Networks and properly installed and operated on Bay Networks hardware or other equipment it is originally licensed for, to function substantially as described in its accompanying user m anual during its warranty period , which begins on the date Software is first shipped to Licensee. If an y item of S oftware f ails to so function d uring its w arranty period, as the sole remedy Bay Networks will at its discretion provide a suitable fix, patch, or workaround for the problem that may be included in a future Software release. Bay Network s fur ther w arra nts to Licen see that the medi a on which the Software is provided will be free from defec ts in materials and wo rkman ship under no rmal use for a peri od of 90 da ys from the date Software is first shipped to Licensee. Bay Networks will replace defective media at no cha rge if it is returned to Bay Netw orks during the warran ty perio d alon g with proof of the date of shipment . This war ranty do es not apply if the media has been dam aged as a resul t of acci dent, misuse , or ab use. The Licen see assumes all re sponsibilit y for selection of the Software to achieve Licensee’s intended results and for the installation, use, and results obtained from the Software. Bay Networks does not warrant a) that the functions contained in the software will meet the Licensee’ s requireme nts, b) that the Software will operate in the hardware or software combinations tha t the L icens ee may select, c) that the operation of the Softw a re will be uninterru pte d or error free, or d) that all defec ts in the operation of the Software will be corrected. Bay Networks is not obligated to remedy any Software defect that cannot be reproduced with the latest Software release. These warranties do not apply to the So ftw are if i t has been (i) altered, except by Bay Networks or in accordance with its instructions; (ii) used in conjunction with another vendor’s product, resulting in the defect; or (iii) damaged by improper environment, abuse, misuse, accident, or negligence. THE FOREGOING WARRANTIES AND LIMITATIONS ARE EXCLUSIVE REMEDIES AND ARE IN LIEU OF ALL OTHER WARRANTIES EXPRESS OR IMPLIED, INCLUDING W ITHOUT LIMITATION ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Licensee is responsible for the security of
300016-B Rev. 00
iii
its own data and information and for maintaining adequate procedures apart from the Software to reconstruct lost or altered files, data, or programs.
4. Limitation of liability. IN NO EVENT WILL BAY NETWORKS OR ITS LICENSORS BE LIABLE FOR ANY COST OF SUBSTITUTE PROCUREMENT; SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES; OR ANY DAMAGES RESULTING FROM INACCURATE OR LOST DATA OR LOSS OF USE OR PROFITS ARISING OUT OF OR IN CONNECTION WITH THE PERFORMANCE OF THE SOFTWARE, EVEN IF BAY NETWORKS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. IN NO EVENT SHALL THE LIABILITY OF BAY NETWORKS RELATING TO THE SOFTWARE OR THIS AGREEMENT EXCEED THE PRICE PAID TO BAY NETWORKS FOR THE SOFTWARE LICENSE.
5. Government Licensees. This provision applies to a ll Softwa re and docum entation acquired d irectly or i ndirectly by or on behalf of the United States Government. The Software and documentation are commercial products, licensed on the open market at market prices, and were developed entirely at private expense and without th e use of any U.S. Government funds. The license to the U.S. Government is granted only with restricted rights, and use, duplication, or disclosure by the U.S. Government is subject to the restrictions set forth in subparagraph (c)(1) of the Commercial Computer Software––Restricte d Rig hts cla u se o f FAR 52.227-19 and the limita tio ns set o ut in this license for civilian agencies, and subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause of DFARS
252.227-7013, for agencies of t he Department of Defense or their successors, whichever is applicable.
6. Use of Software in the European Community. This provision applies to all Software acquired for use within the European Community. If Licensee uses the Software within a country in the European Community, the Software Directive enacted by the Council of European Communities Directive dated 14 Ma y, 1991, will apply to the examination of th e Software to facilitate interoperability. Licensee agrees to notify Ba y Networks of any such intended examination of the Software and may procure support and assistance from Bay Networks.
7. Term and termination. This license is effective until terminated; however, all of the restrictions with respect to Bay Networks’ copyright in the Software and user manuals will cease being effective at the date of expiration of the Bay Networks copyright; those restrictions relating to use and disclosure of Bay Networks’ confidential information shall continue in effect. Licensee may terminate this license at any time. The license will automatically terminate if Licensee fails to comply with any of the terms and conditions of the license. Upon termination for any reason, Licensee will immediately destroy or return to Bay Networks the Software, user manuals, and all copies. Bay Networks is not liable to Licensee for damages in any form solely by reason of the termination of this license.
8. Export and Re-export. Licensee agrees not to export, directly or indirectly, t he S oft ware or re lated technical data or information without first obtaining any required export licenses or other governmental approvals. Without limiting the foregoing, Licensee, on behalf of itself and its subsidiaries and affiliates, agrees that it will not, without first obtaining all export licenses and approvals required by the U.S. Government: (i) export, re-export, transfer, or divert any such Software or technical data, or any direct product thereof, to any country to which such exports or re-exports are restricte d or em b argoed under United States ex po r t con t rol laws and re gulations, or to any national or resident of such restricted or embargoed countries; or (ii) provide the Software or related technical data or information to any military end user or for any military end use, including the design, development, or production of any chemical, nuclear, or biological weapons.
9. General. If any provision of this Agreement is held to be invalid or unenf orceable by a court of competent jurisdiction, the remainder of the provisions of this Agreement shall remain in full force and effect. This Agreement will be governed by the laws of the state of California.
Should you have any questions concerning this Agreement, contact Bay Networks, Inc., 4401 Great America Parkway, P.O. Box 58185, Santa Clara, California 95054-8185.
LICENSEE ACKNOWLEDGES THAT LICENSEE HAS READ THIS AGREEMENT, UNDERSTANDS IT, AND AGREES TO BE BOUND BY ITS TERMS AND CONDITIONS. LICENSEE FURTHER AGREES THAT THIS AGREEMENT IS THE ENTIRE AND EXCLUSIVE AGREEMENT BETWEEN BAY NETWORKS AND LICENSEE, WHICH SUPERSEDES ALL PRIOR ORAL AND WRITTEN AGREEMENTS AND COMMUNICATIONS BETWEEN THE PARTIES PERTAINING TO THE SUBJECT MATTER OF THIS AGREEMENT. NO DIFFERENT OR ADDITIONAL TERMS WILL BE ENFORCEABLE AGAINST B AY NETWORKS UNLESS BAY NETWORKS GIVES ITS EXPRESS WRITTEN CONSENT, INCLUDING AN EXPRESS WAIVER OF THE TERMS OF THIS AGREEMENT.
iv
300016-B Rev. 00

Contents

About This Guide
Before You Begin .............................................................................................................xiii
Conventions ................................................. ............................................. .......................xiv
Acronyms ........................... .......................... .......................... ......................... ................. xv
Bay Networks Technical Publications ..............................................................................xvi
Bay Networks Customer Service .....................................................................................xvi
How to Get Help .............................................................................................................xvii
Bay Networks Educational Ser v ic es ...................................... ...... ...... .............................xvii
Chapter 1 L2TP Overview
L2TP Benefits .................................................................................................................1-2
What Is Tunneling? .........................................................................................................1-2
L2TP Sessions .........................................................................................................1-3
Components of an L2TP Network ..................................................................................1-4
Remote Host ...................................................... ...... ....... ...... ...... ....... ...... ....... ...... ...1-4
L2TP Access Concentrator (LAC) ............................................................................1-5
Remote Access Server (RAS) ..................................................................................1-5
Tunnel Management Server (TMS) ..........................................................................1-5
L2TP Network Server (LNS) ....................................................................................1-6
RADIUS Server ..................................... ...... ....... ...... ....... ...... ...... ....... ...... ....... ...... ...1-6
Examples of L2TP Networks ....................................................................................1-7
L2TP Packet Encapsulation ............................................................................................1-8
Making a Connection Across an L2TP Network .............................................................1-9
Security in an L2TP Network ........................................................................................1-10
Bay Networks L2TP Implementation ............................................................................1-11
Tunnel Management ...............................................................................................1-12
Tunnel Authentication .............................................................................................1-12
RADIUS User Authentication .......................................... ...... ...... ....... ...... ....... ...... .1 -14
300016-B Rev. 00
v
RADIUS Accounting ................. ...... ....... ...... ....... ...... ....... ...... ...... ...........................1-15
L2TP IP Interface Addresses .................................................................................1-15
Remote Router Configuration ............... ...... ....... ...... ....... ...... .................................1-16
Where to Go Next .........................................................................................................1-17
Chapter 2 Starting L2TP
Planning Considerations for an L2TP Network ...............................................................2-2
Tunnel Authentication Passwords .............................................................................2-2
RADIUS Server Information ........................ ....... ...... ....... ...... ...... ....... ......................2-2
Preparing a Configuration File ........................................................................................2-3
Enabling L2TP on an Unconfigured WAN Interface ........................................................2-4
Enabling L2TP on an Existing PPP Interface .................................................................2-5
Enabling L2TP on an Existing Frame Relay Interface ....................................................2-7
Enabling L2TP on an Existing ATM Interface ..................................................................2-9
Chapter 3 Customizing L2TP Services
Modifying the L2TP Protocol Configuration ....................................................................3-2
Modifying RADIUS Server Information ...........................................................................3-3
Changing the LNS System Name ...................................................................................3-4
Modifying the Number of L2TP Sessions Permitted .......................................................3-5
Keeping the Remote User’s Domain Name ....................................................................3-6
Changing the Domain Name Delimiter ...........................................................................3-7
Enabling Tunnel Authentication .......................................................................................3-8
Modifying L2TP IP Interface Addresses .........................................................................3-9
Disabling RIP ..................... ...... ....... ...... ....... ...... ....... ...................................... ....... ...... .3 -10
Disabling L2TP .................................................. ....... ...... ....... ...................................... .3-1 0
Deleting L2TP from a PPP Interface .............................................................................3-11
Deleting L2TP from a Frame Relay Interface ................................................................3-12
Deleting L2TP from an ATM Interface ...........................................................................3-13
Appendix A L2TP Parameters
L2TP Configuration Parameters .................................................................................... A-2
L2TP Tunnel Security Parameters ................................................................................. A-8
L2TP IP Interface Parameters ..................................................................................... A-10
vi
300016-B Rev. 00
Appendix B Configuration Examples
Example 1: Remote PC Calling the Corporate Network ................................................ B-1
Configuring the Remote Hosts ................................................................................ B-2
Configuring the LACs and the TMS ........................................................................ B-3
Configuring the LNS ................................................................................................ B-3
Data Path Through the Network .............................................................................. B-4
Example 2: Remote Router Calling the Corporate Network .......................................... B-5
Configuring the Dial-on-Demand Circuit ................................................................. B-6
Configuring the PPP Interface ................................................................................. B-6
Appendix C Troubleshooting
Index
300016-B Rev. 00
vii
Figures
Figure 1-1. L2TP Network Using a LAC .....................................................................1-7
Figure 1-2. L2TP Network Using a RAS .....................................................................1-7
Figure 1-3. Packet Encapsulation Process .................................................................1-8
Figure 1-4. Tunnel Authentication Control Messages ...............................................1-13
Figure 1-5. Remote Router Dialing the LNS .............................................................1-16
Figure A-1. L2TP Configuration List Window ............................................................. A-2
Figure A-2. L2TP Tunnel Security List Window ......................................................... A-8
Figure A-3. L2TP IP Interface List Window .............................................................. A-10
Figure A-4. L2TP IP Interface Window .................................................................... A-10
Figure B-1. L2TP Network with PCs at the Remote Site ........................................... B-2
Figure B-2. L2TP Network with Routers at the Remote Site ..................................... B-5
300016-B Rev. 00
ix
Tables
Table C-1. Common L2TP Network Problems and Solutions ..................................C-1
300016-B Rev. 00
xi

About This Guide

If you are responsible for configuring L2TP, you need to read this guide.
If you want to Go to
Learn about L2TP and the Bay Networks implementation of L2TP. Chapter 1 Start L2TP on a router using default parameter settings. Chapter 2 Change default settings for L2TP parameters. Chapter 3 Obtain information about Site Manager parameters (this is the same
information you obtain using Site Manager online Help). Review configuration examples. Appendix B Troubleshoot L2TP configuration problems. Appendix C
Appendix A

Before You Begin

Before using this guide, you must complete the following procedures. For a new router:
Install the router (refer to the installation guide that came with your router).
Connect the router to the network and create a configuration file (refer to
Quick-Starti ng Router s , Conf igur ing BaySt ac k Remote Acc ess , or Connecting ASN Routers to a Network).
Make sure that you are running the latest version of Bay Networks Site Manager software. For instructions, see Upgrading Routers from Version 7-11.xx to Version 12.00 and the BayRS Version 12.20 Document Change Notice.
300016-B Rev. 00
®
BayRS™ and
xiii
Configuring L2TP Services

Conventions

bold text
Indicates text that you need to enter, command names, and buttons in menu paths. Example: Enter
Example: Use the
wfsm &
dinfo
command.
Example: ATM DXI > Interf ace s > PVCs identifies the PVCs button in the window that appears when you select the Interfaces option from the ATM DXI menu.
italic text Indicates variable values in command syntax
descriptions, new terms, file and directory names, and book titles.
quotation marks (“ ”) Indicate the title of a chapter or section within a book.
screen text Indicates data that appears on the screen.
Example:
Set Bay Networks Trap Monitor Filters
separator ( > ) Separates menu and option names in instructions and
internal pin-to-pin wire connections. Example: Protocols > AppleTalk identifies the AppleTalk option in the Protocols menu.
Example: Pin 7 > 19 > 20
vertical line (
) Indicates that you enter only one of the parts of the
|
command. The vertical line separates choices. Do not type the vertical line when entering the command. Example: If the command syntax is
xiv
show at routes show at routes
nets
, you enter either
|
show at nets
or
, but not both.
300016-B Rev. 00

Acronyms

About This Guide
CHAP Challenge Handshake Authentication Protocol IP Internet Protocol ISDN Integrated Services Digital Network ISP Interne t Service Provider L2TP Layer 2 Tunneling Protocol LAC L2TP access concentrator LAN local area network LCP Link Control Protocol LNS L2TP network server MPPP Multilink Point-to-Point Pro tocol PAP Password Authenti cat ion Protocol PPP Point-to-Point Protocol RADIUS Remote Authentication Dial-In User Service RAS remote access server RIP Routing Information Protocol SCCCN start control connection connected SCCRP start control connection reply SCCRQ start control connection request TA terminal adapter TCP/IP Transmission Control Protocol/Internet Protocol TMS tunnel management server UDP User Datagram Protocol VPN virtual private network WAN wide area network
300016-B Rev. 00
xv
Configuring L2TP Services

Bay Networks Technical Publications

You can now print technical manuals and release notes free, directly from the Internet. Go to support.baynetworks.com/library/tpubs. Find the Bay Networks products for which you need documentation. The n locate the s pecific c ategory and model or version for your hardware or software product. Using Adobe Acrobat Reader, you can open the manuals and release notes, search for the sections you need, and print them on most s tandard prin ters. You can download Acrobat Reader free from the Adobe Systems Web site, www.adobe.com.
Documentation sets and CDs are a vailable through your local Bay Networ ks sales office or account representative.

Bay Networks Customer Service

You can purchase a support contract from your Bay Networks distributor or authorized reseller, or direct ly from Bay Networks Serv ices. For infor mation about, or to purchase a Bay Networks service contract, either call your local Bay Networks field sales office or one of the following numbers:
xvi
Region Telephone number Fax number
United States and Canada
Europe 33-4-92-96-69-66 33-4-92-96-69-96 Asia/Pacific 61-2-9927-8888 61-2-9927-8899 Latin America 561-988-7661 561-988-7550
800-2LANW AN; th en enter Expr ess Routing Code (ERC) 290, when prompted, to purchase or renew a service contract
978-916-8880 (direct)
978-916-3514
Information about customer service is also available on the World Wide Web at support.baynetworks.com.
300016-B Rev. 00

How to Get Help

If you purchased a service contract for your Bay Networks product from a distributor or authorized reseller, contact the technical support staff for that distributor or reseller for assistance.
If you purchased a Bay Networks service program, call one of the following Bay Networks Technical Solutions Centers:
Technical Solutions Center Telephone number Fax number
Billerica, MA 800-2LANWAN 978-916-3514 Santa Clara, CA 800-2LANWAN 408-495-1188 Valbonne, France 33-4-92-96-69-68 33-4-92-96-69-98 Sydney, Australia 61-2-9927-8800 61-2-9927-8811 Tokyo, Japan 81-3-5402-0180 81-3-5402-0173

Bay Networks Educational Services

About This Guide
300016-B Rev. 00
Through Bay Networks Educa tional Services , you can attend cl asses and purcha se CDs, videos, and computer-based training programs about Bay Networks products. Training programs can take place at your site or at a Bay Networks location. For more information about training programs, call one of the following numbers:
Region Telephone number
United States and Canada 800-2LANWAN; then enter Express Routing Code (ERC)
282 when prompted 978-916-3460 (direct)
Europe, Middle East, and Africa
Asia/Pacific 61-2-9927-8822 Tokyo and Japan 81-3-5402-7041
33-4-92-96-15-83
xvii
Chapter 1
L2TP Overview
The Layer 2 Tunneling Protocol (L2TP) provides remote users, such as telecommuters, mobile professionals, and personnel in remote branch offices, with dial-in access to a corporate network. L2TP enables users to create a virtual private network (VPN), which uses the existing physical infrastructu re of a public network, such as the Internet, but offers the security and exclusivity of a private network.
This chapter contains the following information:
300016-B Rev. 00
Topic Page
L2TP Benefits 1-2 What Is Tunneling? 1-2 Components of an L2TP Networ k 1-4 L2TP Packet Encapsulation 1-8 Making a Connection Across an L2TP Network 1-9 Security in an L2TP Networ k 1-10 Bay Networks L2TP Implementation 1-11 Where to Go Next 1-17
1-1
Configuring L2TP Services

L2TP Benefits

L2TP has several advantages:
Users and businesses can take advantage of existing network equipment and resources.
Corporations do not need to maintain and manage remote access servers and other special networking equipment for remote users. Instead, they can use their exis ting Inter net l eas ed conn ectio ns and res ource s at t he In ter net Se rvice Provider (ISP) network, thereby significantly reducing corporate networking and maintenance costs.
In addition, corporations do not need to provide technical support to the remote users. Because the remote user is making a local call to the ISP, the ISP provides technical assistance if the user has trouble making connections.
Remote users can place a free local call to their ISP for access to the Internet, eliminating long-distance toll calls required to dial the corporate network directly.
ISPs earn more business from corporate customers using the equipment, thereby increasing the ISP’s revenues.
L2TP is a standards-base d protocol that provides great er interoperability with networking equipment from other vendors.

What Is Tunneling?

Tunn eling i s a w ay of fo rw ardi ng traffic from remote users to a c orpora te n etwo rk through an IP network. A tunnel is a virtual connection between two sites, for example, an access concentrator at the ISP networ k and a router at the corporate network. Tunneling across an existing public network such as the Internet creates a virtual private network that offers corporate network access to a wider range of remote users.
L2TP is a tunneling mechanism that extends the end point of the Point-to-Point Protocol (PPP) connection from an L2TP access concentrator (LAC) or remote access server (RAS) at the ISP network to an L2TP network server (LNS) at the corporate site.
1-2
300016-B Rev. 00
Multiple users can communicate through a single tunnel between the same LAC and LNS pair. Each user transmits and receives data in an individual L2TP session.
The LAC brings down the tunnel for any one of the following reasons:
A network failure occurs.
The LAC or other equi pment at the ISP is not operating properly. If the LAC
There are no active sessions inside the tunnel.
The system administrator at the ISP terminates the user connection.
The LAC is not responding to a Hello packet from the LNS.
For the LAC to reestablish a tunnel, the remote user has to place a n ew call .

L2TP Sessions

L2TP Overview
fails, all tunnel users are disconnected.
An individual session ends when a remote user disconnects the call, but multiple sessions can run inside a single tunnel.
300016-B Rev. 00
Packets are exchanged across an L2TP tunnel during an L2TP session. An L2TP session is create d when an e nd-to-end WAN connection is established between the remote host and the LNS.
The L2TP portion of the packets sent through the tunnel contains a header with a call ID field (also called a session ID) and a tunnel ID field. The call ID field, which indicates the session that th e WAN packet belongs to, is negot iated bet ween the LAC and the LNS when the L2TP call is set up. The tunnel ID specifies the tunnel that the L2TP session is using.
In addition to the fields in the header, the L2TP packet contains a call serial number, which is a unique number for each L2TP call. This number matches the call to the L2TP session.
For an L2TP session, you can enable flow control. Flow control manages congestion across t he connection, en sures that p ackets are not lost, and make s sure the devices at each end of the connection are communicating properly.
To enable flow control, see Chapter 3, “Customizing L2TP Services.”
1-3
Configuring L2TP Services

Components of an L2 TP Network

The following sections describe the components of an L2TP network. For illustrations of L2TP networks, see Figures 1-1

Remote Host

At the remote site is the user who wants to dial in to the corporate network. The remote user can be located anywhere, provided that the user can dial into an ISP network using a PC or a router. The ISP provides the connection to the Internet.
The host at the remote site can be a PC or router th at uses PPP f or dial-up connections.
If the PC or router does not have built-in L2TP software capabilities, it dials into a LAC, which provides a tunnel across the Internet to the corporate LNS.
If the PC or router is an L2TP client, that is, it has built-in L2TP functionality, the L2TP client software provides a tunnel through a RAS across the Internet to the corporate LNS. A LAC is unnecessary with an L2TP client.
The main difference between connecting an L2TP client and a nonclient is the starting point of the tunnel. For an L2TP client, the tunnel begins at the PC or router; for a non-L2TP client , the tunnel begins at the LAC. Al l tu nnel s en d at the LNS.
and 1-2 on page 1-7.
1-4
Note:
This guide’s primary focus is on an L2TP network between a remote host that does not ha ve b uilt-in L2TP capabi lities a nd uses a LA C, rather than a RAS.
300016-B Rev. 00

L2TP Access Concentrator (LAC)

The L2TP access concentrator (LAC) resides at the ISP network. The LAC establishes the L2TP tunnel between itself and the LNS.
Note:
In this guide, the term LAC refers to a remote access se rver w ith L2TP capabilities. The term RAS refers to a remote access server without L2TP capabilities.
When the remote user places a call to the ISP network, this call goes to the LAC. The LAC then negotiates the activation of an L2TP tunnel with the LNS. This tunnel carries data from the remote user to the corporate network.
For more inform ation about the Bay Networks implementation of the LAC in an L2TP network, see “Bay Networks L2TP Implementation

Remote Access Server (RAS)

The remote access server (RAS) resides at the ISP network. If the remote host is an L2TP client, the tunnel is established from the remote client through a RAS to an LNS at the corporate network. In this situation, there is no need for a LAC.
L2TP Overview
” on page 1-11.
The RAS does not establish the tunnel; it only forwards already tunneled data to the destination.

Tunnel Management Server (TMS)

At the ISP network, there needs to be a mechanism for id ent if yin g L2TP tunneled users so that the LAC can construct the L2TP tunnel. Bay Networks uses a mechanism called a tunnel management server (TMS); other vendors may use a different method.
300016-B Rev. 00
1-5
Configuring L2TP Services

L2TP Network Server (LNS)

The L2TP network server (LNS) is a router that resides at the corporate network and serves as the termination point for L2TP tunnels and sessions.
The LNS authenticates the PPP connect ion reques t and allo ws the end- to-end PPP tunneled connection. The LNS may also perform user authentication with a RADIUS server to prevent unauthorized users from accessing the network; however, user authentication may also be done by the LNS itself.
An LNS can support multip le remote users , each communi catin g withi n the ir own L2TP session. The L2TP session is the virtual end-to-end connection over which the LAC sends data to the LNS.
The Bay Networks router is an LNS. For information about the Bay Networks LNS, see “Bay Networks L2T P Implementa tion

RADIUS Server

An L2TP network may include a Remote Authentication Dial-in User Service (RADIUS) server. The RADIUS server has three main functions in an L2TP network:
” on page 1-11.
1-6
Authenticating the remote users
Assigning IP addresses to the remote users
Providing accounting services for corporate billing The RADIUS server database centralizes the authentication function, eliminating
the need to confi gure e ach LNS with use r names a nd passw or ds. It also as signs an IP address to a remote host to identify the host. Finally, the RADIUS server can provide accou n ti ng s ervices for the corporate network, ca lculating billing charges for an L2TP session.
For information about the Bay Networks implementation of RADIUS user authentication and accounting, see “RADIUS User Authentication and “RADIUS Accounting
” on page 1-15.
” on page 1-14
300016-B Rev. 00

Examples of L2TP Networks

Figure 1-1 shows an L2TP network that uses a LAC to connect to the LNS. The
tunnel is between the LAC and the LNS.
ISP network
L2TP Overview
Remote
host
PC
No L2TP
functionality
PPP
connection
LAC
T unnel
Data
TMS
Figure 1-1. L2TP Network Using a LAC
Figure 1-2 shows an L2TP network that uses a RAS to connect to the LNS. The
tunnel is between the PC (the L2TP client) and the LNS.
ISP network
Remote
host
PC
Tunnel
RAS
Data
Frame rela y
connection
Frame relay
connection
Corporate network
LNS
RADIUS
server
L2T0003A
Corporate network
LNS
L2TP
client
Figure 1-2. L2TP Network Using a RAS
300016-B Rev. 00
RADIUS
server
L2T0004A
1-7
Loading...
+ 57 hidden pages