www.howtonetwork.org

CCNA & CCNP Certifcation Training

  • About
  • Contact
  • FAQ
  • Join
  • Home
  • CCNA
    • ICND1
    • ICND2
    • 101 CCNA LABS
  • CCNP
    • ROUTE
    • SWITCH
    • TSHOOT
    • 101 CCNP LABS
  • CompTIA
    • Security+
    • Network+
  • Design
    • CCDA
    • CCDP
You are here: Home / TSHOOT / Module 13 / Troubleshooting Broadband Technologies

Troubleshooting Broadband Technologies

While there are several types of broadband technologies, this section will describe only the basic troubleshooting steps for those within the scope of the TSHOOT certification exam: cable and DSL.

Troubleshooting Cable Access

Cable access troubleshooting may be performed on either the router or the cable modem. On the router, the primary issues are misconfigurations. Some common configuration troubleshooting targets include DHCP, NAT, and static route misconfigurations. As was previously stated, the router connected to the cable modem typically is configured as both a DHCP client (allowing it to receive addressing information from the ISP) and a Cisco IOS DHCP server (allowing it to provide addressing information to LAN hosts).

When the router is connected to the cable modem, one of the most common problems is that the router fails to receive or obtain an IP address dynamically. When troubleshooting such issues, ensure that the router interface is configured correctly; that is, ensure that the ip address dhcp interface configuration command has been issued under the router interface that is connected to the cable modem.

Another potential pitfall is that the interface is not enabled (i.e., the no shutdown command was not issued under the interface). Some additional checks should also include basic Layer 1 and Layer 2 status to eliminate issues such as bad cabling, for example.

It is also worthwhile to connect an actual computer directly to the cable modem to verify that DHCP is indeed working. If the computer is able to receive an IP address successfully, then you know that DHCP is working. The next step would be to reconnect the router to verify that it is able to obtain an IP address as well. If an IP address cannot obtained, attempt the following (NOTE: These steps are not in any particular order.):

  • Reboot the cable modem to verify that the router is able to obtain an IP address. Sometimes, the CMTS has a host entry that prevents more than one device from receiving an IP address. If the reboot does not resolve this issue, you can contact the ISP and ask them to clear the first host entry (which would be the computer) on their CMTS.

 

  • Change the MAC address of the Ethernet interface on the router to that of the computer. This is similar to “cloning” the MAC address when you are using other Cisco devices, such as a Linksys router, to connect to the cable modem. In Cisco IOS software, this is performed using the mac-address <address> interface configuration command. Changing the MAC address on the router interface to that of the computer ensures that the ISP learns about only one host and one IP address. Because the computer does not reside on the same multi-access segment as the router interface connected to the cable modem, the use of its MAC address does not cause any type of conflict.

In addition to attempting the methods described in the section above, you can also use Cisco IOS debugging, specifically the debug dhcp detail command, to troubleshoot why the Cisco router failed to obtain an IP address for the Ethernet interface connected to the cable modem. Following is a sample output of the detailed information printed by this command:

