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.
whole house cleaning Deerfield ..To all web designers out there, this article is for... Read More
Many Webmasters have never bothered to view their website's server... Read More
The adware and spyware definitions list is very long. But... Read More
I have yet to see a business that, sometimes in... Read More
Combining Microsoft Business Solutions Great Plains ERP with non-Microsoft Business... Read More
.NET platform does not support multiple inheritance. Do not confuse... Read More
Microsoft SQL Server is the leader for inexpensive and middle... Read More
Introduction: The creating of a computer program involves a number... Read More
We would like to give you pluses and minuses of... Read More
MSN messenger is a pretty cool invention. I mean I'm... Read More
Domino server is a buffer between the operation system and... Read More
So let's begin crunching down these 300 images using Adobe... Read More
"Pfishing", sometimes spelled "Phishing", is a word that's used to... Read More
#5 All your hardware components like Printers, PCs etc come... Read More
The most important things you can do for your computer... Read More
GroupwareEfforts are continually made to manage the unavoidable ad hoc... Read More
Since its release in 1987, QuarkXpress had made an immediate... Read More
SOFTWARE PIRACY We regularly hear reports... Read More
Microsoft Business Solutions Great Plains and MS CRM (client relation... Read More
Microsoft Outlook is one of the most widely used software... Read More
Microsoft Great Plains serves the wide spectrum of horizontal markets.... Read More
One of the things we can be as certain of... Read More
We would like first emphasize the change in the paradigm.... Read More
As we could imagine, if you are reading this article... Read More
What is RAID RECOVERY?RAID stands for Redundant Array of Inexpensive... Read More
home cleaning services Des Plaines ..It is possible that if one avoided all sources of... Read More
Document Manager and Version HistoryIn previous articles I have discussed... Read More
XML Server can be a Web Server that stores the... Read More
Microsoft Business Solutions Great Plains and MS CRM (client relation... Read More
Not every software testing project can or should be automated.... Read More
The software giants don't do everything and don't always produce... Read More
Microsoft Client Relation Management system (Microsoft CRM) and Microsoft RMS... Read More
Anti-virus software is used to find, remove or fix files... Read More
Security flaws have long plagued Internet Explorer (IE), the market-dominating... Read More
After seeing many people complain about their weak Internet security... Read More
For those who still don't know, Microsoft Publisher helps computer... Read More
Microsoft Great Plains as ERP and Microsoft CRM as... Read More
It is really interesting that a bug can create problem... Read More
While Adobe is the most known maker of PDF tools,... Read More
Usually, the easiest way to tell you have spyware is... Read More
In this short FAQ style article we would like to... Read More
Microsoft Great Plains may be recommended for international freight forwarding... Read More
When making a decision to buy any piece of software... Read More
Need help making sense of algebra? Have algebra lectures in... Read More
I have always had a tendency to focus on the... Read More
Blue Cross and Blue Shield of Hawaii (HMSA) found itself... Read More
When my daughter was getting into AOL instant messaging (AIM)... Read More
Microsoft Business Solutions Great Plains serves multiple industries in the... Read More
Writing software manuals is boring, isn't it? We often think:... Read More
Microsoft bought Navision, Denmark based software development company, along with... Read More
Software |