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.
limousine chicago serviceIf there still are few unprotected computers left, I haven't... Read More
Microsoft CRM was designed to be easily customizable. Microsoft CRM... Read More
With thousands of web pages added to the Net every... Read More
Microsoft CRM is now on the scene and it is... Read More
Usually workflow & messaging is realized in CRM and then... Read More
In the new era of internet marketing the problem of... Read More
The first topic we are going to discuss... Read More
In this article you will find some background information about... Read More
Microsoft Business Solutions Great Plains has substantial market share among... Read More
This article will not attempt to advocate the use of... Read More
Passwords protect your most sensitive personal, financial and business information.... Read More
What is Spyware?Spyware monitors your surfing habits and sends the... Read More
Microsoft bought Navision, Denmark based software development company, along with... Read More
Microsoft Great Plains and Microsoft Retail Management System (Microsoft RMS)... Read More
IBM Lotus Notes with Domino email server is traditional document... Read More
Background: For many organizations like ours, the interim target of... Read More
While paper labeling CDs and DVDs may appear to be... Read More
Microsoft Business Solutions Great Plains serves multiple industries in the... Read More
Microsoft Great Plains serves the wide spectrum of horizontal markets.... Read More
Several software companies design programs for preventive maintenance. Most of... Read More
Microsoft Great Plains, Navision, Solomon and Axapta are Microsoft Business... Read More
... Read More
TCO (Total Cost Ownership) is the buzzword in... Read More
If you have Microsoft Great Plains and support it... Read More
Anyone who has ever used Microsoft Word knows that it... Read More
street light fittings sodium street lights Pete's produce ..Microsoft Business Solutions Great Plains has many years of successful... Read More
Microsoft has never released a service pack for Windows98 SE,... Read More
Well, even if the combination might look very unusual, we... Read More
Combining Microsoft Business Solutions Great Plains ERP with non-Microsoft Business... Read More
Following tips help you to learn a software in lesser... Read More
Microsoft Great Plains is main Microsoft Business Solutions accounting package... Read More
And kill the best layout software in the process of... Read More
Sticky Noteshttp://www.deprice.com/stickynote.htmWith StickyNote 9.0, you can create beautiful 3D notes... Read More
An integral part of any quality CRM system is lead... Read More
Before September 1995, Microsoft Windows was an MS-DOS program. DOS... Read More
ERP Consulting industry is on the way to serve clients... Read More
It's not very often I get excited about a software... Read More
Microsoft CRM was designed to be easily customizable. Microsoft CRM... Read More
Corporate ERP/MRP selection might be tough one, especially considering very... Read More
This article is the fourth of a series of articles... Read More
In our opinion, traditional approach when you select ERP/MRP system... Read More
Most people don't use Photoshop to its fullest capabilities. Here... Read More
When Great Plains Software introduced the first graphical accounting application... Read More
Microsoft Business Solutions is emerging as very attractive vendor for... Read More
Microsoft Business Solutions Great Plains has substantial market share and... Read More
Microsoft Business Solutions ? Great Plains is designed to meet... Read More
Writing software manuals is boring, isn't it? We often think:... Read More
User interfaces and accessibility are some of the most important... Read More
1. With mapping software you can create a report that... Read More
When you visit department stores and see that majority of... Read More
Software Software |