yumyum
[Cisco] Wan, PPP(PAP,CHAP) 본문
무선라우터는 CLI 가 아니라 GUI 에서 작업한다.
################################################################################################
pap & chap
[ppp 설정/pap평문] (HDLC 프로토콜 -> PPP)
##R1
(config)# username R2 password cisco => R2와 연결한다고 네이밍함
(config)# int s0/0/0
(config-if)# encapsulation ppp
(config-if)# ppp authentication pap => 인증방식 pap
(config-if)# ppp pap sent-username R1 password cisco => cisco로 암호설정
##R2
(config)# username R1 password cisco => R1와 연결한다고 네이밍함
(config)# int s0/0/0
(config-if)# encapsulation ppp
(config-if)# ppp authentication pap => 인증방식 pap
(config-if)# ppp pap sent-username R1 password cisco => cisco로 암호설정
#show ip route => 라우팅 테이블 확인
#show int s0/0/0 => ppp 확인
##R2
# debug ppp authentication => 디버그 걸어놓고 password 틀리게 입력
##R1
(config)# int s0/0/0
(config-if)# no ppp pap sent-username R1 password cisco => 로그인 취소
(config-if)# ppp pap sent-username R1 password asadf => 비밀번호 틀려서 로그인
(config-if)# shutdown
(config-if)# no shut
##R2
"Authentication fail" 메세지 확인
[PPP설정/chap 암호문]
##R1
(config)# username R2 pasword cisco => R2와 연결한다고 네이밍함
(config)# int s0/0/0
(config-if)# encapsulation ppp
(config-if)# ppp authentication chap => 인증방식 chap
##R2
(config)# username R1 pasword cisco => R1와 연결한다고 네이밍함
(config)# int s0/0/0
(config-if)# encapsulation ppp
(config-if)# ppp authentication chap => 인증방식 chap
________________________________________________________________________________________________
이런식으로
R1 에는 R2 R3연결
R2 에는 R1 R4 연결
R3에는 R1 연결
R4에는 R2 연결 해준다
'ICT기반 클라우드 네트워크 해킹 침해대응전문가 > Cisco' 카테고리의 다른 글
[Cisco]VPN (GRE) (0) | 2023.08.21 |
---|---|
[Cisco] Frame relay (0) | 2023.08.18 |
[Cisco] Vlan, Trunk, VTP, STP (수정중) (0) | 2023.08.17 |
[Cisco] 명령어 정리(업로드 중) (0) | 2023.08.16 |
[Cisco] OSPF (0) | 2023.08.16 |