This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
icnd2:ppp [2024/04/27 11:09] 114.119.145.194 old revision restored (2023/10/20 00:32) |
icnd2:ppp [2024/05/14 20:22] (current) 114.119.149.71 old revision restored (2024/02/14 12:04) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== PPP ===== | + | === PPP ==== |
- | The ' | + | Beginning |
- | + | ||
- | === AUTHENTICATION === | + | |
- | == PAP == | + | |
- | Clear text, no no no! But if you had to.. | + | |
- | Requirements: | + | |
- | Local USERNAME and PASSWORD of credentials the REMOTE device will authenticate with. | + | |
- | ppp auth pap | + | |
- | < | + | |
- | DOGS#sh run | i username | + | |
- | username CATS password 0 123 <-- USERNAME/ | + | |
- | DOGS#sh run interface s0/0 | + | |
- | Building configuration... | + | |
- | + | ||
- | Current configuration : 172 bytes | + | |
- | ! | + | |
- | interface Serial0/0 | + | |
- | ip address 172.16.1.1 255.255.255.252 | + | |
- | | + | |
- | clock rate 2000000 | + | |
- | ppp authentication pap <-- ENABLE PAP | + | |
- | ppp pap sent-username DOGS password 0 123 < | + | |
- | end | + | |
- | </ | + | |
== CHAP == | == CHAP == | ||
Requirements: | Requirements: | ||
USERNAME and PW created for PEERING/ | USERNAME and PW created for PEERING/ | ||
- | eg-- If R4 is connecting, a local user of R4 will need to exist. Passwords for authenticating devices will need to be consistent. No PW is sent over the WIRE. Only Hostname/Magic#. CHAP uses it's local PW along with the Hostname/Magic# of peering device and hashes it via MD5SUM. The MD5 hash is sent to each router. If the hash matches, the routers will authenticate and bring up the PPP link. | + | eg-- If R4 is connecting, a local user of R4 will need to exist. Passwords for authenticating devices will need to be consistent. No PW is sent over the WIRE. Only Hostname, magic#. CHAP uses it's local PW along with the hostname/Magic# of peering device and hashes it via MD5SUM. The MD5 hash is sent to each router. If the hash matches, the routers will authenticate and bring up the PPP link. |
- | + | ||
- | ppp auth chap | + | |
- | < | + | |
- | DOGS#sh run | i username | + | |
- | username CATS password 0 chap-auth | + | |
- | DOGS#sh run int s0/0 | + | |
- | Building configuration... | + | |
- | + | ||
- | Current configuration : 130 bytes | + | |
- | ! | + | |
- | interface Serial0/0 | + | |
- | ip address 172.16.1.1 255.255.255.252 | + | |
- | | + | |
- | clock rate 2000000 | + | |
- | ppp authentication chap <-- Enable CHAP Authentication! | + | |
- | end | + | |
- | </ | + | |
+ | == PAP == | ||
+ | Clear text, no no no! |