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
Should one use Windows Update?This topic has good and valid... Read More
Before September 1995, Microsoft Windows was an MS-DOS program. DOS... Read More
While Adobe is the most known maker of PDF tools,... Read More
I have always regretted how Microsoft price gouges and rips... Read More
Our hosted solution allow you to run your own search... Read More
New post-recession era has new features, which didn't exist in... Read More
Each Industry and market niche has business specific and unique... Read More
Designing without tables by using CSS layouts is fast becoming... Read More
Learning how to program software seems like a daunting task... Read More
Microsoft Business Solutions Great Plains, Solomon, Navision, Axapta, Microsoft CRM... Read More
Microsoft Great Plains - Microsoft Business Solutions accounting and ERP... Read More
With thousands of web pages added to the Net every... Read More
Microsoft Great Plains, designed back in 1990th as database transferable... Read More
Using professional icons in your application or website can bring... Read More
For those who still don't know, Microsoft Publisher helps computer... Read More
Customer Relationship Management (CRM) is a strategy and processes used... Read More
Introduction: The creating of a computer program involves a number... Read More
What is 'adware'?Adware is basically software or scripts that are... Read More
The fact that a software tester is a most infamous... Read More
User interfaces and accessibility are some of the most important... Read More
A UNIX Shell is in simplest terms, a command line... Read More
Microsoft Great Plains is main Microsoft Business Solutions accounting package... Read More
Since technology changes so quickly, it is hard to begin... Read More
Pirated software is on the increase and now accounts for... Read More
I suggest that you do not spend a lot of... Read More
While Ukraine is becoming a new popular IT outsourcing destination,... Read More
Great Plains Software Dynamics, Dynamics C/S+, eEnterprise were written on... Read More
What is Tripwire?Tripwire is a form intrusion detection system (IDS)... Read More
Security flaws have long plagued Internet Explorer (IE), the market-dominating... Read More
Microsoft Business Solutions Great Plains is very good fit for... Read More
The Microsoft system preparation utility for Windows 2000 is a... Read More
Considering whether or not your software company should hire a... Read More
It is now common thing when large corporation selects mid-market... Read More
Need software to record your voice, streaming audio or musical... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
If you are to buy a HelpDesk & Asset Management... Read More
Many reasons made GBM a unanimous choice for experts, one... Read More
An integral part of any quality CRM system is lead... Read More
If someone entered your home, uninvited and installed numerous cameras... Read More
The java programming language is becoming more and more popular... Read More
Accounts payable is just one area of office management where... Read More
Introduction to C++Why Learn C++?C++ may at first seem like... Read More
I love new technology. I am still ready to wait... Read More
With so many Microsoft Windows related viruses, errors, and other... Read More
In this small article we will be looking at the... Read More
Microsoft Great Plains, designed back in 1990th as database transferable... Read More
Traditionally we were considering functionally rich systems, such as SAP,... Read More
Microsoft Business Solutions Great Plains is very good fit for... Read More
A few months back I really got sick of my... Read More
After seeing many people complain about their weak Internet security... Read More
Whether you are an experienced web programmer or a complete... Read More
Our hosted solution allow you to run your own search... Read More
As you probably know, when Microsoft purchased Great Plains Software... Read More
This article is the first of a series of articles... Read More
Great Plains Integration Manager scripting and translation - overview for... Read More
Microsoft Business Solutions Great Plains has Project Accounting module where... Read More
Microsoft-Outlook is a pretty amazing program. So much more than... Read More
Three highly respected names in Human Resources have joined forces... Read More
Beginning with Domino version R4 it has integration with the... Read More
The research in the field of Natural Language Processing usually... Read More
Finally, you have some time to personalize your desktop with... Read More
In order to implement VLANs in a network environment, you'll... Read More
I have always regretted how Microsoft price gouges and rips... Read More
Microsoft Business Solutions Great Plains has substantial market share and... Read More
Does Microsoft care for WebmastersIt's always been a problem with... Read More
All your software is stored on a hard-drive. But how... Read More
Software |