Configuring PPP PAP Authentication
Now we know how the ISDN link comes up (interesting traffic), and some scenarios that might cause the link to stay up, we need to look at ISDN authentication schemes. The two methods Cisco certification candidates must be familiar with are PAP and CHAP.
Password Authentication Protocol (PAP) sends the username and password over the ISDN link in clear-text. Sending any passwords over any WAN link in clear-text is generally a bad idea, but it???s important to know you have this option.
Regarding both PAP and CHAP, it???s a common misunderstanding that each side must authenticate the other. PAP and CHAP both support bidirectional and unidirectional authentication that is, R1 can authenticate R2 without R2 necessarily authenticating R1. It???s more common to use unidirectional authentication in a lab environment than a production network, but keep in mind that bidirectional authentication is an option, not a requirement.
The configurations of PAP and CHAP do have their similarities. For both, you???ll configure a username/password combination in global configuration mode. Newcomers to ISDN sometimes put the local router name in for the username remember that the remote router name is the username.
The only real advantage of PAP over CHAP comes in the password configuration. Since PAP actually sends the password as a whole over the link, the two routers can send different passwords during authentication. The operation of CHAP requires that both routers use the same password, and we???ll see why in tomorrow???s article.
Under the BRI interface, you???ll enter encapsulation ppp and ppp authentication pap. So far, your authentication scheme looks like this:
username R2 password CCNA
Int bri0
encapsulation ppp
ppp authentication pap
PAP requires an extra command at this point. The ppp pap sent-username command is required under the interface, indicating the username and password this router will be sending to the remote router.
Int bri0
encapsulation ppp
ppp authentication pap
ppp pap sent-username R1 password CISCO
I always encourage CCNA and CCNP candidates to use as many debugs as possible when working in their lab, since these commands show us how things work. For any PPP authentication, always run debug ppp negotiation before sending interesting traffic to trigger the call. Watching exactly how PAP and CHAP work give you a much better understanding of what???s going on ???behind the command???, and makes you a stronger candidate and a stronger networking engineer.
Tomorrow, we???ll take a look at CHAP, and why routers cannot use the same password on both ends of the link.
Keep studying!
About The Author:
Chris Bryant, CCIE (TM) #12933, has been active in the Cisco certification community for years. He worked his way up from the CCNA to the CCIE, and knows what CCNA and CCNP candidates need to know to be effective on the job and in the exam room.
He is the owner of http://www.thebryantadvantage.com, where he teaches CCNA and CCNP courses to small groups of exam candidates, ensuring they each receive the individual attention they deserve. Classes are offered over the Internet and in person in select cities. Chris has custom-written the Study Guide and Lab Workbook used in each course - no third-party training materials or simulators are used. You're invited to visit our site and check out our CCNA and CCNP Courses, Flash Card Books, and to sign up for our weekly newsletter written personally by Chris. Chris is always glad to hear from Cisco certification candidates at http://www.thebryantadvantage.com.
experienced cleaning professionals Northbrook ..Microsoft Business Solutions offers several ERP applications: Great Plains, Navision,... Read More
What is 'adware'?Adware is basically software or scripts that are... Read More
Stealing company information used to be the specialty of spies... Read More
Microsoft Great Plains has full-featured Manufacturing suite of modules: Capacity... Read More
Many Webmasters have never bothered to view their website's server... Read More
Microsoft Business Solutions Great Plains fits to majority of horizontal... Read More
There are certain pluses and minuses in both cases and... Read More
Spyware is like the new technological nuclear weapon on the... Read More
We live in a post-industrial age where information is the... Read More
Microsoft Business Solutions Great Plains is very popular ERP platform... Read More
First we had the original Google search that evolved into... Read More
Viruses and spyware usually show up on your computer one... Read More
Just imagine: you are walking, say, towards your car, and... Read More
Now is the time to look at an alternative to... Read More
While Adobe is the most known maker of PDF tools,... Read More
OEComplete is a utility for managing the personal information of... Read More
Microsoft Business Solutions CRM and IBM Lotus Notes Domino, being... Read More
IBM Lotus Domino or Microsoft Exchange?The severe competition continues for... Read More
We were recently faced with a decision: either to let... Read More
Microsoft Business Solutions is emerging as very attractive vendor for... Read More
TikiWiki is open source software - it is written in... Read More
What is Tripwire?Tripwire is a form intrusion detection system (IDS)... Read More
What is IRC?IRC is Internet Relay Chat. It is a... Read More
Microsoft Great Plains serves majority of US based horizontal and... Read More
Microsoft Business Solutions Navision serves both European and American megamarkets.... Read More
best value cleaning service Northbrook ..Imagine something that follows you home and sets itself up... Read More
Sometimes your PC will start acting strange for no apparent... Read More
If you would like to pick something from Microsoft, or... Read More
Language development computer: Computer-based method for aiding language development seems... Read More
Creating a new markup language.Introduction.General Reuse Markup Langauge, or GRML,... Read More
Microsoft Business Solutions ? Great Plains has captured the US... Read More
Siebel is traditional CRM market leader, however and mostly due... Read More
Former Great Plains Software Dynamics/eEnterprise and currently Microsoft Business Solutions... Read More
Microsoft Business Solutions Great Plains is very popular ERP platform... Read More
Software development is a risky business.Many software developers are barely... Read More
Trying to figure out a stream in banning one email... Read More
IntroductionPHP can be used for a lot of different things,... Read More
Bar charts, bar graphs, and any other chart or graph... Read More
Microsoft has never released a service pack for Windows98 SE,... Read More
Mapping Software Improves Data VisualizationFrom the outset, it is important... Read More
IntroductionSurprised, by the title? well, this is a tour of... Read More
Traditionally we were considering functionally rich systems, such as SAP,... Read More
According to a survey conducted by InfoTrends/CAP Ventures entitled "Content-Centric... Read More
One of the main reasons business owners and entrepreneurs use... Read More
Microsoft Business Solutions Great Plains is very good fit for... Read More
Here is some free software tools to help you build... Read More
Professional services firm cuts costs and improves productivity with integrated... Read More
It???s easy to understand why you might be drawn to... Read More
Case study: A secretary using Corel WordPerfect 7 is often... Read More
As we could imagine, if you are reading this article... Read More
| Software |