This document provides a sample configuration of Point-to-Point Protocol over Ethernet (PPPoE) termination on a C10k router as LNS via L2TP tunnel. In this document, the PPPoE session is initiated by a Cisco 2821 router as the PPPoE client, and transmits the PPP traffic through a secure Layer Two Tunneling Protocol (L2TP) tunnel connection to the L2TP Network Server (LNS). The LNS router terminates the L2TP tunnel from the Cisco ASR1006 router as a L2TP tunnel client, and may forward the traffic to the corporate network.
As we all know, many customers have PPPoE clients as a router or a PC terminated via Layer1 and 2 with the local LAC where PPPoE terminates. After that based on the domain name that is associated with the user, LAC will forward the tunnel to appropriate LNS or Home Gateway router over L2TP tunnel.
The information presented in this document was created from devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If you are working in a live network, ensure that you understand the potential impact of any command before using it.
PPPoE Client configuration :
Current configuration : 1666 bytes
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
logging buffered 65535
enable secret 5 $1$VfRM$dURjvEzeb5YVNGFg4sbxr/
no aaa new-model
no network-clock-participate wic 0
no ip domain lookup
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
multilink bundle-name authenticated
no ip address
ip address 10.1.1.2 255.255.255.0
! Configured for inside network
pppoe enable group global
! PPPoE configured for this interface
pppoe-client dial-pool-number 1 dial-on-demand
! This interface will be used as a PPPoE client medium using dialer 1 interface
! This interface will be used as layer 3 interface.
ip address negotiated
! Ip address will be allocated by ISP
ip mtu 900
dialer pool 1
! This command uses interface configured with “dial-pool-number 1” as transmission medium.