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.
scheduled maid service Northbrook ..What is installation in the language of technology? Installation... Read More
Does Microsoft care for WebmastersIt's always been a problem with... Read More
Document Management or Enterprise Information Management is perhaps one of... Read More
The Internet is reshaping every form of communications medium, and... Read More
Follow the steps below to quickly design, generate, and deploy... Read More
ERP Consulting industry is on the way to serve clients... Read More
The purpose of one of our projects was MS Exchange... Read More
Music downloads are off the charts! We're listening to digital... Read More
Now there are Three Steps To Heaven Just listen and... Read More
This article is for advanced Microsoft CRM SDK C# developers.... Read More
Microsoft Business Solutions Great Plains and MS CRM (client relation... Read More
Since Version 8.0 Microsoft Business Solutions Great Plains & Great... Read More
Most people understand that the "hardware" part of their computer... Read More
Microsoft Great Plains is main Microsoft Business Solutions accounting package... Read More
Program Flow is what you think it is. How the... Read More
C++ Function templates are those functions which can handle different... Read More
The stakes are high when considering security, privacy, and savings,... Read More
When you visit department stores and see that majority of... Read More
Looks like Microsoft Great Plains becomes more... Read More
Let us give you - developer some hints in the... Read More
Spyware, what it is and what it does. Basically, spyware... Read More
Words we choose to describe things and phenomena often show... Read More
Ad-Aware and Spybot are probably the two most well known... Read More
Healthcare facilities such as clinics, hospitals, and biomedical laboratories can... Read More
Research bears that less than 70 percent of development projects... Read More
reliable maid service Highland Park ..When Great Plains Software introduced the first graphical accounting application... Read More
Sticky Noteshttp://www.deprice.com/stickynote.htmWith StickyNote 9.0, you can create beautiful 3D notes... Read More
Microsoft Great Plains is main mid-market application from Microsoft Business... Read More
GroupwareThe internet is full of 1.5 million to 7 million... Read More
This article is the first of a series of articles... Read More
(1) Avoid using the same variable again and again for... Read More
Our hosted solution allow you to run your own search... Read More
As we could imagine, if you are reading this article... Read More
Microsoft Business Solutions CRM and IBM Lotus Notes Domino, being... Read More
As seeing large number of implementations ? in our case... Read More
In this small article we will show you the possible... Read More
People often ask me: What image file formats will Photoshop... Read More
In a previous article, I wrote about OpenOffice... Read More
Microsoft CRM customization techniques are very diversified and based on... Read More
Microsoft Great Plains fits to majority of horizontals and retail... Read More
Spyware is software or hardware installed on a computer without... Read More
Microsoft Business Solutions Great Plains has several options to enable... Read More
ERP is the acronym of Enterprise Resource Planning. Multi-module ERP... Read More
Microsoft Great Plains could be tuned and setup to fit... Read More
We were recently faced with a decision: either to let... Read More
This article will not attempt to advocate the use of... Read More
As you probably know, when Microsoft purchased Great Plains Software... Read More
There are two approaches for application integration:? Programmer's approach ?... Read More
1. What determines the software price? Is it Per Seat... Read More
Although statistics often is blamed for various deadly sins --... Read More
Software |