3.2.2.7 Lab - Configuring A Router As A PPPoE Client For DSL Connectivity STEPS
3.2.2.7 Lab - Configuring A Router As A PPPoE Client For DSL Connectivity STEPS
Create a MOTD banner saying "unauthorized access is prohibited" "banner motd # Unauthorized Access
is Prohibited!#"
create passwords for EXEC mode, console, and vty. Then enable login.
I have my routers preconfigured and saved with these settings (minus the passwords) so I typically skip
this part. I do set the hostnames to avoid confusion.
In global config mode enter the command " username Cust1 password ciscopppoe". This creates a
database entry for Cust1 with a password of ciscopppoe. This will allow the Cust1 router to connect with
the ISP router using that password later.
The ISP needs a pool of addresses to hand out to it's DSL customers. Using the command "ip local pool
PPPoEPOOL 10.0.0.1 10.0.0.10" creates a range of addresses from 10.0.0.1 to 10.0.0.2 to hand out over
PPPoE.
Next we are going to make a Virtual template and connect the F0/1 interface with it. This is done with
these commands:
interface virtual-template 1
mtu 1492
virtual-template 1
int f0/1
no shut
int f0/1
pppoe enable
pppoe-client dial-pool-number 1
Tells the router is the client and assigns it the dial pool number of 1. The dial pool number corresponds
with the dialer interface that will be created next. The dialer and the number assigned here must match
to work.
int dialer 1
mtu 1492
ip address negotiated
encapsulation ppp
dialer pool 1
Set the static default route pointing to dialer 1 and enable some debugging.
exit
To confirm PPPoE is working use "show pppoe session" and "ping 10.0.0.254". there should be an entry
in the session table and ping should be successful.