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.
limo prices to midway Crystal Lake west of Randal .. Lockport Chicago limo O’HareMicrosoft Retail Management (RMS) and Microsoft Great Plains are retail... Read More
Does Microsoft care for WebmastersIt's always been a problem with... Read More
Microsoft CRM is CRM answer from Microsoft Business Solutions.The whole... Read More
1. With mapping software you can create a report that... Read More
I like my software simple. If it's too complex or... Read More
Microsoft Great Plains, former Great Plains Software Dynamics, eEnterprise has... Read More
1. What determines the software price? Is it Per Seat... Read More
Whether you are a small consultancy firm, a medium sized... Read More
The Internet is reshaping every form of communications medium, and... Read More
With the advent of 'Service Pack 2' for Windows XP... Read More
I completed an experiment recently. I wanted to find out... Read More
Microsoft Business Solutions Great Plains has many years of successful... Read More
You would like to protect your documents, wouldn't you? Reasons... Read More
Microsoft Business Solutions ? Navision is an integrated solution for... Read More
Now that spyware is the single most dangerous threat to... Read More
New post-recession era has new features, which didn't exist in... Read More
Microsoft Great Plains as ERP and Microsoft CRM as... Read More
Professional services firm cuts costs and improves productivity with integrated... Read More
When you visit department stores and see that majority of... Read More
It's all about turn times in the eMedia industry! The... Read More
What is Spyware?Spyware monitors your surfing habits and sends the... Read More
Some companies that are in need of fleet management may... Read More
Combining Microsoft Business Solutions Great Plains ERP with non-Microsoft Business... Read More
Looks like Microsoft Great Plains becomes more and more popular,... Read More
Software development is a risky business.Many software developers are barely... Read More
taxi o'hare Auburn ..Crystal Reports is the most flexible tool on the market... Read More
As seeing large number of implementations ? in our case... Read More
You might think you don't need a firewall... Read More
This article is the first of a series of articles... Read More
Siebel is traditional CRM market leader, however and mostly due... Read More
Software development is a risky business.Many software developers are barely... Read More
It is possible that if one avoided all sources of... Read More
Microsoft CRM is new player on the CRM software... Read More
Microsoft Outlook is one of the most widely used software... Read More
Linux essentials:It's free for download but you have to pay... Read More
Microsoft Great Plains, designed back in 1990th as database transferable... Read More
Microsoft Great Plains fits to majority of horizontals and retail... Read More
It could just be me, but my experiences with document... Read More
Microsoft Business Solutions Great Plains serves to the wide spectrum... Read More
Are you lost in the mess of documents that get... Read More
It is really interesting that a bug can create problem... Read More
GroupwareThe internet is full of 1.5 million to 7 million... Read More
To all web designers out there, this article is for... Read More
Just when you thought you were Web savvy, one more... Read More
Most people understand that the "hardware" part of their computer... Read More
Microsoft Business Solutions Great Plains has several options to enable... Read More
This short paper will expand on two key reasons to... Read More
With so many Microsoft Windows related viruses, errors, and other... Read More
Following tips help you to learn a software in lesser... Read More
When Great Plains Software was designing and developing Great Plains... Read More
Software |