bxm's IT Story

PPP - Pap vs CHAP 본문

Network/Cisco (KEDU)

PPP - Pap vs CHAP

bxmsta9ram 2021. 6. 9. 15:17

<메모장으로 실습하기전에 선생님이 알려주신것>

 

 

ena
conf t
no ip domain lookup
line c 0
  logg sy
  exec-timeout 0
  exit
line vty 0 4
  pass cisco
  exit
hostname

## PPP PAP ##

R1]
conf t
username R2 password cisco
int s1/0
  no shutdown
  encapsulation ppp
  ppp authentication pap
  ppp pap sent-username R1 password cisco
  ip address 1.1.12.1 255.255.255.252
  end
wr

R2]
conf t
username R1 password cisco
int s1/0
  no shutdown
  encapsulation ppp
  ppp authentication pap
  ppp pap sent-username R2 password cisco
  ip address 1.1.12.2 255.255.255.252
  end
wr

R1]
conf t
ip route 1.1.2.0 255.255.255.0 s1/0 1.1.12.2

R2]
conf t
ip route 1.1.1.0 255.255.255.0 s1/0 1.1.12.1


## PPP CHAP ##

R1]
conf t
int s1/0
  no ppp authentication pap
  no ppp pap sent-username R1 password 0 cisco
  ppp authentication chap
  
R2]
int s1/0
  no ppp authentication pap
  no ppp pap sent-username R2 password 0 cisco
  ppp authentication chap










'Network > Cisco (KEDU)' 카테고리의 다른 글

프레임 릴레이  (0) 2021.06.10
PPP - CHAP 방식 GNS3 Programming  (0) 2021.06.09
PPP - CHAP 방식  (0) 2021.06.09
PPP (Wan에서의 pap(팹_암호화 하지 않은) 방식)  (0) 2021.06.09
PPP  (0) 2021.06.09