Upcoming Events

Cloud Connect
Santa Clara
Feb 13-16, 2012

Cloud Connect brings together the entire cloud eco-system to better understand the transformation we're experiencing and promises to be the defining event of the cloud computing industry. Learn about the latest cloud technologies and platforms from thought leaders in Cloud Connect’s comprehensive conference.

Register Now!

More Events »

Subscribe to Newsletter

  • Keep up with all of the latest news and analysis on the fast-moving IT industry with Network Computing newsletters.
Sign Up




PPP Debugging Smooths Remote Access

By Mike Fratto  With end users asking helpdesk personnel and network administrators more and more questions about remote access, it's time we upgraded the quality of our answers. The problem is that PPP is often misunderstood by network personnel, and enlisting your ISP or service provider to help has all-too-predictable results: The rep asks you to check your password, then asks if you are using the right software, then suggests you reinstall networking. It's tried-and-true troubleshooting--for them. While there aren't many useful tools for debugging PPP connections, there are some OS-specific ways you can trace PPP.

With native support in every major OS except Windows 3.x and DOS, PPP is the de facto standard for remote-access communications, and it is relatively simple. Described in STD 51, PPP is designed to provide a simple network connection between two end points over which other network protocols, such as IP, IPX and AppleTalk, are transported. While dial-up communications is our focus here, PPP is not limited to dial-up remote access (including ISDN); it is also found in many point-to-point connections and dial-up VPN (virtual private network) protocols, such as PPTP, L2F and L2TP.

Overturning the Right Stone Prior to Windows98, there was no easy way to see if compression was enabled or what authentication protocol was in use with PPP. In fact, most OSes try to hide PPP from the end user. And even when it is possible to get PPP traces from common OSes, interpreting them is another matter.

When you connect using Dial-up Networking, Windows95 generates a file in the \WINDOWS directory called PPPLOG.TXT. This file contains a very high-level decode of the PPP negotiation showing what layers and options the client received and accepted, and whether you are properly authenticated. However, if you want to see which IP addresses were negotiated, you need to brush up on your HEX skills. Windows98 writes a similar log, but it dumps the packet data--including your user name and password if you're not using a secure algorithm such as CHAP (Challenge Handshake Authorization Protocol)--into the log file as well. You'll want to disable and delete PPP logging when you've finished debugging. PPP dialers on other OSes typically resolve the addressing into dotted quad notation.

Third-party PPP stacks such as FTP Software's OnNet Kernel 3.6 beta offer more features for PPP dialing and tracing in the user interface. For example, when negotiating PPP, OnNet Kernel reports the progress of the PPP connection in plain English. Unix systems also provide extensive logging facilities.

Linking Up There are four steps to a PPP connection: LCP (Link Control Protocol) negotiation, link authentication and quality management, NCP (Network Control Protocol) negotiation and link termination. Here we look at the first three steps. LCP sets up the PPP link as well as negotiated parameters, such as packet sizes and compression. Link quality and authentication is negotiated within LCP. LCP is negotiated in both directions--there is no client/server relationship in the normal sense.

NCP sets up the Layer 3 protocols and encompasses several protocols specific to each network protocol, such as IPCP (IP Control Protocol) and IPXCP (IPX Control Protocol).

To troubleshoot PPP connections, you need to know a little about the protocol. Four messages in PPP have special meaning: Configuration Request (Conf-Req), Configuration Acknowledge (Conf-Ack), Configuration Not-Acknowledge (Conf-Nak) and Configuration Reject (Conf-Rej) (see "PPP Messages Decoded,").


The Point-to-Point Protocol Trace chart, in Acrobat format.

For the Side Bar on

PPP Messages Decoded


Related Links

The Right Tool For The Job: PPP Analyzers Help Debug Remote Access

Open Transport PPP: The Rock Of A New Age

Do You Dream About PPP And Authentication?


Other Workshops

Improving Data Access Security
By Barry Nance

Company Directory
to browse our data, starting with a particular company.

Network Computing Links
allows you to request additional product information from our advertisers.

Print This Page


e-mail E-mail this URL

Research and Reports

Hypervisor Derby
August 2011

Network Computing: August 2011

TechWeb Careers