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.
cleaning lady near Morton Grove ...Sales are all about leverage, because there is only so... Read More
When Great Plains Software was designing and developing Great Plains... Read More
Great Plains Fixed Assets Management module is a robust tool... Read More
Looks like Microsoft Great Plains becomes more... Read More
Preventive Maintenance (PM) is defined as scheduled work done on... Read More
Upgrading. Downtime. Maintenance. Hardware obsolescence. Implementation issues. The litany of... Read More
For those who still don't know, Microsoft Publisher helps computer... Read More
Microsoft Business Solutions Great Plains is very good fit for... Read More
Professional services firm cuts costs and improves productivity with integrated... Read More
In our case ? we serve Microsoft Business Solutions ERP... Read More
Once a business idea is selected, it is highly recommended... Read More
Logistics automation is often considered as barcoding extension to Sales... Read More
Microsoft Great Plains may be recommended for international freight forwarding... Read More
Before being able to choose a secure Internet communication system,... Read More
A few months back I really got sick of my... Read More
In this small article we will show you the possible... Read More
Microsoft Business Solutions Great Plains and MS CRM (client relation... Read More
IBM Lotus Notes Domino and Microsoft CRM (Client Relation Management)... Read More
I love new technology. I am still ready to wait... Read More
Since technology changes so quickly, it is hard to begin... Read More
Language development computer: Computer-based method for aiding language development seems... Read More
Creating a new markup language.Introduction.General Reuse Markup Langauge, or GRML,... Read More
Microsoft Great Plains as ERP and Microsoft CRM as... Read More
Accounts payable is just one area of office management where... Read More
Lotus Notes Domino is very efficient in electronic document workflow... Read More
same day cleaning service Lincolnshire ...Microsoft Business Solutions Great Plains is written in Great Plains... Read More
Costs of fleet maintenance software can vary widely. It is... Read More
The Software 2005 conference is now a wrap. This conference,... Read More
Although statistics often is blamed for various deadly sins --... Read More
Configuring PPP PAP AuthenticationNow we know how the ISDN link... Read More
Great Plains Integration Manager scripting and translation - overview for... Read More
Microsoft Business Solutions CRM is present several years on the... Read More
This short paper will expand on two key reasons to... Read More
Microsoft Office program is a programming tool called Visual Basic... Read More
I suggest that you do not spend a lot of... Read More
Well, even if the combination might look very unusual, we... Read More
Logistics automation is often considered as barcoding extension to Sales... Read More
This article illustrates the best practices to improve the performance... Read More
The vast majority of us will have, at some point,... Read More
2005 ? Back to the Future.What does the future hold?... Read More
Not every software testing project can or should be automated.... Read More
The objective for Zandi Digital is to make available clever... Read More
When it comes to screenplay software each screenwriter needs to... Read More
It would be easy to think, like most people apparently... Read More
Program Flow is what you think it is. How the... Read More
Microsoft CRM is relatively new player on the now becoming... Read More
Every day millions of new web documents emerge on the... Read More
Make-or-Break Factors in Success and ProfitabilityFor quick printers, estimating can... Read More
Microsoft Great Plains has full-featured Manufacturing suite of modules: Capacity... Read More
1. Replace Dexterity cursor with SQL Stored Procedure Dexterity... Read More
Software |