beautypg.com

5 l2tp interface, 1 general information – Allied Telesis AT-WR4500 User Manual

Page 161

background image

AT-WR4500 Series - IEEE 802.11abgh Outdoor Wireless Routers

161

RouterOS v3 Configuration and User Guide

Now both routers can ping each other:

[admin@AT-WR4562] interface ipip> /ping 1.1.1.2
1.1.1.2 64 byte ping: ttl=64 time=24 ms
1.1.1.2 64 byte ping: ttl=64 time=19 ms
1.1.1.2 64 byte ping: ttl=64 time=20 ms
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 19/21.0/24 ms
[admin@AT-WR4562] interface ipip>

8.5 L2TP Interface

Document revision:

1.1 (Fri Mar 0 5 08:26:01 GMT 200 4)

Applies to:

V2.9

8.5.1

General Information

Summary

L2TP (Layer 2 Tunnel Protocol) supports encrypted tunnels over IP. The RouterOS implementation
includes support for both L2TP client and server.
General applications of L2TP tunnels include:
secure router-to-router tunnels over the Internet
linking (bridging) local Intranets or LANs
extending PPP user connections to a remote location (for example, to separate authentication and
Internet access points for ISP)
accessing an Intranet/LAN of a company for remote (mobile) clients (employees)
Each L2TP connection is composed of a server and a client. The RouterOS may function as a server or
client or, for various configurations, it may be the server for some connections and client for other
connections.

Quick Setup Guide

To make a L2TP tunnel between two RouterOS routers with IP addresses 10.5.8.104 (L2TP server) and
10.1.0.172 (L2TP client), follow the next steps.

Configuration on L2TP server router:
Add a L2TP user:

[admin@L2TP-Server] ppp secret> add name=james password=pass \
\... local-address=10.0.0.1 remote-address=10.0.0.2


Enable the L2TP server

[admin@L2TP-Server] interface l2tp-server server> set enabled=yes

Configuration on L2TP client router:
Add a L2TP client:

[admin@L2TP-Client] interface l2tp-client> add user=james password=pass \
\... connect-to=10.5.8.104

Specifications

Packages required: ppp
License required: Level1 (limited to 1 tunnel) , Level3 (limited to 200 tunnels) , Level5
Submenu level: /interface l2tp-server, /interface l2tp-client
Standards and Technologies:

L2TP (RFC 2661)

Hardware usage: Not significant

This manual is related to the following products: