home
NEWS       BLOGS       FORUMS       NEWSLETTERS       RESEARCH       EVENTS       DIGITAL LIBRARY       CAREERS  
Network Computing Network Computing Powered by InformationWeek Business Technology Network

IMMERSE YOURSELF:

SOA

  |

Data Center

  |

802.11n

  |

Data Privacy

  |
APO  |

Virtualization

  |

NAC

  |

Security

  |

Network Mgmt

  |

Enterprise Apps

  |

Storage & Servers






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






Ready to take that job and shove it?

Function:

Keyword(s):

State:
SPONSOR
RECENT JOB POSTINGS
CAREER NEWS
Go beyond Google and get vertical. These specialized search sites will help you find the business information you need -- fast.

Ari Balogh was named to the post of chief technology officer as the companys for a "realignment" of employees.










InformationWeek U.S. IT Salary Survey 2008
Salaries for business technology professionals are falling. Here's what you need to know in order to make good hiring decisions and personal career choices. Download Today
 
ROLLING RIGHT ALONG
Follow key Network Computing Reviews from conception to completion. This Week: Holistic APM.



Network Computing Reports Emerging Enterprise Podcast Series: Secrets to Success








TechSearch


Microsite of the Week


Powerful Information at Your Fingertips



Techweb
IWKBTN
InformationweekInformationweek 500Informationweek 500 ConferenceInformationweek AnalyticsInformationweek Events
Informationweek ReportsInformationweek MagazinebMightyByte and SwitchDark ReadingDigital Library
Intelligent EnterpriseInternet EvolutionNetwork ComputingPlug Into The CloudDr. Dobbs
space
Techweb Events Network
InteropVoiceConWeb 2.0 ExpoWeb 2.0 SummitEnterprise 2.0Mobile Business ExpoSoftware ConferenceNoJitterMobile Connect
Black HatGTECEnergy CampMashup CampStartup CampCloud Connect
space
Light Reading Communications Network
Light ReadingLight Reading EuropeUnstrungCable Digital NewsConstantinopleInternet EvolutionPyramid Research
Heavy ReadingLight Reading LiveLight Reading InsiderEthrnet ExpoOptical ExpoTelco TVTower Technology Summit
space
Financial Technology Network
Advanced TradingBank Systems and TechnologyInsurance and TechnologyWall Street and TechnologyAccelerating WallstreetBST SummitBuyside Trading SummitIT Summit
space
Microsoft Technology Network
MSDNTechNetTotal IT ProTotal Dev Pro
space


App Infrastructure   |   Messaging & Collaboration   |   Network & Systems Mgmt   |   Network Infrastructure   |   Security  |   Storage & Servers   |   Wireless   |   Enterprise Apps
About Us  |  Contact Us  |  Site Map  |  Technology Marketing Solutions  |  Advertising Contacts  |   Briefing Centers
Copyright © 2009  United Business Media LLC  |  Privacy Statement  |  Terms of Service  |  Your California Privacy Rights