Configuring A Cisco Router As A PPPoE Client For DSL Connectivity
Configuring A Cisco Router As A PPPoE Client For DSL Connectivity
PPPoE: Point-to-Point Protocol over Ethernet. The PPP over Ethernet Client feature
provides PPP over Ethernet (PPPoE) Client support on routers on customer premises.
Configuring a Cisco routers as a PPPoE client for DSL connectivity there are t!o cases
one for the Ethernet interfaces and another for the "T# interfaces
A. PPPoE on Ethernet interfaces$PPPoE functionality is configured on a CPE
router !ith t!o Ethernet interfaces. %ne Ethernet interface is su&scri&er'facing
the other provider facing.
B. PPPoE on ATM interfaces$PPPoE functionality is configured on a CPE router
!ith one Ethernet interface and one "T# interface. The Ethernet interface is
su&scri&er'facing !hereas the "T# interface is provider'facing.
Note ( noticed that on some &oo)s no one mentioned the configuration of !P "o#ain
loo$u% command and !SP DNS options in D*CP server configuration. +ithout these
DSL connection !ill not !or). "lso pay attention if DSL connection did not !or) to chec)
the state of all interfaces &y using sho& i% interface 'rief and ma)e sure to issue no
shut"o&n command on all of them.
A. PPPoE on Ethernet interfaces
DSL configuration 'rief ste%s
,. (nternal Ethernet interface configuration
-. E.ternal Ethernet interface configuration
/. Dialer interface configuration
0. Configuring "ccess List
1. 2"T3P"T configuration
4. Configuring (P domain Loo)up
5. D*CP server services configuration
6. Static default route configuration
DSL configuration "etaile" ste%s
,. (nternal Ethernet interface configuration
interface 7astEthernet 83,
description internal interface
ip address ,5-.,4.,., -11.-11.-11.8
1
ip nat inside
no shut
(R )incase you are using Cisco *++ router,
interface 9lan,
description internal interface
ip address ,5-.,4.,., -11.-11.-11.8
ip nat inside
no shut
-. E.ternal Ethernet interface configuration
(nterface 7astEthernet 838
Description DSL interface
no ip address
pppoe ena&le
pppoe'client dial'pool'num&er ,
no shut
/. Dialer interface configuration
interface Dialer,
ip address negotiated
ip mtu ,0:-
ip nat outside
encapsulation ppp
dialer pool ,
ppp authentication chap pap callin
ppp pap sent'username -SERNAME pass!ord P.ss&/r" )this is the %ass&or" that
!SP gave it to you
ppp chap hostname 0(STNAME )This is the userna#e that !SP gave it to you,
ppp chap pass!ord P.ss&/r"
no shut
0. Configuring "ccess List
ip access'list e.tended DSL1ACCESSL!ST
,88 permit ip ,8.,8.,8.8 8.8.8.-11 any
1. Configuring 2"T3P"T
ip nat inside source list DSL1ACCESSL!ST interface dialer , overload
2
4. Configuring (P domain Loo)up
ip domain loo)up
ip name'server Pri#ary DNS !P a""ress )o'taine" fro# your !SP,
ip name'server Secon"ary DNS !P a""ress )o'taine" fro# your !SP,
5. D*CP server services configuration
ip dhcp pool DSL1D0CP
net!or) ,8.,8.,8.8 3-:
dns'server Pri#ary DNS !P a""ress Secon"ary DNS !P a""ress )o'taine" fro# your
!SP,
default'router ,8.,8.,8., )internal 2LAN or Ethernet interface !% a""ress,
import all
6. Static default route configuration
3inally4 configure a static "efault route. !t shoul" %oint to the "ialer interface rather
than an !P a""ress as in the 'elo& e5a#%le.
ip route 8.8.8.8 8.8.8.8 dialer ,
B. PPPoE on ATM interfaces
DSL configuration 'rief ste%s
,. (nternal Ethernet interface configuration
-. E.ternal "T# interface configuration )in case you are using Cisco *++ Router,
/. Dialer interface configuration
0. Configuring "ccess List
1. 2"T3P"T configuration
4. Configuring (P domain Loo)up
5. D*CP server services configuration
6. Static default route configuration
DSL configuration "etaile" ste%s
,. (nternal 9L"2 interface configuration (using Cisco 655 ;outer)
interface 9lan,
description internal interface
3
ip address ,5-.,4.,., -11.-11.-11.8
ip nat inside
no shut
(R )if you are using configura'le internal Ethernet interface,
interface 7astEthernet 83,
description internal interface
ip address ,5-.,4.,., -11.-11.-11.8
ip nat inside
no shut
-. E.ternal "T# interface configuration
interface "T# 8
description DSL interface
ip directed'&roadcast
ip mas)'reply
ip route'cache flo!
no ip address
dsl operating'mode auto
pvc 63/1
no shutdo!n
pppoe'client dial'pool'num&er ,
/. Dialer interface configuration
interface Dialer,
ip address negotiated
ip mtu ,0:-
ip nat outside
encapsulation ppp
dialer pool ,
ppp authentication chap pap callin
ppp pap sent'username -SERNAME pass!ord P.ss&/r" )this is the %ass&or" that
!SP gave it to you
ppp chap hostname 0(STNAME )This is the userna#e that !SP gave it to you,
ppp chap pass!ord P.ss&/r"
no shut
0. Configuring "ccess List
ip access'list e.tended DSL1ACCESSL!ST
4
,88 permit ip ,8.,8.,8.8 8.8.8.-11 any
1. Configuring 2"T3P"T
ip nat inside source list DSL1ACCESSL!ST interface dialer , overload
4. Configuring (P domain Loo)up
ip domain loo)up
ip name'server Pri#ary DNS !P a""ress )o'taine" fro# your !SP,
ip name'server Secon"ary DNS !P a""ress )o'taine" fro# your !SP,
5. D*CP server services configuration
ip dhcp pool DSL1D0CP
net!or) ,8.,8.,8.8 3-:
dns'server Pri#ary DNS !P a""ress Secon"ary DNS !P a""ress )o'taine" fro# your
!SP,
default'router ,8.,8.,8., )internal 2LAN or Ethernet interface !% a""ress,
import all
6. Static default route configuration
3inally4 configure a static "efault route. !t shoul" %oint to the "ialer interface rather
than an !P a""ress as in the 'elo& e5a#%le.
ip route 8.8.8.8 8.8.8.8 dialer ,
More relate"
Cisco ;outer ,:0, Commands
*o! to recover Cisco ,:-, router default pass!ord<
Cisco -:,, S2#P not !or)ing
*o! To ;ecover Cisco ;outer Pass!ord
The Difference of The Cisco Catalyst -:88 and Cisco Catalyst ,:88
More Cisco %ro"ucts an" Revie&s you can visit http:33!!!./anet!or).com3&log
/"net!or).com is a !orld leading Cisco net!or)ing products !holesaler !e !holesale
original ne! Cisco net!or)ing e=uipments including Cisco Catalyst s!itches Cisco
5
routers Cisco fire!alls Cisco !ireless products Cisco modules and interface cards
products at competitive price and ship to !orld!ide.
%ur !e&site: http:33!!!./anet!or).com
Telephone: >61-'/84:'55//
Email: info?/"net!or).com
"ddress: -/37 Luc)y Pla@a /,1'/-, Loc)hart ;oad +anchai *ong)ong
6