R1#debug dhcp detail
DHCP client activity debugging is on (detailed)
R1#
R1#
*Mar 25 12:24:46.995: DHCP: SDiscover attempt # 3 for entry:
*Mar 25 12:24:46.995: Temp IP addr: 0.0.0.0 for peer on Interface: FastEthernet0/0
*Mar 25 12:24:46.995: Temp sub net mask: 0.0.0.0
*Mar 25 12:24:46.995: DHCP Lease server: 0.0.0.0, state: 1 Selecting
*Mar 25 12:24:46.995: DHCP transaction id: 146A
*Mar 25 12:24:46.995: Lease: 0 secs, Renewal: 0 secs, Rebind: 0 secs
*Mar 25 12:24:46.995: Next timer fires after: 00:00:04
*Mar 25 12:24:46.995: Retry count: 3 Client-ID: cisco-000f.235e.ec80-Fa0/0
*Mar 25 12:24:46.995: Client-ID hex dump: 636973636F2D303030662E323335652E
*Mar 25 12:24:46.999: 656338302D4661302F30
*Mar 25 12:24:46.999: Hostname: R1
*Mar 25 12:24:46.999: DHCP: SDiscover: sending 291 byte length DHCP packet
*Mar 25 12:24:46.999: DHCP: SDiscover 291 bytes
*Mar 25 12:24:46.999: B’cast on FastEthernet0/0 interface from 0.0.0.0
*Mar 25 12:24:49.003: DHCP: Received a BOOTREP pkt
*Mar 25 12:24:49.003: DHCP: Scan: Message Type: DHCP Offer
*Mar 25 12:24:49.003: DHCP: Scan: Server ID Option: 10.0.0.1 = A000001
*Mar 25 12:24:49.003: DHCP: Scan: Lease Time: 691200
*Mar 25 12:24:49.003: DHCP: Scan: Renewal Time: 345600
*Mar 25 12:24:49.003: DHCP: Scan: Rebind Time: 604800
*Mar 25 12:24:49.003: DHCP: Scan: Subnet Address Option: 255.255.255.0
*Mar 25 12:24:49.003: DHCP: Scan: Router Option: 10.0.0.1
*Mar 25 12:24:49.007: DHCP: Scan: DNS Name Server Option: 10.1.1.1
*Mar 25 12:24:49.007: DHCP: Scan: NBNS Name Server Option: 10.1.1.1
*Mar 25 12:24:49.007: DHCP: Scan: Domain Name: howtonetwork.net
*Mar 25 12:24:49.007: DHCP: rcvd pkt source: 10.0.0.1, destination: 255.255.255.255
*Mar 25 12:24:49.007: UDP sport: 43, dport: 44, length: 318
*Mar 25 12:24:49.007: DHCP op: 2, htype: 1, hlen: 6, hops: 0
*Mar 25 12:24:49.007: DHCP server identifier: 10.0.0.1
*Mar 25 12:24:49.007: xid: 146A, secs: 0, flags: 8000
*Mar 25 12:24:49.007: client: 0.0.0.0, your: 10.0.0.5
*Mar 25 12:24:49.007: srvr: 0.0.0.0, gw: 0.0.0.0
*Mar 25 12:24:49.007: options block length: 70*Mar 25 12:24:49.011: DHCP Offer Message Offered Address: 10.0.0.5
*Mar 25 12:24:49.011: DHCP: Lease Seconds: 691200 Renewal Seconds: 345600 Rebind Seconds: 604800
*Mar 25 12:24:49.011: DHCP: Server ID Option: 10.0.0.1
*Mar 25 12:24:49.011: DHCP: offer received from 10.0.0.1
*Mar 25 12:24:49.011: DHCP: SRequest attempt # 1 for entry:
*Mar 25 12:24:49.011: Temp IP addr: 10.0.0.5 for peer on Interface: FastEthernet0/0
*Mar 25 12:24:49.011: Temp sub net mask: 255.255.255.0
*Mar 25 12:24:49.011: DHCP Lease server: 10.0.0.1, state: 2 Requesting
*Mar 25 12:24:49.011: DHCP transaction id: 146A
*Mar 25 12:24:49.015: Lease: 691200 secs, Renewal: 0 secs, Rebind: 0 secs
*Mar 25 12:24:49.015: Next timer fires after: 00:00:03
*Mar 25 12:24:49.015: Retry count: 1 Client-ID: cisco-000f.235e.ec80-Fa0/0
*Mar 25 12:24:49.015: Client-ID hex dump: 636973636F2D303030662E323335652E
*Mar 25 12:24:49.015: 656338302D4661302F30
*Mar 25 12:24:49.019: Hostname: R1
*Mar 25 12:24:49.019: DHCP: SRequest- Server ID option: 10.0.0.1
*Mar 25 12:24:49.019: DHCP: SRequest- Requested IP addr option: 10.0.0.5
*Mar 25 12:24:49.019: DHCP: SRequest placed lease len option: 691200
*Mar 25 12:24:49.019: DHCP: SRequest: 309 bytes
*Mar 25 12:24:49.019: DHCP: SRequest: 309 bytes
*Mar 25 12:24:49.019: B’cast on FastEthernet0/0 interface from 0.0.0.0
*Mar 25 12:24:49.023: DHCP: Received a BOOTREP pkt
*Mar 25 12:24:49.023: DHCP: Scan: Message Type: DHCP Ack
*Mar 25 12:24:49.023: DHCP: Scan: Server ID Option: 10.0.0.1 = A000001
*Mar 25 12:24:49.027: DHCP: Scan: Lease Time: 691200
*Mar 25 12:24:49.027: DHCP: Scan: Renewal Time: 345600
*Mar 25 12:24:49.027: DHCP: Scan: Rebind Time: 604800
*Mar 25 12:24:49.027: DHCP: Scan: Subnet Address Option: 255.255.255.0
*Mar 25 12:24:49.027: DHCP: Scan: Router Option: 10.0.0.1
*Mar 25 12:24:49.027: DHCP: Scan: DNS Name Server Option: 10.1.1.1
*Mar 25 12:24:49.027: DHCP: Scan: NBNS Name Server Option: 10.1.1.1
*Mar 25 12:24:49.027: DHCP: Scan: Domain Name: howtonetwork.net
*Mar 25 12:24:49.027: DHCP: rcvd pkt source: 10.0.0.1, destination: 255.255.255.255
*Mar 25 12:24:49.027: UDP sport: 43, dport: 44, length: 318
*Mar 25 12:24:49.027: DHCP op: 2, htype: 1, hlen: 6, hops: 0
*Mar 25 12:24:49.027: DHCP server identifier: 10.0.0.1
*Mar 25 12:24:49.031: xid: 146A, secs: 0, flags: 8000
*Mar 25 12:24:49.031: client: 0.0.0.0, your: 10.0.0.5
*Mar 25 12:24:49.031: srvr: 0.0.0.0, gw: 0.0.0.0
*Mar 25 12:24:49.031: options block length: 70*Mar 25 12:24:49.031: DHCP Ack Message
*Mar 25 12:24:49.031: DHCP: Lease Seconds: 691200 Renewal Seconds: 345600 Rebind Seconds: 604800
*Mar 25 12:24:49.031: DHCP: Server ID Option: 10.0.0.1
*Mar 25 12:24:52.047: DHCP: Releasing ipl options:
*Mar 25 12:24:52.047: DHCP: Applying DHCP options:
*Mar 25 12:24:52.047: Setting default_gateway to 10.0.0.1
*Mar 25 12:24:52.047: Adding default route 10.0.0.1
*Mar 25 12:24:53.047: Adding DNS server address 10.1.1.1
*Mar 25 12:24:53.047: Setting default domain to howtonetwork.net
*Mar 25 12:24:53.047: DHCP Client Pooling: ***Allocated IP address: 10.0.0.5
*Mar 25 12:24:53.079: Allocated IP address = 10.0.0.5 255.255.255.0*Mar 25 12:24:53.079: %DHCP-6-ADDRESS_ASSIGN: Interface FastEthernet0/0 assigned DHCP address 10.0.0.5, mask 255.255.255.0, hostname R1

