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
![]() |
|
![]() |
|
![]() |
|
![]() |
Microsoft Business Solutions CRM proved to be reliable solution in... Read More
Microsoft Business Solutions CRM and IBM Lotus Notes Domino, being... Read More
So, you've bought a new Macintosh, and now you may... Read More
One day, you suddenly realize that your computer started to... Read More
Is your PC is slow and wimpy? Then you need... Read More
In the case when you represent mid-size or mid-size-to-large business,... Read More
Microsoft CRM customization techniques are very diversified and based on... Read More
Several software companies design programs for preventive maintenance. Most of... Read More
Microsoft Great Plains is now standard mid-market ERP application, serving... Read More
We've all seen the ads on TV for Netzero 3G.... Read More
Microsoft Business Solutions Great Plains was historically designed to serve... Read More
Before September 1995, Microsoft Windows was an MS-DOS program. DOS... Read More
You turn on your computer, and it doesn't look quite... Read More
Microsoft Great Plains has full-featured Manufacturing suite of modules: Capacity... Read More
Usually workflow & messaging is realized in CRM and then... Read More
Every organization which creates collaborative documents, whether they are budgets,... Read More
When Great Plains Software introduced the first graphical accounting application... Read More
What is Tripwire?Tripwire is a form intrusion detection system (IDS)... Read More
The purpose of one of our projects was MS Exchange... Read More
The destruction of the Soviet Union about 15 years ago,... Read More
Internet worms. Is your PC infected?If your computer has become... Read More
Many reasons made GBM a unanimous choice for experts, one... Read More
It's no secret that software companies operate in a very... Read More
For a long time now Microsoft's Internet Explorer has ruled... Read More
When Great Plains Software was designing and developing Great Plains... Read More
You would like to protect your documents, wouldn't you? Reasons... Read More
I started using PIP (Picture It Publishing) Platinum 2002 right... Read More
Microsoft Business Solutions Great Plains, former Great Plains Software Dynamics... Read More
This short paper will expand on two key reasons to... Read More
Looks like Microsoft Great Plains becomes more and more popular,... Read More
Software Engineering is the Systematic Approach for analysis design implementation... Read More
Microsoft Business Solutions CRM is web-based CRM application, deploying all... Read More
Blue Cross and Blue Shield of Hawaii (HMSA) found itself... Read More
What is a Web Database?A web database is a database... Read More
It would be easy to think, like most people apparently... Read More
The most important benefit of XML is its simplicity. Though... Read More
We all take the computer for granted. I mean, all... Read More
Microsoft Office program is a programming tool called Visual Basic... Read More
There are so many different programs that clutter up your... Read More
We would like to give you pluses and minuses of... Read More
Vince Lombardi once said that, "The achievements of an organization... Read More
Microsoft Great Plains serves majority of US based horizontal and... Read More
Microsoft Business Solutions Great Plains has full-featured manufacturing set of... Read More
And kill the best layout software in the process of... Read More
The US House of Representatives has recently passed the "Spy... Read More
Whether you are an experienced web programmer or a complete... Read More
Current Microsoft Business Solutions Great Plains has more that 10... Read More
We were recently faced with a decision: either to let... Read More
There are plenty of articles out there about how to... Read More
When it comes to running an office, the SOHO entrepreneur... Read More
DBxtra is a powerful query and reporting tool that hides... Read More
Professional services firm cuts costs and improves productivity with integrated... Read More
I started using PIP (Picture It Publishing) Platinum 2002 right... Read More
If you look back to the history, you will see... Read More
Are you lost in the mess of documents that get... Read More
Now there are Three Steps To Heaven Just listen and... Read More
While paper labeling CDs and DVDs may appear to be... Read More
Google Inc. has launched a new software package that allows... Read More
Shareware has been fighting the stigma of being misunderstood for... Read More
Microsoft Business Solutions CRM is present several years on the... Read More
SyncUp, a file synchronizer is designed to assist the home... Read More
Customer Relationship Management or CRM is a combination of enterprise... Read More
Before September of 1995, Microsoft ignored the Internet because their... Read More
Collaboration SoftwareCollaboration Software, also known as group collaboration software or... Read More
Microsoft released Service Pack 2 (SP2) for the Windows XP... Read More
Are Spreadsheets Robbing your Enterprise of Competitive Advantage?'90% of "average"... Read More
Software |