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.
professional maid services Northbrook ...There are two approaches for application integration:? Programmer's approach ?... Read More
Since its release in 1987, QuarkXpress had made an immediate... Read More
IntroductionPHP can be used for a lot of different things,... Read More
Microsoft Business Solutions Great Plains was designed back in the... Read More
... Read More
Not every software testing project can or should be automated.... Read More
What is Interactive Mapping?Interactive mapping is a visual display medium... Read More
Looks like Microsoft Great Plains becomes more and more popular,... Read More
What is a Web Database?A web database is a database... Read More
Internet worms. Is your PC infected?If your computer has become... Read More
Designing without tables by using CSS layouts is fast becoming... Read More
The purpose of one of our projects was MS Exchange... Read More
IntroductionDuring the early years of our modern computer era, very... Read More
Lotus Domino/Notes ? Microsoft Great Plains tandem as ERP with... Read More
Writing software manuals is boring, isn't it? We often think:... Read More
Microsoft Business Solutions CRM and IBM Lotus Notes Domino, being... Read More
The stakes are high when considering security, privacy, and savings,... Read More
Microsoft Great Plains is one of three Microsoft Business Solutions... Read More
When making a decision to buy any piece of software... Read More
Heard about the Quark "killer"?Adobe InDesign CS2. Will it really... Read More
Introduction: The creating of a computer program involves a number... Read More
Microsoft CRM is CRM answer from Microsoft Business Solutions. If... Read More
Now that spyware is the single most dangerous threat to... Read More
A LOT OF UNWANTED FILES.When you uninstall an item of... Read More
Around the same time Microsoft made its move with .Net... Read More
express cleaning service Glencoe ...If there still are few unprotected computers left, I haven't... Read More
This article is the first of a series of articles... Read More
Creating a new markup language.Introduction.General Reuse Markup Langauge, or GRML,... Read More
Microsoft Retail Management System serves retail single store as well... Read More
This article will not attempt to advocate the use of... Read More
Former Great Plains Software Dynamics/eEnterprise and currently Microsoft Business Solutions... Read More
Simply put, fleet maintenance allows companies to monitor and maintain... Read More
Handling character strings in Java is supported through two final... Read More
When you think... Read More
When you visit department stores and see that majority of... Read More
Vince Lombardi once said that, "The achievements of an organization... Read More
Icons are used everywhere; right from software applications, to internet... Read More
If you are in the market for new staffing software,... Read More
Microsoft CRM is new player on the CRM software... Read More
Document Manager and Version HistoryIn previous articles I have discussed... 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
Did you ever give a thought to the number of... Read More
Security flaws have long plagued Internet Explorer (IE), the market-dominating... Read More
What is installation in the language of technology? Installation... Read More
The Software 2005 conference is now a wrap. This conference,... Read More
Learning how to program software seems like a daunting task... Read More
Healthcare facilities such as clinics, hospitals, and biomedical laboratories can... Read More
Current Microsoft Business Solutions Great Plains has more that 10... Read More
Microsoft Great Plains fits to majority of industries, in the... Read More
Software |