Referencing the output above, we can conclude that the router was successfully able to receive dynamic addressing parameters from DHCP server 10.1.1.1. These parameters include the default gateway address of 10.0.0.1, the DNS server address of 10.1.1.1, a domain name of howtonetwork.net, an IP address of 10.0.0.5, and, finally, a lease duration of 8 days, which is 691200 seconds.

Static route configuration is another common cause of DHCP problems, assuming, of course, that the router has received dynamic addressing parameters from the DHCP server. When routers receive a default route via DHCP, this route is assigned a default administrative distance value that is assigned to this route, which is 254. This can be validated by looking at the routing table on the router as illustrated below:

R1#show ip route
Codes: C – connected, S – static, R – RIP, M – mobile, B – BGP
D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area
N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2
E1 – OSPF external type 1, E2 – OSPF external type 2
i – IS-IS, su – IS-IS summary, L1 – IS-IS level-1, L2 – IS-IS level-2
ia – IS-IS inter area, * – candidate default, U – per-user static route
o – ODR, P – periodic downloaded static routeGateway of last resort is 10.0.0.1 to network 0.0.0.01.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
10.0.0.0/24 is subnetted, 1 subnets
C 10.0.0.0 is directly connected, FastEthernet0/0
S* 0.0.0.0/0 [254/0] via 10.0.0.1

Because of this higher administrative distance value, if the router is configured with a default static route pointing out of the FastEthernet interface, then connectivity to the Internet is typically lost. This is primarily because ISPs employ some type of Address Resolution Protocol (ARP) filtering. The primary purpose of ARP filtering on cable networks is to prevent a large volume of ARP requests and reply packets from interfering with the other traffic on the cable network. Again, keep in mind that cable networks are shared (multi-access) network types, and there could be traffic from hundreds (or more) of subscribers being received by a single CMTS.

By filtering ARP packets, if a router is configured with a static route pointing out of the LAN interface connected to the cable modem, such as ip route 0.0.0.0 0.0.0.0 FastEthernet0/0, it relies on ARP to locate a gateway to forward packets to unknown destinations. If ARP packets are filtered, the router will never receive a response, and is therefore unable to forward these packets. In essence, connectivity is lost because this static route will take precedence over the static route inserted following the DHCP addressing parameter allocation because of its higher administrative distance.

If you must configure a static route when connected to a cable network, always ensure that the route is pointing to the IP address of the default gateway. This eliminates the use of ARP packets and therefore helps to avoid intermittent connectivity issues or outright outages due to ARP timeouts.

On the other hand, if neither the computer nor the router is able to receive an IP address, then you should troubleshoot the cable modem (assuming you have access to it) or contact the ISP if you do not have access to this device. In order to troubleshoot the cable modem, you must have a solid understanding of how these devices function. The following section describes the sequence of steps that a typical cable modem will transition through before it becomes operational. These seven steps are summarized as follows:

  • The cable modem (CM) scans for the downstream (DS) frequency.
  • The CM waits for all upstream channel descriptors (UCDs).
  • The Layer 1 and Layer 2 connection between the CM and the CMTS is established.
  • The CM obtains its IP address through DHCP.
  • The CM obtains the DOCSIS configuration via TFTP.
  • The CM registers QoS with the CMTS.
  • The modem initializes IP services and downloads the configuration file.

 

NOTE: Additional details can be found in the ROUTE guide, which is available online.

