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 chris@thebryantadvantage.com.
If you have been using the Internet for any amount... Read More
Fortunately one of the most common reasons cited for the... Read More
The first thing that you will notice about Linux Red... Read More
If you're online using a dialup Internet connection, you'll probably... Read More
Which Type of Shop Can Rely On A Home Built... Read More
Microsoft Business Solutions Great Plains has I'd say end user... Read More
Are Spreadsheets Robbing your Enterprise of Competitive Advantage?'90% of "average"... Read More
Microsoft Business Solutions Great Plains has substantial market share and... Read More
Pirated software is on the increase and now accounts for... Read More
Microsoft Business Solutions Small Business Manager is Great Plains Dexterity... Read More
Microsoft Business Solutions Great Plains is mid and even corporate... Read More
In this article you will find some background information about... Read More
The java programming language is becoming more and more popular... Read More
Our opinion is based on our Microsoft Business Solutions Great... Read More
IBM Lotus Notes Domino and Microsoft CRM (Client Relation Management)... Read More
We would like to give you several situations, when you... Read More
Accounts payable is just one area of office management where... Read More
Innovative Maintenance Systems (IMS) is one company that offers solutions... Read More
Let's say that you have a software project that's under... Read More
Microsoft Business Solutions Great Plains might be considered as ERP... Read More
Software development is a risky business.Many software developers are barely... Read More
Is your PC is slow and wimpy? Then you need... Read More
With the advent of 'Service Pack 2' for Windows XP... Read More
GroupwareThe internet is full of 1.5 million to 7 million... Read More
Anti-virus software is used to find, remove or fix files... Read More
So let's begin crunching down these 300 images using Adobe... Read More
While several preventive maintenance software manufacturers offer free trials for... Read More
What is Groupware?Have you ever had to manage document collaboration... Read More
ERP is the acronym of Enterprise Resource Planning. Multi-module ERP... Read More
Although statistics often is blamed for various deadly sins --... Read More
Every organization which creates collaborative documents, whether they are budgets,... Read More
The cornerstone of successful automated office systems is the ability... Read More
Heard about the Quark "killer"?Adobe InDesign CS2. Will it really... Read More
I like my software simple. If it's too complex or... Read More
Itâ??s easy to understand why you might be drawn to... Read More
The destruction of the Soviet Union about 15 years ago,... Read More
This is the tutorial where we really get into programming.... Read More
Whether you are an experienced web programmer or a complete... Read More
Spyware and malware are large problems for Internet users today... Read More
The term "document management" and "paperless office" is the subject... Read More
We've all seen the ads on TV for Netzero 3G.... Read More
Background: For many organizations like ours, the interim target of... Read More
Microsoft Business Solutions Great Plains, Solomon, Navision, Axapta, Microsoft CRM... Read More
Siebel is traditional CRM market leader, however and mostly due... Read More
In this short FAQ style article we would like to... Read More
If your company has regional and worldwide operations, you might... Read More
Microsoft released Service Pack 2 (SP2) for the Windows XP... Read More
If you have Microsoft Great Plains as main accounting and... Read More
Microsoft Great Plains is one of the Microsoft Business Solutions... Read More
Looks like Microsoft Great Plains becomes more and more popular,... Read More
GroupwareEfforts are continually made to manage the unavoidable ad hoc... Read More
Whether you are a small consultancy firm, a medium sized... Read More
Does Microsoft care for WebmastersIt's always been a problem with... Read More
C++ Function templates are those functions which can handle different... Read More
Almost all new and major brand of PCs come with... Read More
Spyware and Adware infest over 90 percent of computers in... Read More
If you are software developer or database administrator - we... Read More
When Great Plains Software was designing and developing Great Plains... Read More
Ad-Aware and Spybot are probably the two most well known... Read More
I love new technology. I am still ready to wait... Read More
Your computer cost you from hundreds to thousands of dollars,... Read More
So, why should you use any O/R mapping tool? I... Read More
Microsoft Business Solutions Great Plains is very good fit for... Read More
In part III of this ISDN primer, we learned that... Read More
Microsoft Business Solutions CRM and IBM Lotus Notes Domino, being... Read More
Well, even if the combination might look very unusual, we... Read More
Software |