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.
licensed cleaning services Park Ridge ..Microsoft Business Solutions Great Plains might be considered as ERP... Read More
Features Additionally, Vista will include many other new features.Aero Vista... Read More
Disclaimer: All the thoughts expressed are my views only! Your... Read More
When my daughter was getting into AOL instant messaging (AIM)... Read More
You turn on your computer, and it doesn't look quite... Read More
.Net Framework is a platform or development environment to seamlessly... Read More
There is many things more frustrating than surfing a website... Read More
Following tips help you to learn a software in lesser... Read More
To all web designers out there, this article is for... Read More
Crystal Reports is the most flexible tool on the market... Read More
An integral part of any quality CRM system is lead... Read More
Rapid Application Development (RAD) is a software development methodology. In... Read More
If you use Microsoft Outlook (or similar applications) for e-mailing,... Read More
Customer Relationship Management or CRM is a combination of enterprise... Read More
Whether you are an experienced web programmer or a complete... Read More
Running Applications in Compatibility Mode With Windows XP, you can... Read More
Today's business world is fast-paced. No matter what it is... Read More
As of now - Great Plains Dynamics/eEnterprise is transformed/renamed into... Read More
Buying accounting software is a major investment. It's an important... Read More
If you copy something from a Web site or elsewhere...... Read More
Microsoft Business Solutions CRM is web-based CRM application, deploying all... Read More
Now there are Three Steps To Heaven Just listen and... Read More
Microsoft Great Plains might be considered as ERP platform to... Read More
Microsoft Great Plains is main mid-market application from Microsoft Business... Read More
Traditionally we were considering functionally rich systems, such as SAP,... Read More
on demand house cleaning Arlington Heights ..Great Plains Purchase Order Processing (POP) module makes up one-third... Read More
Document Manager and Version HistoryIn previous articles I have discussed... Read More
After seeing many people complain about their weak Internet security... Read More
Some introduction into Great Plains Software products, now Microsoft Business... Read More
ERP (Enterprise Resource Planning) Overview covers What is ERP, Brief... Read More
C/SIDE (Client/Server Integrated Development Environment) - The core of... Read More
SyncUp, a file synchronizer is designed to assist the home... Read More
Disclaimer: All the thoughts expressed are my views only! Your... Read More
Microsoft Business Solutions ? Great Plains is designed to meet... Read More
Now there are Three Steps To Heaven Just listen and... Read More
IntroductionDuring the early years of our modern computer era, very... Read More
Microsoft Business Solutions Great Plains version 8.5, 8.0, 7.5, Great... Read More
Are Spreadsheets Robbing your Enterprise of Competitive Advantage?'90% of "average"... Read More
The purpose of one of our projects was MS Exchange... Read More
What is Interactive Mapping?Interactive mapping is a visual display medium... Read More
Today's business world is fast-paced. No matter what it is... Read More
If you are in the market for new staffing software,... Read More
With this small article we are continuing Microsoft Business Solutions... Read More
When Windows fails to boot it is normally caused by... Read More
Microsoft Business Solutions Great Plains, former Great Plains Software eEnterprise,... Read More
Microsoft Business Solutions Great Plains serves multiple industries in the... Read More
GroupwareEfforts are continually made to manage the unavoidable ad hoc... Read More
After almost two decades of existence, Quark has become the... Read More
Looks like Microsoft Great Plains becomes more and more popular,... Read More
Beginning with Domino version R4 it has integration with the... Read More
Software |