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.
tidy up service Glenview ..While Ukraine is becoming a new popular IT outsourcing destination,... Read More
Not all of us have the luxury of working both... Read More
The most important things you can do for your computer... Read More
Microsoft CRM is new player on the CRM software... Read More
Although statistics often is blamed for various deadly sins --... Read More
In part III of this ISDN primer, we learned that... Read More
What is installation in the language of technology? Installation... Read More
In order to implement VLANs in a network environment, you'll... Read More
IBM Lotus Notes Domino and Microsoft CRM (Client Relation Management)... Read More
Microsoft Business Solutions Great Plains has Project Accounting module where... Read More
All your software is stored on a hard-drive. But how... Read More
As seeing large number of implementations ? in our case... Read More
eStore Advantage allows front-office applications to communicate with back-office business... Read More
At the end of XX century, in the late 1990th... Read More
And kill the best layout software in the process of... Read More
Just the thought of a duel-boot scares many people away,... Read More
While several preventive maintenance software manufacturers offer free trials for... Read More
How many steps does it take you to locate and... Read More
What is Interactive Mapping?Interactive mapping is a visual display medium... Read More
The intentions of this short tutorial are not to teach... Read More
If you company is small or mid-size special products or... Read More
Manufacturing in the USA is far away down from mid... Read More
Scrapbooks are very popular these days. I think that almost... Read More
So, you've bought a new Macintosh, and now you may... Read More
Stop the Runaway MouseWhat's the "runaway mouse?" You've seen it...you... Read More
full-service cleaning Mundelein ..With the advent of 'Service Pack 2' for Windows XP... Read More
In order to implement VLANs in a network environment, you'll... Read More
Upgrading. Downtime. Maintenance. Hardware obsolescence. Implementation issues. The litany of... Read More
Traditionally we were considering functionally rich systems, such as SAP,... Read More
With thousands of web pages added to the Net every... Read More
Once a business idea is selected, it is highly recommended... Read More
Before September 1995, Microsoft Windows was an MS-DOS program. DOS... Read More
Microsoft CRM and IBM Lotus Notes Domino seem to be... Read More
For a long time now Microsoft's Internet Explorer has ruled... Read More
When making a decision to buy any piece of software... Read More
Looks like Microsoft Great Plains becomes more and more popular,... Read More
Heard about the Quark "killer"?Adobe InDesign CS2. Will it really... Read More
Anyone who has ever used Microsoft Word knows that it... Read More
The COSMIC FP (function point) software quality metric, is no... Read More
1. Replace Dexterity cursor with SQL Stored Procedure Dexterity... Read More
TikiWiki is open source software - it is written in... Read More
Microsoft Great Plains, Navision, Solomon and Axapta are Microsoft Business... Read More
Microsoft CRM is relatively new player on the now becoming... Read More
ERP (Enterprise Resource Planning) Overview covers What is ERP, Brief... Read More
Microsoft Great Plains has substantial mid-market share in the USA... Read More
I have recently created my first Php program. I wanted... Read More
Rapid Application Development (RAD) is a software development methodology. In... Read More
GroupwareEfforts are continually made to manage the unavoidable ad hoc... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
It could just be me, but my experiences with document... Read More
Software |