For easier reference, this sequence of steps is summarized and illustrated in Figure 13-1 below:

clip_image002_0000Fig. 13-1. Understanding Basic Cable Modem Initialization

 

While delving into cable modem troubleshooting is beyond the scope of the TSHOOT certification exam, you should be familiar with the fact that for Cisco cable modems, you can use the Cisco Broadband Troubleshooter (CBT) to troubleshoot cable access problems. The CBT is an easy-to-use GUI-based tool that can be used for Redundancy Facility (RF) monitoring and analysis, as well as to monitor, analyze, and diagnose problems between the cable plant and connected DOCSIS or EuroDOCSIS CPE. Additional capabilities include the ability to perform trend analysis to enable better network planning and performance monitoring.

NOTE: You are not expected to demonstrate any working or other additional knowledge of the Cisco Broadband Troubleshooter tool in the current TSHOOT certification exam.

As previously stated, common problems on the router Ethernet interface connected to the LAN are due to misconfigurations. If the router is also configured as a Cisco IOS DHCP server, ensure that it is configured correctly if clients are unable to receive IP addressing information. Keep in mind that you can use Cisco IOS debugging commands, specifically the debug ip dhcp serversuite of commands, to troubleshoot Cisco IOS DHCP server functionality.

If multiple hosts reside on the LAN and require Internet access, verify the NAT configuration on the router. Again, you can also use Cisco IOS debugging commands to troubleshoot any possible NAT problems. In addition to NAT, also ensure that other addressing parameters needed by hosts to access the Internet (i.e., DNS) are configured in the correct manner. In most cases, hosts are assigned DHCP parameters received from the ISP by configuring the import all Cisco IOS DHCP server configuration command for the local DHCP pool(s).

Troubleshooting DSL Access

Troubleshooting DSL access requires a solid understanding of the concepts and operation of DSL itself. From a troubleshooting perspective, DSL problems are due to Layer 1, 2, or 3 problems. Some common Layer 1 (Physical Layer) issues that affect DSL service include the following:

  • Cabling and interface configuration issues
  • The DSL operating mode
  • Circuit provisioning and local loop technologies

 

If you are unable to see a link light on the DSL router or WAN Interface Card (WIC), verify that the router is connected to the wall jack using the correct cable. RJ-11, RJ-14, and RJ-25 all use the same six-position modular connector, and are therefore physically identical except for the fact that they all use a different number of contacts, which is two, four, and six, respectively, allowing connections for one, two, or three phone lines, respectively. When connecting the DSL router or WIC to the wall jack, ensure that the cable is either a 4-pin or 6-pin RJ-11 cable. For PPPoE using Ethernet interfaces, ensure that you are using a standard RJ-45 straight-through cable for the connection to the DSL CPE.

If after having connected the correct cable you still see no link light, verify that the interface is up. By default, interfaces are administratively disabled in Cisco IOS routers. In the event that the interface is administratively disabled, bring up the interface using the no shutdown interface configuration command. If after bringing up the interface there is still no connection, it may be due to bad cabling or incorrect cable pin outs (if using your own cables). Alternatively, check that the DSL provider has turned on service to the jack to which you have plugged in.

Following basic cabling and interface configuration checks, the next step in the verification or troubleshooting process at Layer 1 would be to verify the proper modulation method. In most cases, you will not know which DSL modulation is actually being used. Given this, Cisco recommends that you use the dsl operating-mode auto command. This command allows the router to detect automatically the correct modulation method to use.

If after completing all these checks you still see no link light, contact the DSL service provider and ask if the service has been provisioned and is active. Also, as previously stated, verify the location of the jack to which you are connecting, keeping in mind that most locations, both business and residential, typically have more than a single phone jack. Verify the correct one.

While we are still at the Physical Layer, it is important to understand that there are certain local loop technologies and characteristics that can affect DSL service, with the majority of these being beyond your control. These different technologies and characteristics include load coils, bridge taps, interference, reflections and distortions, impulse noise, and pair gain. The different technologies and characteristics, and their effect on DSL, are described as follows:

  • Load coils, also sometimes referred to as loading coils, are common on traditional voice circuits. Load coils counteract capacitance on the twisted-pair lines by adding inductance, which improves the overall quality of voice on POTS circuits. A load coil is simply a coil of wire placed onto the twisted-pair lines. When loading coils are in place, signal attenuation increases for frequencies above the voice band (e.g., frequencies used by DSL). Given this, load coils must be removed in order for DSL to work. Because you cannot remove load coils yourself, if you suspect they are causing any service problems, you should contact the local telephone provider.

 

