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.
move in cleaning service Mundelein ..Microsoft Business Solutions Great Plains is written in Great Plains... Read More
If you are to buy a HelpDesk & Asset Management... Read More
When you buy a computer, it most likely comes with... Read More
It is a well known fact that Java as a... Read More
Heard about the Quark "killer"?Adobe InDesign CS2. Will it really... Read More
IntroductionSurprised, by the title? well, this is a tour of... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
While Adobe is the most known maker of PDF tools,... Read More
Professional services firm cuts costs and improves productivity with integrated... Read More
Pirated software is on the increase and now accounts for... Read More
As of now - Great Plains Dynamics/eEnterprise is transformed/renamed into... Read More
Formatting and reinstalling windows 98 is very easy if you... Read More
During the years of our consulting practice, which comes back... Read More
This tutorial covers OLAP solutions used by Data warehouses and... Read More
Whether you are an experienced web programmer or a complete... Read More
Adobe Photoshop is one of the world's leading graphics editing... Read More
Many Webmasters have never bothered to view their website's server... Read More
XML Server can be a Web Server that stores the... Read More
If you feel intimidated when someone tries to teach you... Read More
The purpose of one of our projects was MS Exchange... Read More
Microsoft CRM has built-in conversion tool, however you should probably... Read More
When reading an article where some term is used often,... Read More
Microsoft Business Solutions Great Plains is very popular ERP/MRP applications... Read More
Did you ever want to erase everything on your computer?... Read More
We would like first emphasize the change in the paradigm.... Read More
insured cleaning company Highland Park ..Microsoft Business Solutions Great Plains, former Great Plains Software Dynamics/eEnterprise... Read More
When my daughter was getting into AOL instant messaging (AIM)... Read More
It would be easy to think, like most people apparently... Read More
If you've been using MySQL database to store your important... Read More
Heard about the Quark "killer"?Adobe InDesign CS2. Will it really... Read More
Shareware has been fighting the stigma of being misunderstood for... Read More
Music downloads are off the charts! We're listening to digital... Read More
Microsoft has never released a service pack for Windows98 SE,... Read More
In our case ? we serve Microsoft Business Solutions ERP... Read More
In today's business world it's all but impossible to escape... Read More
eStore Advantage allows front-office applications to communicate with back-office business... Read More
If you are software developer or database administrator - we... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
Homeland security, airport security, Internet security ??" these days we???re... Read More
Document Manager and Version HistoryIn previous articles I have discussed... Read More
Learning how to program software seems like a daunting task... Read More
Hi, Guys,I believe a lot of programmers are trying to... Read More
All your software is stored on a hard-drive. But how... Read More
MicroWorld Technologies, Inc. the leading solutions provider in the area... Read More
Microsoft Great Plains has full-featured Manufacturing suite of modules: Capacity... Read More
Have you noticed WordPerfect is gearing up for a comeback... Read More
IBM Lotus Notes with Domino email server is traditional document... Read More
The US House of Representatives has recently passed the "Spy... Read More
Today's business world is fast-paced. No matter what it is... Read More
Microsoft Business Solutions Great Plains, former Great Plains Software Dynamics... Read More
Software |