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.
best cleaning company Highland Park ..This article is for advanced Microsoft CRM SDK C# developers.... Read More
Microsoft Business Solutions Great Plains has substantial market share among... Read More
You probably didn't casually invite, or extend a formal attendance... Read More
In this short FAQ style article we would like to... Read More
It's not very often I get excited about a software... Read More
Microsoft CRM ? Client Relationship Management package from Microsoft Business... Read More
Background: For many organizations like ours, the interim target of... Read More
Microsoft Word is one of the most popular office applications... Read More
What is Groupware?Have you ever had to manage document collaboration... Read More
Microsoft Business Solutions CRM data conversion deserves FAQ type of... Read More
Microsoft Great Plains as ERP and Microsoft CRM as... Read More
It's all about turn times in the eMedia industry! The... Read More
Shareware has been fighting the stigma of being misunderstood for... Read More
Our hosted solution allow you to run your own search... Read More
Microsoft PowerPoint has dramatically changed the way in which academic... Read More
We don't think about mainframe software pricing anymore, we just... Read More
Handling character strings in Java is supported through two final... Read More
Great Plains Integration Manager scripting and translation - overview for... Read More
You've finally created databases that you can actually use to... Read More
While paper labeling CDs and DVDs may appear to be... Read More
What is Software?Software is a set of instruction written to... Read More
Corporate ERP/MRP selection might be tough one, especially considering very... Read More
The software giants don't do everything and don't always produce... Read More
Are you ready? SQL Server 2005, the next-generation data management... Read More
Some companies that are in need of fleet management may... Read More
high-end home cleaning Winnetka ..Java has come along a long way. Many would agree... Read More
This article is the first of a series of articles... Read More
The intentions of this short tutorial are not to teach... Read More
The first thing that you will notice about Linux Red... Read More
We all take the computer for granted. I mean, all... Read More
When you need a phone number, you do a quick... Read More
Logistics automation is often considered as barcoding extension to Sales... Read More
Great Plains Fixed Assets Management module is a robust tool... Read More
You would like to protect your documents, wouldn't you? Reasons... Read More
Microsoft Great Plains ? ERM from Microsoft Business Solutions and... Read More
Microsoft Business Solutions Great Plains serves multiple industries in the... Read More
When it comes to screenplay software each screenwriter needs to... Read More
Does Microsoft Have any Real Competition? Copyright (c) 2003 Gregory... Read More
Microsoft bought Navision, Denmark based software development company, along with... Read More
C/SIDE (Client/Server Integrated Development Environment) - The core of... Read More
SAP Inc., a global leader in client/server enterprise application software... Read More
You've finally created databases that you can actually use to... Read More
According to a survey conducted by InfoTrends/CAP Ventures entitled "Content-Centric... Read More
Microsoft Retail Management System serves retail single store as well... Read More
Sometimes your PC will start acting strange for no apparent... Read More
This is the tutorial where we really get into programming.... Read More
RSS (Really Simple Syndication) is a way for a site... Read More
When my daughter was getting into AOL instant messaging (AIM)... Read More
Every organization which creates collaborative documents, whether they are budgets,... Read More
I provide, here clear explanations and a count of function... Read More
Software |