NOTE: Capacitance is the ability of a body to hold an electrical charge. Long lines of wire have capacitance, which is detrimental to voice quality. Inductance is the opposite of capacitance. By adding inductance (load coils) into the cable facility, the capacitive effect can be cancelled, thus causing the attenuation across the voice band to be equal. Finally, attenuation is the loss of the strength of a signal as it travels away from its source.

  • Bridge taps, or bridged taps, are very common in the PSTN. A bridge tap simply refers to open-circuit wiring that is connected to a working twisted pair. In simpler terms, a bridge tap is any un-terminated portion of a loop not in the direct talking path between the CO and the CPE. Bridged taps cause an undesirable reflection that can distort the high-frequency signals used with DSL. Bridged taps can impair signal transmission, and depending on how many bridged taps are on a local loop, their presence can significantly limit the rate for DSL service. Additionally, multiple bridged taps can degrade a line beyond use for ADSL. Because you cannot remove bridge taps yourself, if you suspect they are causing any service problems, you should contact the local telephone provider.

 

  • Numerous types of interference can affect DSL service. In multi-carrier systems, inter-carrier interference may be caused by varying carrier dispersion. Another common type of interference is spectral interference, more commonly known as crosstalk, which is simply interference between two wires in a bundle. Crosstalk can be caused by insufficient cable shielding, excessively large disparity between signal levels in adjacent circuits, unbalanced lines, and overloaded carrier systems. Crosstalk can affect DSL throughput. RF interference (RFI) and Enhanced Multilayer Software Image (EMI) are two other types of interference that may indirectly affect DSL.

AM radio frequencies can interfere with DSL signal quality and cause significant throughput reductions in DSL service. Sometimes, the cabling is so bad that DSL service cannot be supported, for example, in houses that have old or poor-quality twisted- or untwisted-pair cabling. You can identify RFI as a problem by using basic household items, such as AM radios, televisions, or even a cheap phone. For example, using an AM radio, you could turn the dial to the high end and walk around the room with the DSL in it while the problem is occurring. In most cases, this will most likely lead you to the problem, which could turn out to be an everyday item such as a dimmer or cell phone, for example.

  • Reflections and distortions may be caused by local loops that are made up of different wire gauges. The wire gauge refers to the thickness of the wire. Variations in wire gauge can affect DSL throughput rates due to impedance mismatches. Impedance is the resistance that contributes to controlling an electrical signal. Impedance is measured in ohms. Impedance mismatches in the local loop cause echo, which results in noise on the line; this ultimately affects DSL throughput rates and quality. These issues are typically common on old circuits that have been modified over time. In most cases, a new circuit or new wiring is required to resolve such problems.

 

  • In addition to crosstalk, impulse noise is a principle source of degradation in DSL transmission. Impulse noise is non-stationary crosstalk from temporary electromagnetic events, such as the ringing of phones on lines sharing the same binder or atmospheric electrical surges. Such issues are common in older COs without proper insulation or with older equipment. In DSL transmission, impulse noise is typically combated using Interleaved Forward Error Correction (FEC). Going into detail on Interleaved FEC is beyond the scope of the TSHOOT certification exam.
  • Finally, pair gain is a method of transmitting multiple POTS signals over the same twisted pairs traditionally used for a single subscriber line in telephone systems. Pair gain has the effect of creating additional subscriber lines. However, analog pair gain is detrimental to high-speed dial-up modem connections, does not support 56 Kbps throughput, and is incompatible with DSL systems. While recent digital pair gain systems restored 56 Kbps and DSL capabilities by performing the functions of a Digital Subscriber Line Access Multiplexer (DSLAM) at the pair gain device, some telephone networks have legacy telephone networks that use analog pair gain. In some cases, it is therefore not possible to get DSL because replacing these networks is expensive.

 

NOTE: A DSLAM, which exists for the sole purpose of terminating the CO side of the DSL link, is a single chassis that contains multiple subscriber-facing DSL modems.

Some common Layer 2 (Data Link Layer) issues that affect DSL service include the following:

  • ATM PVC misconfigurations
  • PPP negotiation failures

 

When configuring the ATM interface, it is important to ensure that you specify the correct PVCs as well as encapsulation (e.g., AAL5 SNAP or AAL5 MUX). When implementing DSL service, ISPs commonly support PVC values 0/35 or 8/35. However, you should always verify the PVCs allocated by the ISP. Alternatively, if you are not able to obtain this information, you can use thedebug atm events command to determine the PVC (i.e., the Virtual Path Identifier (VPI) and Virtual Circuit Identifier (VCI) values for the ATM connection). A sample output of the information printed by this command, which shows the VPI/VCI (PVC) values (8/38) for the ATM interface, is illustrated below:

DSL-R7#debug atm events
ATM events debugging is on
DSL-R7#[Truncated Output]2d18h: RX interrupt: conid = 0, rxBd = 0x80C7EF74 length=52
2d18h: Data Cell received on vpi = 8 vci = 35 
2d18h: RX interrupt: conid = 0, rxBd = 0x80C7EEC0 length=52
2d18h: Data Cell received on vpi = 8 vci = 35[Truncated Output]

