Cisco DSL Router Configuration and Troubleshooting Guide Pppoe: DSL Router As A Pppoe Client Troubleshooting
Cisco DSL Router Configuration and Troubleshooting Guide Pppoe: DSL Router As A Pppoe Client Troubleshooting
Cisco DSL Router Configuration and Troubleshooting Guide Pppoe: DSL Router As A Pppoe Client Troubleshooting
Contents
Introduction
Prerequisites
Requirements
Components Used
Conventions
Layer 1 Issues
Is the carrier detect (CD) light on the front panel of the Cisco DSL Router on or off?
Is your ISP using a DSLAM that supports the Alcatel chipset?
Is the DSL port on the back of the Cisco DSL Router plugged into the DSL wall jack?
Is the ATM interface in an administratively down state?
Is the cable pinout correct?
Do you have the correct power supply for the Cisco 827?
Is the DSL operating−mode correct?
Is the circuit tested/provisioned correctly?
Layer 2 Issues
Do you have the correct PVC values (VPI/VCI)?
Are you receiving data from your ISP?
Is a PPPoE session up?
Are you receiving a PPPoE response from the aggregation router?
Is PPP negotiating properly?
How do I know if my PAP username and password are correct?
How do I know if my CHAP username and password are correct?
How do I know when PPP authentication is successful?
Why can I access some web pages with PPPoE but not others?
Adjust the PPPoE MTU Size on the Cisco DSL Router
Adjust the PPPoE MTU Size on the PC Using the Dr. TCP Utility
Additional MTU Troubleshooting Steps
Related Information
Introduction
There are many reasons why your Digital Subscriber Line (DSL) connection might not function properly. The
goal of this document is to isolate the cause of the failure and repair it. The first troubleshooting step is to
determine which layer of your Asynchronous Digital Subscriber Line (ADSL) service is failing. There are
three layers in which the failure can occur.
• Layer 1 DSL physical connectivity to the Digital Subscriber Line Access Multiplexer (DSLAM) of
your ISP
• Layer 2.1 ATM connectivity
• Layer 2.2 Point−to−Point Protocol over ATM (PPPoA), Point−to−Point Protocol over Ethernet
(PPPoE), RFC1483 Bridging, or RFC1483 Routing
• Layer 3 IP
The easiest way to determine which layer you should begin to troubleshoot is to issue the command show ip
interface brief. The output of this command differs slightly depending on your configuration.
If the statuses of ATM0 and ATM0.1 are up and the protocol is up, begin to troubleshoot at Layer 2.
If the ATM interfaces are down, or if they continue to come up and then go down (they do not stay up and
up), begin to troubleshoot at Layer 1.
Prerequisites
Requirements
There are no specific requirements for this document.
Components Used
This document is not restricted to specific software and hardware versions.
Conventions
Refer to Cisco Technical Tips Conventions for more information on document conventions.
Layer 1 Issues
Is the carrier detect (CD) light on the front panel of the Cisco DSL Router
on or off?
If the CD light is on, go to the Layer 2 Issues section of this document.
Is the DSL port on the back of the Cisco DSL Router plugged into the
DSL wall jack?
If the DSL port is not plugged into the DSL wall jack, connect the port to the wall with a 4−pin or 6−pin
RJ−11 cable. This is a standard telephone cable.
If the ATM0 interface status is administratively down, issue the no shutdown command under the ATM0
interface.
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface atm 0
Router(config−if)#no shut
Router(config−if)#end
Router#write memory
The RJ−11 connector provides an xDSL connection to external media via a standard RJ−11 6−pin modular
jack.
Pin
Description
3
XDSL_Tip
4
XDSL_Ring
In order to determine if the ATM0 interface is down and down, issue the show interface atm 0 command
from enable mode of the router:
If the ATM interface is down and downnot administratively downcheck the pinout of your DSL wall jack.
The DSL router uses a standard RJ−11 (4−pin or 6−pin) cable to provide the ADSL connection to the wall
jack. The center pair of pins on the RJ−11 cable is used to carry the ADSL signal (pins 3 and 4 on a 6−pin
cable, or pins 2 and 3 on a 4− pin cable).
If you are sure you have the right pins on the wall jack and the ATM0 interface is still down and down,
replace the RJ−11 cable between the DSL port and your wall jack. If the interface is still down and down after
you replace the RJ−11 cable, contact your ISP and have the ISP verify that DSL service has been enabled on
the wall jack that you use.
If you are not sure what pins on your wall jack are active, ask your ISP.
Do you have the correct power supply for the Cisco 827?
If you have verified that your DSL cable is good and that you have the correct pinouts, the next step is to
make sure you have the correct power supply for the 827.
Note: The 827 does not use the same power supply as other 800 series routers.
In order to determine if you have the correct power supply, on the back of the power adapter look for Output
+12V 0.1A, −12V 0.1A, +5V 3A, −24V 0.12A, and −71V 0.12A. If your power supply is missing the +12V
and −12V feeds, then it is for a different Cisco 800 series router and does not work on the 827. Note that if
you use the wrong power supply, the Cisco 827 powers up but is unable to train up (connect) to the ISP
DSLAM.
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface atm 0
Router(config−if)#dsl operating−mode auto
Router(config−if)#end
Router#write memory
Layer 2 Issues
Do you have the correct PVC values (VPI/VCI)?
With a PPPoE deployment there is no easy way to dynamically discover your Permanent Virtual Circuit
(PVC) virtual path identifier/virtual channel identifier (VPI/VCI) values. Contact your ISP if you are not sure
of your PVC values.
If the input packet counters are incrementing, you should receive PPPoE negotiation packets from your ISP. If
this is not the case, call your ISP.
If the output bound counters are incrementing, you should be sending PPPoE negotiation packets. If this is not
the case, check the configuration on the router. If PPP is configured properly, PPP negotiation packets are
continually sent out the ATM0 interface.
If packets are incrementing in only the outbound direction, continue with the troubleshooting steps in this
document.
Router#show vpdn
%No active L2TP tunnels
%No active L2F tunnels
%No active PPTP tunnels
PPPoE Tunnel and Session Information Total tunnels 1 sessions 1
PPPoE Tunnel Information
Session count: 1
PPPoE Session Information
SID RemMAC LocMAC Intf Vast OIntf VP/VC
0 0000.0000.0000 0000.0000.0000 UNKN ATM0 8/35
In this example, no PPPoE sessions are active. This is indicated by an SID of 0, and the RemMAC and
LocMAC of 0000.0000.0000. If you are in this state, proceed to the next section.
Router#show vpdn
%No active L2TP tunnels
%No active L2F tunnels
PPPoE Tunnel and Session Information Total tunnels 1 sessions 1
PPPoE Tunnel Information
Session count: 1
In this example you can see that the SID is a non−zero number, and that both the RemMAC and LocMAC
fields are populated. The other field of interest is the Vast, which indicates whether PPP has been successfully
negotiated and authenticated. If the Vast is UP, PPP has been successfully negotiated and authenticated, and
you can proceed to the Why can I access some web pages with PPPoE but not others? section of this
document. If the Vast is DOWN, continue with the next section.
In this example, the Cisco DSL router continuously sends PPPoE Active Discovery Initiation (PADI) frames
to the ISP with no response. The PADI frame is the first in a series of PPPoE call−setup frames. If your ISP
does not respond with a PPPoE Active Discovery Offer (PADO), PPPoE negotiation does not succeed. The
only solution for this problem is to contact your ISP.
If you successfully negotiate PPPoE, your debug vpdn pppoe−events output looks like this output:
If PPPoE is successfully negotiated, continue with the next section about troubleshooting PPP.
Router#
2w3d: Vi1 PPP: No remote authentication for call−out
2w3d: Vi1 PPP: Phase is ESTABLISHING
2w3d: Vi1 LCP: O CONFREQ [Open] id 146 len 10
2w3d: Vi1 LCP: MagicNumber 0x8CCF0E1E (0x05068CCF0E1E)
2w3d: Vi1 LCP: O CONFACK [Open] id 102 Len 15
2w3d: Vi1 LCP: AuthProto CHAP (0x0305C22305)
2w3d: Vi1 LCP: MagicNumber 0xD945AD0A (0x0506D945AD0A)
2w3d: Di1 IPCP: Remove route to 20.20.2.1
2w3d: Vi1 LCP: I CONFACK [ACKsent] id 146 Len 10
2w3d: Vi1 LCP: MagicNumber 0x8CCF0E1E (0x05068CCF0E1E)
2w3d: Vi1 LCP: State is Open
2w3d: Vi1 PPP: Phase is AUTHENTICATING, by the peer
2w3d: Vi1 CHAP: I CHALLENGE id 79 Len 33 from "6400−2−NRP−2"
2w3d: Vi1 CHAP: O RESPONSE id 79 Len 28 from "John"
2w3d: Vi1 CHAP: I SUCCESS id 79 Len 4
2w3d: Vi1 PPP: Phase is UP
2w3d: Vi1 IPCP: O CONFREQ [Closed] id 7 Len 10
2w3d: Vi1 IPCP: Address 0.0.0.0 (0x030600000000)
2w3d: Vi1 IPCP: I CONFREQ [REQsent] id 4 Len 10
2w3d: Vi1 IPCP: Address 20.20.2.1 (0x030614140201)
2w3d: Vi1 IPCP: O CONFACK [REQsent] id 4 Len 10
2w3d: Vi1 IPCP: Address 20.20.2.1 (0x030614140201)
2w3d: Vi1 IPCP: I CONFNAK [ACKsent] id 7 Len 10
2w3d: Vi1 IPCP: Address 40.1.1.2 (0x030628010102)
2w3d: Vi1 IPCP: O CONFREQ [ACKsent] id 8 Len 10
2w3d: Vi1 IPCP: Address 40.1.1.2 (0x030628010102)
2w3d: Vi1 IPCP: I CONFACK [ACKsent] id 8 Len 10
2w3d: Vi1 IPCP: Address 40.1.1.2 (0x030628010102)
2w3d: Vi1 IPCP: State is Open
2w3d: Di1 IPCP: Install negotiated IP interface address 40.1.1.2
2w3d: Di1 IPCP: Install route to 20.20.2.1
Router#
Your ISP not responding should not be a problem since you already verified that packets are incrementing on
the ATM0 interface in the inbound direction. However, if you see packets incrementing on ATM0 in the
inbound direction, and when you run a debug ppp negotiation you receive this output, contact your ISP to
verify that packets are sent to the Cisco DSL router.
In this output there are only O packets, which are outbound packets. In order to successfully negotiate PPP,
there should be an I inbound packet from your ISP for each O packet sent. If packets are incrementing
inbound but you do not see I packets, contact your ISP in order to verify the packets that are sent to the Cisco
DSL router.
The LCP not being open is usually caused by a mismatch in PPP options. This mismatch occurs when the
Cisco DSL router has a PPP parameter configured that your ISP does not support, or when your ISP has a
parameter configured that the Cisco DSL router does not support. This output shows an example of a PPP
option mismatch:
The line after the CONFNAK describes the option that is rejected. In this example output, the option is CHAP
but it could be any option. The only place on the Cisco DSL router where PPP options can be configured is
interface dialer 1. Issue the command show run interface dialer 1 in order to view your interface dialer 1
configuration.
If your ISP sends the I CONFNAK, look for commands under interface dialer 1 that match the line after the
CONFNAK and remove them. If the Cisco DSL router sends the O CONFNAK, add a command to interface
dialer 1 to properly negotiate PPP with your ISP. In the case of the router sending packets, you might need to
call the Cisco TAC in order to determine which command(s) need to be enabled on the Cisco DSL router.
Authentication Failure
An authentication failure occurs when your ISP is unable to authenticate your PPP username or password.
There are two scenarios in which this can occur. The first scenario is an authentication type mismatch, which
is caused when you do not properly configure the router. All the authentication configurations listed in this
document account for both PAP and CHAP authentication types. For configuration flexibility, you should
have both CHAP and PAP configured. If you do not have both configured, you might see output from a
debug ppp command like this output:
or
Router#undebug all
In order to correct both authentication mismatch problems, refer to the appropriate PPPoA implementation
option configuration and reconfigure PPP authentication.
The second authentication problem scenario you can encounter is an incorrect PAP username or password. In
order to determine if this is the problem, issue the command debug ppp negotiation. Assuming your router is
configured for both Challenge Handshake Authentication Protocol (CHAP) and Password Authentication
Protocol (PAP), as the configuration outlined earlier in this guide shows, your ISP might not be using PAP
authentication.
In order to determine the authentication used by your ISP, check the options in the I CONFREQ packet sent
to you from your ISP. If this packet is followed by an option called AuthProto PAP, you are using PAP. If
the I CONFREQ is followed by an option called AuthProto CHAP, you are using CHAP and should
proceed to How do I know if my CHAP username and password are correct?
If you have a PAP authentication problem, you should see the LCP state go to Open. Directly after the LCP
state change you should see PPP go into an Authenticating phase. If one of the next two lines contains I
AUTH−NAK, either your PAP username or PAP password is incorrect. At this point, you need to reconfigure
your PAP username and password using this sequence of commands. Note that your PAP username and
password are case sensitive.
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface dialer 1
Router(config−if)#ppp pap sent−username <username> password <password>
Router(config−if)#end
Router#write memory
If you have a CHAP authentication problem, you should see the LCP state go to Open. Directly after the LCP
state change you should see PPP go into an Authenticating phase. From this point you see a series of CHAP
lines. If the last of these lines shows I FAILURE, you have the wrong CHAP username and password. Use
this sequence of commands in order to correct your CHAP username and password. Note that your username
and password are case sensitive.
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface dialer 1
Router(config−if)#ppp chap hostname <username>
Router(config−if)#ppp chap password <password>
Router(config−if)#end
Router#write memory
Why can I access some web pages with PPPoE but not others?
Access to only some web pages is a common problem when you run a PPPoE client on a router. By design,
PPPoE can support an MTU of up to 1492 bytes. Therefore, you must ensure that end devices send out frames
no larger than 1492 bytes. Limiting the MTU to 1492 bytes can be a problem because most PCs and end−user
workstations have a default MTU of 1500 bytes.
There are two options for adjusting the MTU size: adjust the MTU size at the router and adjust the MTU size
at the PC.
These configuration commands work only if you run Network Address Translation (NAT) or Port Address
Translation (PAT) on the Cisco DSL router.
The ip adjust−mss command in Cisco IOS® Software Release 12.2(2)XH has changed to ip tcp adjust−mss
<mss value>. This change is documented in Release Notes for the Cisco 800 Series Routers and Cisco 820
Series Routers for Cisco IOS Release 12.2(2)XH.
!
vpdn enable
no vpdn logging
!
vpdn−group pppoe
request−dialin
protocol pppoe
!
interface ethernet0
no shut
ip address <ip address> <subnet mask>
ip adjust−mss 1452
!−−− The TCP MSS command requires an MSS of 1452, not 1492.
ip nat inside
no ip directed−broadcast
!
interface atm0
no shut
no ip address
no ip directed−broadcast
no atm ilmi−keepalive
bundle−enable
!
interface atm0.1 point−to−point
no ip directed−broadcast
pvc <vpi/vci>
pppoe−client dial−pool−number 1
!
!
interface dialer1
ip address negotiated
mtu 1492
ip nat outside
encapsulation ppp
dialer pool 1
ppp chap hostname <username>
ppp chap password <password>
ppp pap sent−username <username> password <password>
!
ip nat inside source list 1 interface dialer1 overload
!
ip classless
ip route 0.0.0.0 0.0.0.0 dialer1
access−list 1 permit <ip address of ethernet0> 0.0.255.255
!
Adjust the PPPoE MTU Size on the PC Using the Dr. TCP Utility
Complete these steps in order to change the MTU size on the PC. The registry change is saved when the
procedure finishes.
Note: The Dr. TCP utility is compatible with all Windows−based PCs.
You need to run the utility only once per PPPoE client PC.
Related Information
• ADSL Technology Support
• PPPoE Implementation Options
• Cisco DSL Router Configuration and Troubleshooting Guide
• Technical Support & Documentation − Cisco Systems