본문 바로가기
네트워크 수업

DNS3 실습 22.02.20

by 6^6 2023. 2. 20.
728x90

R1(config)#username R1 password cisco
R1(config)#int s1/0
R1(config-if)#no shut
R1(config-if)#ip add 1.1.12.1 255.255.255.0
R1(config-if)#encapsulation ppp
R1(config-if)#ppp authentication chap
R1(config-if)#exit

R2(config)#username R1 password cisco
R2(config)#int s1/0
R2(config-if)#no shut
R2(config-if)#ip add 1.1.12.2 255.255.255.0
R2(config-if)#encapsulation ppp
R2(config-if)#ppp authentication chap
R2(config-if)#exit

debug ppp

 

gateway로 ping날려보기

ping 1.1.1.254

 

 

1. show ip int brie 확인하고 

왼쪽거는 자기자신거, 오른쪽은 상대방 단자 인지 여부

show run int s1/0 => s1/0 인터페이스만 추려서 보겠다.

show run

 

show cdp neighbors

 

 

==

show run

 

 

conf t ip route 1.1.20 255.255.255.0 s1/1

 

R2

1.1.1.0 255.255.255.0 s10 1.1.12.1

end

 

 

PC3에서 

traceroute 1.1.1.1

체크해주면 확인가능

/* 시리얼번호 잘못 넣어줬으면 걍 초기화가 답이다.... */
R1(config-if)#ip add 1.1.12.1 255.255.255.0
% 1.1.12.0 overlaps with FastEthernet0/1
R1(config-if)#no ip add
R1(config-if)#exit
R1(config)#int s1/0
R1(config-if)#ip add 1.1.12.1 255.255.255.0
% 1.1.12.0 overlaps with FastEthernet0/1
R1(config-if)#exit

R1(config)#do sh ip int b
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            1.1.2.254       YES NVRAM  up                    up
FastEthernet0/1            1.1.12.2        YES NVRAM  up                    up
Serial1/0                  unassigned      YES manual up                    down
Serial1/1                  unassigned      YES unset  administratively down down
Serial1/2                  unassigned      YES unset  administratively down down
Serial1/3                  unassigned      YES unset  administratively down down
R1(config)#int f0/0
R1(config-if)#exit

 

 

ppp pap sent-username  R1 password cisco

 

 

R1(config)#do sh run int s1/0
Building configuration...

Current configuration : 190 bytes
!
interface Serial1/0
 ip address 1.1.12.1 255.255.255.0
 encapsulation ppp
 serial restart-delay 0
 clock rate 64000
 ppp authentication pap
 ppp pap sent-username R1 password 0 cisco
end

R1(config)#
728x90

댓글