what is ppp protocol in cisco router
hello guys
Today i will tell you what is ppp?
A ppp is point to point protocol it is use in data link layer .
a ppp protocols have two type of authentication
1 pap
2 chap
PAP-password authentication protocol it is use for giving a password as a text it is not secure any
CHAP-Challenge handshake authentication protocol it is encrypted format and it is secure
EXAMPLE : PAP
r1(config)#username r2 password cisco
r1(config)#int s0/0
r1(config-if)#encapsulation ppp
r1(config-if)#ppp authentication pap
r1(config-if)#ppp pap sent-username r1 password cisco
Thanks
i hope friends it is useful for you
Today i will tell you what is ppp?
A ppp is point to point protocol it is use in data link layer .
a ppp protocols have two type of authentication
1 pap
2 chap
PAP-password authentication protocol it is use for giving a password as a text it is not secure any
CHAP-Challenge handshake authentication protocol it is encrypted format and it is secure
How to use pap authentication protocol in ppp with example
EXAMPLE : PAP
//R1 Configuration
Router(config)#hostname r1
r1(config)#int fa0/0
r1(config-if)#ip add 192.168.1.1 255.255.255.128
r1(config-if)#no shut
r1(config-if)#exit
r1(config)#int s0/0
r1(config-if)#ip add 192.168.2.1 255.255.255.252
r1(config-if)#no shut
r1(config-if)#clock rate 64000
r1(config)#ip route 192.168.1.128 255.255.255.128 192.168.2.2
//R2 Configuration
Router(config)#hostname r2
r2(config)#int fa0/0
r2(config-if)#ip add 192.168.1.129 255.255.255.128
r2(config-if)#no shut
r2(config)#int s0/0
r2(config-if)#ip add 192.168.2.2 255.255.255.252
r2(config-if)#no shut
r2(config)#ip route 192.168.1.0 255.255.255.128 192.168.2.1
//Setting a pap authentication r1 router
r1(config)#int s0/0
r1(config-if)#encapsulation ppp
r1(config-if)#ppp authentication pap
r1(config-if)#ppp pap sent-username r1 password cisco
//Setting a pap authentication in r2 router
r2(config)#username r1 password cisco
r2(config)#int s0/0
r2(config-if)#encapsulation ppp
r2(config-if)#ppp authentication pap
r2(config-if)#ppp pap sent-username r2 password cisco
r2(config)#int s0/0
r2(config-if)#encapsulation ppp
r2(config-if)#ppp authentication pap
r2(config-if)#ppp pap sent-username r2 password cisco
i hope friends it is useful for you
No comments:
Post a Comment