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.
Chicago charter limousine Downtown (LOOP) ..Microsoft-Outlook is a pretty amazing program. So much more than... Read More
Accounts payable is just one area of office management where... Read More
Great Plains Software Dynamics, Dynamics C/S+, eEnterprise were written on... Read More
Just stress testing one of the latest Linux distributions. Been... Read More
Configuring PPP PAP AuthenticationNow we know how the ISDN link... Read More
Are you a database professional? Do you work with a... Read More
Microsoft CRM is CRM answer from Microsoft Business Solutions. If... Read More
Every organization which creates collaborative documents, whether they are budgets,... Read More
Midsize business or non-profit organization should decide if one-vendor solution... Read More
We all already got used to computer monitoring both at... Read More
Today's business world is fast-paced. No matter what it is... Read More
If you company is small or mid-size special products or... Read More
If you are in the market for new staffing software,... Read More
Once a business idea is selected, it is highly recommended... Read More
Navision Software was purchased by Microsoft and now it is... Read More
With this small article we are continuing Microsoft Business Solutions... Read More
I've been active in the Cisco Certification track for four... Read More
I provide, here clear explanations and a count of function... Read More
Customer Relationship Management, abbreviated "CRM," is the term for a... Read More
We will base our prognosis on our Microsoft Business Solutions... Read More
Cyberspace has opened up a new frontier with exciting possibilities... Read More
If you copy something from a Web site or elsewhere...... Read More
Microsoft CRM has built-in conversion tool, however you should probably... Read More
The Windows registry is a huge database that ensures normal... Read More
This article is the third of a series of articles... Read More
travel from Midway Detroit ..Looks like Microsoft Great Plains becomes more and more popular,... Read More
Document Management or Enterprise Information Management is perhaps one of... Read More
Microsoft Business Solutions Great Plains serves multiple industries in the... Read More
Customer Relationship Management, abbreviated "CRM," is the term for a... Read More
I like my software simple. If it's too complex or... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
Let us give you - developer some hints in the... Read More
In the early days of the personal computer, we're talking... Read More
Microsoft Great Plains serves majority of US based horizontal and... Read More
Now is the time to look at an alternative to... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
With many manufacturing shops heading over seas in favor of... Read More
Three highly respected names in Human Resources have joined forces... Read More
IBM Lotus Domino or Microsoft Exchange?The severe competition continues for... Read More
Enabling Chinese input is quick and easy, there are only... Read More
Microsoft Business Solutions CRM is present several years on the... Read More
SOFTWARE PIRACY We regularly hear reports... Read More
Just stress testing one of the latest Linux distributions. Been... Read More
In part III of this ISDN primer, we learned that... Read More
CD and DVD replication is a process that works by... Read More
Microsoft CRM and IBM Lotus Notes Domino seem to be... Read More
Healthcare facilities such as clinics, hospitals, and biomedical laboratories can... Read More
Microsoft Business Solutions Great Plains, former Great Plains Software Dynamics... Read More
Our opinion is based on our Microsoft Business Solutions Great... Read More
As seeing large number of implementations ? in our case... Read More
Software |