Another common Layer 2 issue with DSL service is PPP negotiation failures. Several reasons why PPP negotiation might fail include the following:

  • No response from the remote device
  • Link Control Protocol (LCP) not open
  • Authentication failure
  • IP Control Protocol (IPCP) failure

 

After verifying the ATM configuration, you should see both the inbound and outbound packet counters increment under the ATM interface. In the event that you do not see any inbound packets, but you are sending outbound packets, you will need to engage the ISP for additional troubleshooting. In addition to verifying inbound and outbound counters using the show interfaces command, you can also use the debug ppp negotiation command, because it is sometimes possible that the interface counters increment but no packets are being sent to the router. The following example shows a sample output printed by the debug ppp negotiationcommand. In this example, the router is sending (O) and receiving (I) packets, which is what is expected under normal working conditions:

DSL-R7#debug ppp negotiation
PPP protocol negotiation debugging is on
DSL-R7#
DSL-R7#[Truncated Output]*Mar 3 06:30:40.949: Se0/0 LCP: O CONFREQ [REQsent] id 18 len 10
*Mar 3 06:30:40.949: Se0/0 LCP: MagicNumber 0x13F3C8DD (0x050613F3C8DD)
*Mar 3 06:30:41.198: Se0/0 LCP: I CONFREQ [REQsent] id 15 len 10
*Mar 3 06:30:41.198: Se0/0 LCP: MagicNumber 0x0DA8E7C3 (0x05060DA8E7C3)
*Mar 3 06:30:41.198: Se0/0 LCP: O CONFACK [REQsent] id 15 len 10
*Mar 3 06:30:41.198: Se0/0 LCP: MagicNumber 0x0DA8E7C3 (0x05060DA8E7C3)
*Mar 3 06:30:42.953: Se0/0 LCP: I CONFREQ [ACKsent] id 16 len 10
*Mar 3 06:30:42.953: Se0/0 LCP: MagicNumber 0x0DA8E7C3 (0x05060DA8E7C3)
*Mar 3 06:30:42.953: Se0/0 LCP: O CONFACK [ACKsent] id 16 len 10
*Mar 3 06:30:42.953: Se0/0 LCP: MagicNumber 0x0DA8E7C3 (0x05060DA8E7C3)
*Mar 3 06:30:42.965: Se0/0 LCP: Timeout: State ACKsent
*Mar 3 06:30:42.965: Se0/0 LCP: O CONFREQ [ACKsent] id 19 len 10
*Mar 3 06:30:42.965: Se0/0 LCP: MagicNumber 0x13F3C8DD (0x050613F3C8DD)
*Mar 3 06:30:42.965: Se0/0 LCP: I CONFACK [ACKsent] id 19 len 10
*Mar 3 06:30:42.965: Se0/0 LCP: MagicNumber 0x13F3C8DD (0x050613F3C8DD)
*Mar 3 06:30:42.965: Se0/0 LCP: State is Open
*Mar 3 06:30:42.969: Se0/0 PPP: Phase is FORWARDING, Attempting Forward
*Mar 3 06:30:42.969: Se0/0 PPP: Phase is ESTABLISHING, Finish LCP
*Mar 3 06:30:42.969: Se0/0 PPP: Phase is UP[Truncated Output]

Referencing the output above, if the output of this command only showed the router sending outbound (O) packets, then you would need to engage the ISP for additional troubleshooting.

PPP uses Link Control Protocol (LCP) to manage the Data Link connection. PPP LCP provides a method of establishing, configuring, maintaining, and terminating the point-to-point connection. LCP tests the functionality of the Data Link connection in the following four distinct phases:

  • Data Link Layer configuration and negation
  • Link quality determination
  • Network Layer protocol negotiation
  • Link termination

 

Data Link Layer configuration and negation is the first stage and must be complete before any Layer 3 information can be exchanged. This stage is complete when a configuration-acknowledgment frame, or Configure-ACK, has been sent and received. Additionally, two other messages types, Configure-NACK and Configure-Reject, may also be sent in this phase if the values received during negotiation are unacceptable, or if there are some unknown values present, respectively.

Link quality determination is an optional stage in which the link is tested to determine whether the link quality is sufficient enough to bring up Network Layer protocols.

Network Layer protocol negotiation is the third stage and involves the configuration of Layer 3 protocols. PPP uses Network Control Protocol (NCP) to configure the Layer 3 protocols. NCP, in turn, uses IP Control Protocol (IPCP) to manage the use of Layer 3 protocols over the PPP communications link. Finally, link termination is the final phase and involves the termination of the communications link due to user requests or other events (e.g., link failure).

The primary reason the LCP may not open is due to mismatched PPP options, which include authentication or any other supported PPP link options. When PPP options do not match, the output of the debug ppp negotiation command shows either a Configure-NACK (CONFNACK) or Configure-Reject (CONFREJ) message instead of the expected Configure-ACK (CONFACK) message. You can determine which device has the mismatched option by looking at the direction of these messages. For example, if your router sends (O) the CONFNACK or CONREJ message, this means that it is unable to perform or is not configured for the option the ISP router requests.

