Introduction To ISDN, Part III: Configuring PPP PAP Authentication
Now we know how the ISDN link comes up (interesting traffic), and some scenarios that might cause the link to stay up, we need to look at ISDN authentication schemes. The two methods Cisco certification candidates must be familiar with are PAP and CHAP.
Password Authentication Protocol (PAP) sends the username and password over the ISDN link in clear-text. Sending any passwords over any WAN link in clear-text is generally a bad idea, but it's important to know you have this option.
Regarding both PAP and CHAP, it's a common misunderstanding that each side must authenticate the other. PAP and CHAP both support bidirectional and unidirectional authentication; that is, R1 can authenticate R2 without R2 necessarily authenticating R1. It's more common to use unidirectional authentication in a lab environment than a production network, but keep in mind that bidirectional authentication is an option, not a requirement.
The configurations of PAP and CHAP do have their similarities. For both, you'll configure a username/password combination in global configuration mode. Newcomers to ISDN sometimes put the local router name in for the username; remember that the remote router name is the username.
The only real advantage of PAP over CHAP comes in the password configuration. Since PAP actually sends the password as a whole over the link, the two routers can send different passwords during authentication. The operation of CHAP requires that both routers use the same password, and we'll see why in tomorrow's article.
Under the BRI interface, you'll enter encapsulation ppp and ppp authentication pap. So far, your authentication scheme looks like this:
username R2 password CCNA
Int bri0
encapsulation ppp
ppp authentication pap
PAP requires an extra command at this point. The ppp pap sent-username command is required under the interface, indicating the username and password this router will be sending to the remote router.
Int bri0
encapsulation ppp
ppp authentication pap
ppp pap sent-username R1 password CISCO
I always encourage CCNA and CCNP candidates to use as many debugs as possible when working in their lab, since these commands show us how things work. For any PPP authentication, always run debug ppp negotiation before sending interesting traffic to trigger the call. Watching exactly how PAP and CHAP work give you a much better understanding of what's going on "behind the command", and makes you a stronger candidate and a stronger networking engineer.
Tomorrow, we'll take a look at CHAP, and why routers cannot use the same password on both ends of the link.
Keep studying!
Chris Bryant
CCIE ? #12933
About The Author
Chris Bryant, CCIE (TM) #12933, has been active in the Cisco certification community for years. He worked his way up from the CCNA to the CCIE, and knows what CCNA and CCNP candidates need to know to be effective on the job and in the exam room.
He is the owner of http://www.thebryantadvantage.com, where he teaches CCNA and CCNP courses to small groups of exam candidates, ensuring they each receive the individual attention they deserve. Classes are offered over the Internet and in person in select cities. Chris has custom-written the Study Guide and Lab Workbook used in each course - no third-party training materials or simulators are used. You're invited to visit our site and check out our CCNA and CCNP courses and study aids, and to sign up for our weekly newsletter written personally by Chris. Chris is always glad to hear from Cisco certification candidates at chris@thebryantadvantage.com
![]() |
|
![]() |
|
![]() |
|
![]() |
The fact that a software tester is a most infamous... Read More
ERP Consulting industry is on the way to serve clients... Read More
For those who still don't know, Microsoft Publisher helps computer... Read More
If there still are few unprotected computers left, I haven't... Read More
A few months back I really got sick of my... Read More
The Windows registry is a huge database that ensures normal... Read More
Microsoft Great Plains - Microsoft Business Solutions accounting and ERP... Read More
In our case ? we serve Microsoft Business Solutions ERP... Read More
So, why should you use any O/R mapping tool? I... Read More
The purpose of one of our projects was MS Exchange... Read More
Follow the steps below to quickly design, generate, and deploy... Read More
Microsoft Great Plains is one of three Microsoft Business Solutions... Read More
In the new era of internet marketing the problem of... Read More
How would you like to prevent spyware and adware from... Read More
I completed an experiment recently. I wanted to find out... Read More
The term "document management" and "paperless office" is the subject... Read More
Hey Guys! Don't raise your eyebrows or fear by hearing... Read More
When you need a phone number, you do a quick... Read More
Microsoft Business Solutions main middle market ERP application - Microsoft... Read More
Microsoft bought Navision, Denmark based software development company, along with... Read More
Our hosted solution allow you to run your own search... Read More
With this small article we are continuing Microsoft Business Solutions... Read More
While several preventive maintenance software manufacturers offer free trials for... Read More
Shareware has been fighting the stigma of being misunderstood for... Read More
Former Great Plains Software Dynamics/eEnterprise and currently Microsoft Business Solutions... Read More
Logistics automation is often considered as barcoding extension to Sales... Read More
Ok... Where to start?Well, I guess I will start at... Read More
Since technology changes so quickly, it is hard to begin... Read More
An operating system (abbreviated OS) is essentially the path through... Read More
Microsoft has never released a service pack for Windows98 SE,... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
Best Software Act! is very popular CRM for small and... Read More
Since Version 8.0 Microsoft Business Solutions Great Plains & Great... Read More
All of us know that Microsoft bought former Great Plains... Read More
OEComplete is a utility for managing the personal information of... Read More
Sometimes your PC will start acting strange for no apparent... Read More
There are two major WYSIWYG(What You See Is What You... Read More
Microsoft Business Solutions offers several ERP applications: Great Plains, Navision,... Read More
It would be easy to think, like most people apparently... Read More
Great Plains Inventory Management (IV) module gives your business a... Read More
This is the tutorial where we really get into programming.... Read More
As of now - Great Plains Dynamics/eEnterprise is transformed/renamed into... Read More
Whether you are an experienced web programmer or a complete... Read More
IntroductionPHP can be used for a lot of different things,... Read More
Microsoft Business Solutions Great Plains has several options to enable... Read More
While I was in college, if you would have asked... Read More
Running Applications in Compatibility Mode With Windows XP, you can... Read More
For those who still don't know, Microsoft Publisher helps computer... Read More
How would you like to prevent spyware and adware from... Read More
How many steps does it take you to locate and... Read More
eStore Advantage allows front-office applications to communicate with back-office business... Read More
New post-recession era has new features, which didn't exist in... Read More
Looks like Microsoft Great Plains becomes more and more popular,... Read More
How do you run a program on a remote server... Read More
Do you remember that frustrating feeling when you find an... Read More
In linux, one of great commands for finding out information... Read More
At the end of XX century, in the late 1990th... Read More
Microsoft Great Plains is now standard mid-market ERP application, serving... Read More
Spyware, what it is and what it does. Basically, spyware... Read More
Not all of us have the luxury of working both... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
Microsoft Business Solutions Great Plains as new ERP for multinational... Read More
If you are software developer or database administrator - we... Read More
Microsoft CRM was designed to be easily customizable. Microsoft CRM... Read More
Program Flow is what you think it is. How the... Read More
Several software companies design programs for preventive maintenance. Most of... Read More
Software |