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!
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, Flash Card Books, and to sign up for our weekly newsletter written personally by Chris. Chris is always glad to hear from Cisco certification candidates at http://www.thebryantadvantage.com.
Riverside Chicago charter limousine .. Lockport Chicago limo O’HareTCO (Total Cost Ownership) is the buzzword in... Read More
This article is the third of a series of articles... Read More
Our opinion is based on our Microsoft Business Solutions Great... Read More
No matter how much you enjoy your favorite screensavers, sometimes... Read More
As seeing large number of implementations ? in our case... Read More
IntroductionSurprised, by the title? well, this is a tour of... Read More
Introduction to C++Why Learn C++?C++ may at first seem like... Read More
Looks like Microsoft Great Plains becomes more... Read More
The vast majority of us will have, at some point,... Read More
If you copy something from a Web site or elsewhere...... Read More
If you have been using the Internet for any amount... Read More
According to a survey conducted by InfoTrends/CAP Ventures entitled "Content-Centric... Read More
Upgrading. Downtime. Maintenance. Hardware obsolescence. Implementation issues. The litany of... Read More
Healthcare facilities such as clinics, hospitals, and biomedical laboratories can... Read More
Intro This concise article will tell you in plain English... Read More
Microsoft Business Solutions Great Plains, Navision, Axapta, Solomon and CRM... Read More
Does Microsoft Have any Real Competition? Copyright (c) 2003 Gregory... Read More
Passwords protect your most sensitive personal, financial and business information.... Read More
Microsoft CRM is winning market share step-by-step from such the... Read More
Domino server is a buffer between the operation system and... Read More
Microsoft CRM is now on the scene and it is... Read More
When reading an article where some term is used often,... Read More
Microsoft Business Solutions Great Plains has Project Accounting module where... Read More
Microsoft Great Plains and Microsoft Retail Management System (Microsoft RMS)... Read More
Microsoft Business Solutions Great Plains was purchased from Great Plains... Read More
Lincoln Stretch rentals Lake Villa ..According to a survey conducted by InfoTrends/CAP Ventures entitled "Content-Centric... Read More
Having from five to ten and more favorite screensavers is... Read More
After seeing many people complain about their weak Internet security... Read More
It could just be me, but my experiences with document... Read More
If there still are few unprotected computers left, I haven't... Read More
MSN messenger is a pretty cool invention. I mean I'm... Read More
Microsoft CRM customization techniques are very diversified and based on... Read More
eStore Advantage allows front-office applications to communicate with back-office business... Read More
How would you like to prevent spyware and adware from... Read More
Microsoft CRM is new player on the CRM software... Read More
With this small article we are continuing Microsoft Business Solutions... Read More
Microsoft bought Navision, Denmark based software development company, along with... Read More
No matter how much you enjoy your favorite screensavers, sometimes... Read More
XML Server can be a Web Server that stores the... Read More
Manufacturing in the USA is far away down from mid... Read More
I love new technology. I am still ready to wait... Read More
Did you ever give a thought to the number of... Read More
Microsoft Business Solutions is now in process of creating so... Read More
New post-recession era has new features, which didn't exist in... Read More
The Windows Indexing Service provides you with the ability to... Read More
Microsoft Business Solutions Great Plains might be considered as ERP... Read More
If you have been using the Internet for any amount... Read More
Well, even if the combination might look very unusual, we... Read More
Homeland security, airport security, Internet security ??" these days we???re... Read More
It's no secret that software companies operate in a very... Read More
Software |