Comments
www.uw713doc.sco.com/en/NET_config/pppD.PPPconfig.html
Posted by crouse
www.uw713doc.sco.com/en/NET_config/pppD.PPPconfig.html
Posted by crouse
Configuring authentication is a four step process:
1. Configure your hostname.
2. Configure the username and password list for other routers to authenticate to your router.
3. Enable PPP encapsulation.
4. Enable PAP or CHAP authentication.
The hostname takes on a special significance with PPP as it is used as the username to authenticate to another router. For example, two routers named Sleepy and Bashful. For Sleepy, its hostname is used as the username to authenticate to Bashful. For Bashful, its hostname is used as the username to authenticate to Sleepy. Use the hostname command to configure the hostname on each router:
Sleepy: Router(config)#hostname Sleepy
Bashful: Router(config)#hostname Bashful
Next, configure the username and password for other routers to authenticate to you. For the Sleepy router, you will need to configure a username and password for the Bashful router to authenticate to it. Likewise, you will need to configure a username and password for the Sleepy router to authenticate to the Bashful router. Both routers must use the same password. Use the global configuration username command to configure your username and password. The syntax for this command is
username name password password
For example, Sleepy: Sleepy(config)#username Bashful password ExamCram2
Bashful: Bashful(config)#username Sleepy password ExamCram2
The third step in configuring PPP is to enable PPP encapsulation on the interface using the encapsulation command. For example, to configure PPP encapsulation on the Serial 0 interface, type the following:
Sleepy(config)#interface serial 0
Sleepy(config-if)#encapsulation ppp
Finally, you will need to configure your authentication. The interface level command to do this is ppp authentication [chap | chap pap | pap]
If you choose the chap pap option, it will try CHAP authentication first, and if that fails, it will try PAP. Newer IOS versions (12.3 and 12.4) will also support EAP, MS-Chap, and MS-Chap version 2. Following is the final configuration for the two routers using CHAP authentication:
Sleepy:
Router(config)#hostname Sleepy
Sleepy(config)#username Bashful password ExamCram2
Sleepy(config)#interface serial0
Sleepy(config-if)#encapsulation ppp
Sleepy(config-if)#ppp authentication chap
Bashful:
Router(config)#hostname Bashful
Bashful(config)#username Sleepy password ExamCram2
Bashful(config)#interface serial0
Bashful(config-if)#encapsulation ppp
Bashful(config-if)#ppp authentication chap
Posted by campbell123
Please visit:
www.uw713doc.sco.com/en/NET_config/pppD.PPPconfig.html
Posted by sagitraz