Inversely, if you receive (I) the CONFNACK or CONREJ message, this means that you have configured an option on the Cisco DSL Router that your ISP is not willing to perform. The following shows the output of the debug ppp negotiation command on a DSL router. In this case, the ISP has requested authentication; however, the local router is not configured for authentication and so LCP cannot open (i.e., negotiation fails):

DSL-R7#debug ppp negotiation
PPP protocol negotiation debugging is on
DSL-R7#
DSL-R7#[Truncated Output]*Mar 3 06:47:37.003: Se0/0 PPP: Phase is ESTABLISHING, Passive Open
*Mar 3 06:47:37.003: Se0/0 LCP: State is Listen
*Mar 3 06:47:38.998: Se0/0 LCP: Timeout: State Listen
*Mar 3 06:47:38.998: Se0/0 LCP: O CONFREQ [Listen] id 96 len 10
*Mar 3 06:47:38.998: Se0/0 LCP: MagicNumber 0x14037142 (0x050614037142)
*Mar 3 06:47:39.002: Se0/0 LCP: I CONFREQ [REQsent] id 85 len 24
*Mar 3 06:47:39.002: Se0/0 LCP: AuthProto CHAP (0x0305C22305)
*Mar 3 06:47:39.002: Se0/0 LCP: MagicNumber 0x0DB89034 (0x05060DB89034)
*Mar 3 06:47:39.002: Se0/0 LCP: MRRU 1524 (0x110405F4)
*Mar 3 06:47:39.002: Se0/0 LCP: EndpointDisc 1 R2 (0x1305015232)
*Mar 3 06:47:39.002: Se0/0 LCP: O CONFREJ [REQsent] id 85 len 8
*Mar 3 06:47:39.002: Se0/0 LCP: MRRU 1524 (0x110405F4)[Truncated Output]

Authentication failures are a common cause of DSL connectivity issues. Both PPPoE and PPPoA require some type of authentication, which could be Password Authentication Protocol (PAP), Challenge Handshake Authentication Protocol (CHAP), or Extensible Authentication Protocol (EAP). Because the DSL router is the client, it is authenticated by the ISP. When using CHAP, you must therefore configure the DSL router with the correct credentials (verify with the ISP), using both the ppp chap hostname <name> and ppp chap password <password> interface configuration commands. For PAP, a single command is required: the ppp pap sent-username <name> password <password> interface configuration command. If both methods are supported, both sets of commands should be issued.

In addition, you must also configure the DSL router to support the supported type of authentication for inbound calls. By default, all calls are treated as inbound. Therefore, the router must be configured with the ppp authentication <chap | pap> callin interface configuration command. Because you will not be authenticating the ISP, you do not need to configure any local username and password pairs for PPP on the DSL router. You can verify whether mismatched authentication parameters are the cause of the problem using the debug ppp negotiation command, as was shown in the previous example.

Network Control Protocol (NCP) Internet Protocol Control Protocol (IPCP) is used to manage the use of Network Layer protocols over the PPP communications link. RFC 1332 states that IPCP negotiates two options: link compression and IP address assignments. However, IPCP is also used to pass network-related information, such as primary and backup WINS and DNS server, using PPP CONF messages. Following a successful negotiation, the IPCP state should be open. If the state is not open, then validate the IP addressing configuration, which in most cases is provided by the ISP. If the router is not receiving an IP address, contact the ISP for further troubleshooting. The following example shows a sample output of the debug ppp negotiationcommand. In this example, IPCP negotiation fails as the local router parameters are rejected by the peer (ISP):

DSL-R7#debug ppp negotiation
PPP protocol negotiation debugging is on
DSL-R7#[Truncated Output]*Mar 3 07:37:48.904: Se0/0 IPCP: Redirect packet to Se0/0
*Mar 3 07:37:48.904: Se0/0 IPCP: I CONFREQ [REQsent] id 1 len 10
*Mar 3 07:37:48.908: Se0/0 IPCP: Address 192.168.1.2 (0x0306C0A80102)
*Mar 3 07:37:48.908: Se0/0 IPCP: O CONFACK [REQsent] id 1 len 10
*Mar 3 07:37:48.908: Se0/0 IPCP: Address 192.168.1.2 (0x0306C0A80102)
*Mar 3 07:37:48.908: Se0/0 LCP: I PROTREJ [Open] id 67 len 16 protocol IPCP (0x80210101000A030600000000)[Truncated Output]*Mar 3 07:37:48.912: Se0/0 CDPCP: State is Closed
*Mar 3 07:37:48.912: Se0/0 IPCP: State is Closed

