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.
Mokena prom limo .. Lockport Chicago limo O’HareMicrosoft Business Solutions CRM data conversion deserves FAQ type of... Read More
I've been active in the Cisco Certification track for four... Read More
As Mozilla Firefox nears 10% market share, with well over... Read More
There are plenty of articles out there about how to... Read More
Writing software manuals is boring, isn't it? We often think:... Read More
I have recently created my first Php program. I wanted... Read More
2005 ? Back to the Future.What does the future hold?... Read More
Microsoft CRM has built-in conversion tool, however you should probably... Read More
SAP Inc., a global leader in client/server enterprise application software... Read More
If you're online using a dialup Internet connection, you'll probably... Read More
We were recently faced with a decision: either to let... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
Microsoft Business Solutions Great Plains, former Great Plains Software Dynamics/eEnterprise... Read More
Intro This concise article will tell you in plain English... Read More
While Adobe is the most known maker of PDF tools,... Read More
Today's business world is fast-paced. No matter what it is... Read More
If you have been running Windows XP for a couple... Read More
Logistics automation is often considered as barcoding extension to Sales... Read More
For a windows user like me, just can watch with... Read More
What is Colossus?Colossus is software licensed to about twenty-five insurance... Read More
For those who are unclear on the differences between the... Read More
Make-or-Break Factors in Success and ProfitabilityFor quick printers, estimating can... Read More
Some introduction into Great Plains Software products, now Microsoft Business... Read More
We will base our prognosis on our Microsoft Business Solutions... Read More
Microsoft Great Plains might be considered as ERP platform to... Read More
Mokena Chicago limo O'Hare ..It's not very often I get excited about a software... Read More
Rapid Application Development (RAD) is a software development methodology. In... Read More
Task Manager is a Windows system utility that displays thetasks... Read More
Microsoft Great Plains has substantial mid-market share in the USA... Read More
We all already got used to computer monitoring both at... Read More
1. With mapping software you can create a report that... Read More
If you have Great Plains Dynamics/eEnterprise (version 6.0 or earlier)... Read More
Case study: A secretary using Corel WordPerfect 7 is often... Read More
Microsoft Business Solutions Great Plains is very popular ERP platform... Read More
The purpose of one of our projects was MS Exchange... Read More
Best Software Act! is very popular CRM for small and... Read More
Microsoft bought Navision, Denmark based software development company, along with... Read More
Three highly respected names in Human Resources have joined forces... Read More
Microsoft has never released a service pack for Windows98 SE,... Read More
How to delete the user? This is the first problem... Read More
The stakes are high when considering security, privacy, and savings,... Read More
If you have Microsoft Great Plains as main accounting and... Read More
Microsoft CRM is CRM answer from Microsoft and attempt to... Read More
Hey Guys! Don't raise your eyebrows or fear by hearing... Read More
Most computer users use spreadsheets software such as Microsoft Excel... Read More
Microsoft Business Solutions Great Plains was purchased from Great Plains... Read More
Need software to record your voice, streaming audio or musical... Read More
Anyone who has ever used Microsoft Word knows that it... Read More
The title of "software engineer" has got to be among... Read More
Former Great Plains Software Dynamics/eEnterprise and currently Microsoft Business Solutions... Read More
Software |