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.
best cleaning company Highland Park ..2005 ? Back to the Future.What does the future hold?... Read More
IBM Lotus Domino or Microsoft Exchange?The severe competition continues for... Read More
In order to implement VLANs in a network environment, you'll... Read More
Document Manager and Version HistoryIn previous articles I have discussed... Read More
First we had the original Google search that evolved into... Read More
Fleet Maintenance Management is a critical position in any company... Read More
Microsoft Business Solutions Great Plains has substantial market share among... Read More
Fortunately one of the most common reasons cited for the... Read More
Microsoft Business Solutions Great Plains is very popular ERP platform... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
Microsoft Business Solutions is emerging as very attractive vendor for... Read More
Is your PC is slow and wimpy? Then you need... Read More
If someone entered your home, uninvited and installed numerous cameras... Read More
A UNIX Shell is in simplest terms, a command line... Read More
Microsoft Business Solutions Small Business Manager is Great Plains Dexterity... Read More
Microsoft Business Solutions Great Plains is written in Great Plains... Read More
Great Plains Inventory Management (IV) module gives your business a... Read More
Microsoft CRM ? Client Relationship Management package from Microsoft Business... Read More
The purpose of Project Management Software is to provide an... Read More
Hi, Guys,I believe a lot of programmers are trying to... Read More
Anyone who has ever used Microsoft Word knows that it... Read More
Microsoft Great Plains is one of the Microsoft Business Solutions... Read More
Microsoft Great Plains, designed back in 1990th as database transferable... Read More
We all already got used to computer monitoring both at... Read More
FTP stands for "file transfer protocol". FTP is basically a... Read More
high-end home cleaning Winnetka ..Using professional icons in your application or website can bring... Read More
It won't matter how effective your WinRunner Team is if... Read More
There are so many different programs that clutter up your... Read More
There is many things more frustrating than surfing a website... Read More
We'll give you non formal view, based on our consulting... Read More
Anyone who has ever used Microsoft Word knows that it... Read More
The purpose of Project Management Software is to provide an... Read More
Now is the time to look at an alternative to... Read More
While several preventive maintenance software manufacturers offer free trials for... Read More
Buying accounting software is a major investment. It's an important... Read More
We live in a post-industrial age where information is the... Read More
We will base our prognosis on our Microsoft Business Solutions... Read More
Microsoft Office program is a programming tool called Visual Basic... Read More
If you have been using the Internet for any amount... Read More
Manufacturing in the USA is far away down from mid... Read More
The fact that a software tester is a most infamous... Read More
C/SIDE (Client/Server Integrated Development Environment) - The core of... Read More
Have you noticed WordPerfect is gearing up for a comeback... Read More
The first topic we are going to discuss... Read More
Microsoft CRM customization techniques are very diversified and based on... Read More
Sticky Noteshttp://www.deprice.com/stickynote.htmWith StickyNote 9.0, you can create beautiful 3D notes... Read More
In this article you will find some background information about... Read More
If you use Microsoft Outlook (or similar applications) for e-mailing,... Read More
Before September 1995, Microsoft Windows was an MS-DOS program. DOS... Read More
IBM Lotus Notes with Domino email server is traditional document... Read More
Software |