NOTE: The Protocol-Reject (PROTREJ) message is used by PPP to indicate that the peer has attempted to use a protocol that is unsupported. When a PPP device receives a PROTREJ message, it must cease, at the earliest opportunity, to send packets of the indicated protocol. Referencing the debug output above, the ISP is indicating that the local DSL router is attempting to use a protocol that is not supported by the ISP. In such cases, verify the router configuration and then engage the ISP if this issue persists, as it could also be due to misconfigurations on their side.

Layer 3 troubleshooting involves performing basic ping tests to validate connectivity to external locations, such as the Internet. If the router has received an IP address and the default gateway is correct, but you are unable to ping either the default gateway or any other Internet address, you should contact the ISP for additional troubleshooting support. Assuming that all other checks have passed, there is typically nothing you can do to resolve these types of issues.

MTU issues are a common cause for Layer 3 issues when using PPPoE. When a client attempts to connect to a Web site, for example, the MTU size is negotiated during session negotiation between the client and the server. Typically, the client and the server negotiate an MTU of 1500 bytes (Ethernet). Having stated that, let us look at how PPPoE can cause some connectivity problems between the client and the server.

Assume, for example, that the client is able to connect to the server. This is possible because the initial connection phase uses only small packets. The client then requests a large amount of data. The server responds and sends the client the data in a 1500 byte. This packet has the Designated Forwarder (DF) bit set, which prevents it from being fragmented. When this packet is received by the PPPoE router, it is dropped and the router sends an Internet Control Message Protocol (ICMP) message to the server telling it that the largest MTU size is 1492 bytes. When the server receives this message, it complies and reduces the MTU size in future packets to the client. The problem arises because most servers have ICMP disabled to protect them against DoS attacks, such as ping floods, for example. In such cases, if the server does not receive the ICMP message from the router, it continues sending 1500-byte packets, and the router keeps dropping them and sending ICMP messages to the server.

While all this is going on, the client is still waiting for a response from the server, not knowing that there is an issue between the PPPoE router and server. Eventually, the client connection resets or times out. This issue is often confusing because it may happen only with some select sites. For example, another server might not send packets with the DF bit set, which would allow the PPPoE router to fragment packets larger than 1492 bytes and send them to the client. To resolve such issues, you can use one of the following solutions:

  • Adjust the workstation maximum MTU value
  • Adjust the Transmission Control Protocol (TCP) Maximum Segment Size (MSS) size on the DSL router

 

Adjusting the maximum MTU value on the workstation will vary depending on platform and Operating System. On Windows-based machines, this can be performed by modifying the Registry and setting the maximum MTU value to 1492. If you are not comfortable with modifying the Registry, you can download the Dr. TCP Utility. This tool is a utility that provides a window to the area of your registry that stores adjustable TCP settings, which allows you to specify the maximum MTU value without actually entering the Registry yourself.

On Linux or Unix-based machines, you can set the MTU value using the ifconfig command; for example, you might use the /sbin/ifconfig eth0 mtu 1492 command. If you are using Mac OS, for example, the change would be performed under the Ethernet card in the “Network” section, as shown in Figure 13-2 below:

 

clip_image004

Fig. 13-2. Changing Mac OS Ethernet Internet MTU Values

 

On the Cisco router, you can change the TCP MSS size via the ip tcp adjust-mss <size>interface configuration command. This command is used to specify MSS for transient packets that traverse a router, specifically TCP segments in the synchronized (SYN) bit set, when PPPoE is being used in the network.

This command helps prevent TCP sessions from being dropped by adjusting the MSS value of the TCP SYN packets. It is effective only for TCP connections passing through the router. In most cases, the optimum value for the max-segment-size argument is 1452 bytes. This value plus the 20-byte IP header, the 20-byte TCP header, and the 8-byte PPPoE header adds up to a 1500-byte packet that matches the MTU size for the Ethernet link.

It is important to remember that the TCP MSS command must specify a value of 1452 and not 1492, which is specified using the ip mtu <size> interface configuration command. The following example illustrates the use of both the ip mtu and the ip tcp adjust-mss interface configuration commands on a PPPoE DSL router:

interface FastEthernet0/0
ip address 10.0.0.1 255.255.255.0
ip tcp adjust-mss 1452
ip nat inside
!
interface FastEthernet0/1
no ip address
pppoe enable
pppoe-client dial-pool-number 1
!
interface Dialer1
ip address negotiated
ip nat outside
ip mtu 1492 
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication pap
ppp pap sent-username tshoot@howtonetwork.net password p@p123

In summation, as has been described in this section, troubleshooting DSL access can be a rather long and arduous task. However, having a solid understanding of overall DSL operation facilitates the troubleshooting process. It is important to use a systematic approach when you are troubleshooting DSL issues; otherwise, it could take a long time to isolate the issue.

Prev

Next

About Us

This is a free bonus site for members of www.howtonetwork.com

Copyright

The content on this copyright Reality Press Ltd.
Copyright Reality Press Ltd.