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.
weekly home cleaning Highland Park ..Midsize business or non-profit organization should decide if one-vendor solution... Read More
The java programming language is becoming more and more popular... Read More
I have yet to see a business that, sometimes in... Read More
Shareware is software that you can try before you buy;... Read More
Case study: A secretary using Corel WordPerfect 7 is often... Read More
Microsoft has never released a service pack for Windows98 SE,... Read More
In the Clinton era the status quo was simple: you... Read More
How to delete the user? This is the first problem... Read More
Microsoft Business Solutions Great Plains and MS CRM (client relation... Read More
The intuitive algorithm.Roger Penrose considered it impossible. Thinking could never... Read More
What is Snort?Snort is an open source network intrusion detection... Read More
NOTE: Please take time to read on - it may... Read More
I love new technology. I am still ready to wait... Read More
The objective for Zandi Digital is to make available clever... Read More
Microsoft Business Solutions is emerging as very attractive vendor for... Read More
Stop the Runaway MouseWhat's the "runaway mouse?" You've seen it...you... Read More
Microsoft Business Solutions ? Navision is an integrated solution for... Read More
Think of this, first we had the HAM Radio, then... Read More
Microsoft CRM was designed to be easily customizable. Microsoft CRM... Read More
Microsoft bought Navision, Denmark based software development company, along with... Read More
At the end of XX century, in the late 1990th... Read More
What is Spyware?Spyware monitors your surfing habits and sends the... Read More
If you copy something from a Web site or elsewhere...... Read More
As Mozilla Firefox nears 10% market share, with well over... Read More
After almost two decades of existence, Quark has become the... Read More
whole house cleaning Park Ridge ..So, you've bought a new Macintosh, and now you may... Read More
While Adobe is the most known maker of PDF tools,... Read More
This article will not attempt to advocate the use of... Read More
Microsoft Business Solutions Great Plains was purchased from Great Plains... Read More
DBxtra is a powerful query and reporting tool that hides... Read More
Did you ever give a thought to the number of... Read More
Ok... Where to start?Well, I guess I will start at... Read More
New post-recession era has new features, which didn't exist in... Read More
The intuitive algorithm.Roger Penrose considered it impossible. Thinking could never... Read More
Does Microsoft care for WebmastersIt's always been a problem with... Read More
Former Great Plains Software Dynamics/eEnterprise, and currently Microsoft Business Solutions... Read More
Upgrading. Downtime. Maintenance. Hardware obsolescence. Implementation issues. The litany of... Read More
Microsoft Business Solutions Great Plains, former Great Plains Software Dynamics... Read More
For those who still don't know, Microsoft Publisher helps computer... Read More
Microsoft CRM is CRM answer from Microsoft Business Solutions.The whole... Read More
Bill of Lading is required report for Logistics and Freight... Read More
Microsoft Business Solutions Great Plains has full-featured manufacturing set of... Read More
Not all of us have the luxury of working both... Read More
Microsoft Great Plains is one of the Microsoft Business Solutions... Read More
What is IRC?IRC is Internet Relay Chat. It is a... Read More
Enabling Chinese input is quick and easy, there are only... Read More
Microsoft Great Plains is now targeting large and midsize businesses... Read More
We all take the computer for granted. I mean, all... Read More
Anyone who has ever used Microsoft Word knows that it... Read More
When my daughter was getting into AOL instant messaging (AIM)... Read More
Software |