Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Chap two-way Verification in PPP-Learning Notes

2025-04-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Chap ciphertext authentication: you must use the other party's hostname and the same password to verify:

Look at the configuration, R1 and R2

R1 (config) # username R2 pass cisco

R1 (config) # inter s0swap 0

R1 (config-if) # clock rate 64000

R1 (config-if) # ip address 192.168.1.1 255.255.255.0

R1 (config-if) # no sh

R1 (config-if) # encapsulation ppp

R1 (config-if) # ppp authentication chap

R1 (config-if) # ppp chap host R2

R1 (config-if) # ppp chap pass cisco

R2 (config) # username R1 pass cisco

R2 (config) # inter s0UniUni0

R2 (config-if) # ip add 192.168.1.2 255.255.255.0

R2 (config-if) # no sh

R2 (config-if) # encapsulation ppp

R2 (config-if) # ppp authentication chap

R2 (config-if) # ppp chap host R1

R2 (config-if) # ppp chap pass cisco

The passwords of R1 and R2 must be the same, or they cannot connect to.

Two-way authentication the authenticated hostname and secret key must be consistent with the database of the primary authenticator

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report