In part III of this ISDN primer, we learned that PPP has two main methods of authentication that Cisco certification candidates need to know how to configure: PAP and CHAP.
PAP has very few advantages over CHAP. PAP passwords are carried over the line in clear-text, which in today's world is a very bad idea. PAP configuration also requires additional configuration with the "ppp pap sent-username" command, so anyone who can see your running configuration can also see the PAP password.
The only advantage PAP has over CHAP is a slim one. With PAP, a different password can be used by the each of the routers involved in the authentication. CHAP requires that the password be the same. Why? We'll see as we examine CHAP authentication.
The First Step to Configuring CHAP
CHAP requires you to configure a username / password combination for any remote device that will be involved in authentication. (We're assuming that the routers have already been configured with their names via the global hostname command.) Both routers will use the password CISCO.
R1:
username R2 password CISCO
int bri0
encapsulation ppp
ppp authentication chap
R2:
username R1 password CISCO
int bri0
encapsulation ppp
ppp authentication chap
Why CHAP Authentication Requires The Same Password On Both Routers
Remember how PAP sends the password over the line in clear-text? CHAP does not actually send the password over the line at all. Instead, CHAP runs a hash algorithm using the password and a random number. It is the result of this hash that is passed over the link. The remote router receives the hash result, and runs the exact same algorithm. If the result is the same, the authentication attempt will be successful. If the result is different, the authentication will fail. For this reason, the passwords must be the same.
Debug The Connection If Authentication Fails
Since two passwords are involved, the chances of one of the passwords being mistyped doubles. If you configure CHAP and the link dials but drops almost immediately, there's an authentication problem. Run debug ppp negotiation and attempt to dial the line again. The output of this particular debug will show you where the problem is.
Chris Bryant, CCIE (TM) #12933, has been active in the Cisco certification community for years. He has written several books that have helped CCNA candidates around the world achieve the coveted CCNA certification, including several concentrating on binary math conversions and subnetting questions that the average CCNA candidate will need to answer on their CCNA exams.
He is the owner of The Bryant Advantage (http://www.thebryantadvantage.com) where he teaches affordable world-class CCNA courses via the Internet, and sells his popular Cisco certification books. Heâ??s proud to have helped CCNA candidates around the world achieve their career goals. Mr. Bryantâ??s books and courses are sold on his site, on eBay, and on several other major Cisco certification sites.
![]() |
|
![]() |
|
![]() |
|
![]() |
Need help making sense of algebra? Have algebra lectures in... Read More
When you need a phone number, you do a quick... Read More
Microsoft bought Navision, Denmark based software development company, along with... Read More
We would like to give you pluses and minuses of... Read More
Well, even if the combination might look very unusual, we... Read More
Fundraising software lets you connect with donors in a way... Read More
What is a Web Database?A web database is a database... Read More
If you are in the market for new staffing software,... Read More
Microsoft Great Plains, former Great Plains Software Dynamics, eEnterprise has... Read More
Handling character strings in Java is supported through two final... Read More
An operating system (abbreviated OS) is essentially the path through... Read More
Icons are used everywhere; right from software applications, to internet... Read More
Looks like Microsoft Great Plains becomes more and more... Read More
In this small article we will be looking at the... Read More
"Pfishing", sometimes spelled "Phishing", is a word that's used to... Read More
OEComplete is a utility for managing the personal information of... Read More
Microsoft Business Solutions Great Plains, Solomon, Navision, Axapta, Microsoft CRM... Read More
Finding the best spyware removers to detect and remove spyware... Read More
Microsoft Business Solutions Great Plains has many years of successful... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
If you're online using a dialup Internet connection, you'll probably... Read More
Microsoft Retail Management (RMS) and Microsoft Great Plains are retail... Read More
Linux essentials:It's free for download but you have to pay... Read More
In the Clinton era the status quo was simple: you... Read More
Designing without tables by using CSS layouts is fast becoming... Read More
Microsoft Business Solutions offers several ERP applications: Great Plains, Navision,... Read More
MSN messenger is a pretty cool invention. I mean I'm... Read More
Configuring PPP PAP AuthenticationNow we know how the ISDN link... Read More
Let's say that you have a software project that's under... Read More
This short paper will expand on two key reasons to... Read More
Need software to record your voice, streaming audio or musical... Read More
IntroductionPHP can be used for a lot of different things,... Read More
ERP is the acronym of Enterprise Resource Planning. Multi-module ERP... Read More
Are you one of those people that keeps track of... Read More
Since technology changes so quickly, it is hard to begin... Read More
Microsoft Great Plains ? ERM from Microsoft Business Solutions and... Read More
Creating a new markup language.Introduction.General Reuse Markup Langauge, or GRML,... Read More
It's not very often I get excited about a software... Read More
Microsoft Great Plains is main Microsoft Business Solutions product, targeted... Read More
When you own a small business, time is money. And... Read More
Task Manager is a Windows system utility that displays thetasks... Read More
The vast majority of us will have, at some point,... Read More
A few months back I really got sick of my... Read More
As we could imagine, if you are reading this article... Read More
We were recently faced with a decision: either to let... Read More
Microsoft Great Plains, former Great Plains Software Dynamics / eEnterprise... Read More
Let us give you - developer some hints in the... Read More
After almost two decades of existence, Quark has become the... Read More
Language development computer: Computer-based method for aiding language development seems... Read More
Microsoft CRM is relatively new player on the now becoming... Read More
Customer Relationship Management or CRM is a combination of enterprise... Read More
Are you ready? SQL Server 2005, the next-generation data management... Read More
Hey Guys! Don't raise your eyebrows or fear by hearing... Read More
The research in the field of Natural Language Processing usually... Read More
Bad News - the Threat is Bigger than it SeemedHow... Read More
In our case ? we serve Microsoft Business Solutions ERP... Read More
Microsoft Business Solutions CRM is present several years on the... Read More
This is intermediate level SQL scripting article for DB Administrator,... Read More
In order to meet regulatory and corporate compliance requirements reporting... Read More
Writing software manuals is boring, isn't it? We often think:... Read More
Microsoft Great Plains has substantial mid-market share in the USA... Read More
#5 All your hardware components like Printers, PCs etc come... Read More
Assertion facility is added in J2SE 1.4. In order to... Read More
GroupwareThe internet is full of 1.5 million to 7 million... Read More
If you look back to the history, you will see... Read More
Small can be beautiful! Working with Knoppix for the past... Read More
Software |