Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Chap two-way Verification in PPP-Learning Notes

Shulou Source: shulou.com Published: 2022-06-01 05:14:33 11月25日 Update

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

Tags: Authentication authentication password two-way same consistent host ciphertext each other data database configuration notes learning Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Redmi Xiaomi vpn Docker