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 chris@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
licensed cleaning services Park Ridge ..GroupwareEfforts are continually made to manage the unavoidable ad hoc... Read More
One of the main reasons business owners and entrepreneurs use... Read More
Think of this, first we had the HAM Radio, then... Read More
It won't matter how effective your WinRunner Team is if... Read More
IBM Lotus Domino or Microsoft Exchange?The severe competition continues for... Read More
Remember old good days when your company probably had Great... Read More
In the new era of internet marketing the problem of... Read More
We were recently faced with a decision: either to let... Read More
Internet worms. Is your PC infected?If your computer has become... Read More
Spyware is software or hardware installed on a computer without... Read More
One day, you suddenly realize that your computer started to... Read More
When you double-click a layer in the Layer Palette, you... Read More
Remember nice and prosperous Clinton era? When you implemented innovative... Read More
The term "document management" and "paperless office" is the subject... Read More
Well, even if the combination might look very unusual, we... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
And kill the best layout software in the process of... Read More
Great Plains Fixed Assets Management module is a robust tool... Read More
Microsoft CRM is relatively new player on the now becoming... Read More
If you have Microsoft Great Plains and support it for... Read More
At the end of XX century, in the late 1990th... Read More
Disclaimer: All the thoughts expressed are my views only! Your... Read More
The Windows registry is a huge database that ensures normal... Read More
Not every software testing project can or should be automated.... Read More
In the case when you represent mid-size or mid-size-to-large business,... Read More
on demand house cleaning Arlington Heights ..Words we choose to describe things and phenomena often show... Read More
Microsoft Business Solutions Great Plains has substantial market share and... Read More
When reading an article where some term is used often,... Read More
The world of small business accounting software can be a... Read More
The most important benefit of XML is its simplicity. Though... Read More
Buying accounting software is a major investment. It's an important... Read More
Vince Lombardi once said that, "The achievements of an organization... Read More
Usually, the easiest way to tell you have spyware is... Read More
Imagine something that follows you home and sets itself up... Read More
Do you remember that frustrating feeling when you find an... Read More
If you company is small or mid-size special products or... Read More
Looks like Microsoft Great Plains becomes more and more popular,... Read More
Task Manager is a Windows system utility that displays thetasks... Read More
If you use Microsoft Outlook (or similar applications) for e-mailing,... Read More
ERP Consulting industry is on the way to serve clients... Read More
Professional services firm cuts costs and improves productivity with integrated... Read More
MS CRM is very close to document workflow automation, including... Read More
Small can be beautiful! Working with Knoppix for the past... Read More
It is possible that if one avoided all sources of... Read More
Case study: A secretary using Corel WordPerfect 7 is often... Read More
Microsoft Business Solutions Great Plains is written in Great Plains... Read More
Background: For many organizations like ours, the interim target of... Read More
Enabling Chinese input is quick and easy, there are only... Read More
A LOT OF UNWANTED FILES.When you uninstall an item of... Read More
Every organization which creates collaborative documents, whether they are budgets,... Read More
Software |