Point-to-Point Protocol over Ethernet (PPPoE) is the protocol that allows data can communicate between network entities or point. In the article, you’ll know how to configure a Router as a PPPoE Client for DSL Connectivity.

I. Basic configuration on each router

On Cust1 router

Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#
Router(config)#hostname Cust1
Cust1(config)#no ip domain-lookup
Cust1(config)#service password-encryption
Cust1(config)#banner motd “Unauthorized Access is Prohibited”
Cust1(config)#enable password class
Cust1(config)#username cisco password cisco
Cust1(config)#line vty 0 4
Cust1(config-line)#logging synchronous
Cust1(config-line)#
Cust1(config-line)#do copy run start
Destination filename [startup-config]?
Building configuration…
[OK]
Cust1(config-line)#

On ISP Router

Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname ISP
ISP(config)#no ip domain-lookup
ISP(config)#service password-encryption
ISP(config)#banner motd “Unauthorized Access is Prohibited”
ISP(config)#enable password class
ISP(config)#username cisco password cisco
ISP(config)#line vty 0 4
ISP(config-line)#logging synchronous
ISP(config-line)#
ISP#
%SYS-5-CONFIG_I: Configured from console by console

II. Configure ISP Router

a. Create database username and password and pool for Cust1

ISP(config)# username Cust1 password ciscopppoe
ISP(config)# ip local pool PPPoEPOOL 10.0.0.1 10.0.0.10

b. Create virtual templete, and configure chap to to authenticate Cust1
and assign to the pppoe group

ISP(config)# interface virtual-template 1
ISP(config-if)# ip address 10.0.0.254 255.255.255.0
ISP(config-if)# mtu 1492
ISP(config-if)# peer default ip address pool PPPoEPOOL
ISP(config-if)# ppp authentication chap callin
ISP(config)# bba-group pppoe global
ISP(config-bba-group)# virtual-template 1

III. Configure Cust1 Router

a. Configure interface pppoe connectivity

Cust1(config)# interface g0/1
Cust1(config-if)# pppoe enable
Cust1(config-if)# pppoe-client dial-pool-number 1
Cust1(config-if)# exit

b. configure associate interface with dailer interface
with username and password.

Cust1(config)# interface dialer 1
Cust1(config-if)# mtu 1492
Cust1(config-if)# ip address negotiated
Cust1(config-if)# encapsulation ppp
Cust1(config-if)# dialer pool 1
Cust1(config-if)# ppp authentication chap callin
Cust1(config-if)# ppp chap hostname Cust1
Cust1(config-if)# ppp chap password ciscopppoe
Cust1(config-if)# exit

c. Configure static route map to dailer interface.

Cust1(config)# ip route 0.0.0.0 0.0.0.0 dialer 1
Cust1# debug ppp authentication
Cust1# debug pppoe events

To make sure all configuration is correct to use the command to check dialer interface up or down

Cust1# show ip interface brief

Cust1# show ip route to directly connected with dailer interface

Cust1# show pppoe session to make PPPoE configuration is up

To verify connection by ping to make sure Cust1 Router can connectivity ISP Router

Cust1# ping 10.0.0.254
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.254, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms

By Admin