Pages

Monday, June 10, 2013

PPP Of CHAP Authentication

Server

Router>enable
Router#configure terminal
Router(config)#hostname R1
R1(config)#interface serial 1/0
R1(config-if)#encapsulation ppp
R1(config-if)#ppp authentication pap


R1(config-if)#ip address 200.200.200.2 255.255.255.252
R1(config-if)#clock rate 64000
R1(config)#exit
R1#configure terminal
R1(config)#username R2 password 123
R1(config)#interface serial 1/0
R1(config-if)#ppp authentication chap
R1(config-if)#do ping 200.200.200.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 200.200.200.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 5/6/9 ms

R1(config-if)#do write me

Client

Router(config)#interface serial 1/0
Router(config-if)#ip address 200.200.200.2 255.255.255.252
Router(config)#hostname R2
R1(config)#enable secret 123
R1(config)#username R1 password 123
R1(config)#interface serial 1/0
R1(config-if)#ppp authentication chap
R1(config-if)#do write me


Like and Share

No comments:

Post a Comment

Thanks