PPP 예제 1
예제 참고 URL : https://www.packettracernetwork.com/labs/lab12-ppp.html
Packet lab 12 : PPP configuration - Packet Tracer Network
This packet tracer 8.0 PPP lab will test your ability to configure the PPP protocol on a Cisco ISR router serial interface. Practicing this labs will help you t
www.packettracernetwork.com
실습환경 : eve-ng
토폴로지 :
조건 :
1. Use the connected laptops to find the DCE and DTE routers. You can connect to the routers using CLI.
2. Configure the routers with the following parameters :
- Clock : 250000
- PPP link between the routers
- DCE IP : 192.168.10.5/30
- DTE IP : 192.168.10.6/30
3. Check IP connectivity between the two routers using the ping command.
Step 1. 기본설정
[hostname 설정]
R1#
conf t
hostname R1
R2#
conf t
hostname R2
[clock rate 설정]
R2#
int s1/0
clock rate 250000
[ppp 설정]
R2#
R2(config-if)#int s1/0
R2(config-if)#encapsulation ppp
R2(config-if)#ip address 192.168.10.5 255.255.255.252
R2(config-if)#no sh
*Jan 15 00:13:18.148: %LINK-3-UPDOWN: Interface Serial1/0, changed state to up
R2#show int s1/0
R1#conf t
R1(config)#int s1/0
R1(config-if)#encapsulation ppp
R1(config-if)#ip address 192.168.10.6 255.255.255.252
R1(config-if)#no sh
양쪽 다 설정 후에 바뀐 설정값 확인
LCP 설명 : https://www.techtarget.com/searchnetworking/definition/Link-Control-Protocol
[ping 확인]
R1#ping 192.168.10.5
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.10.5, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 6/9/13 ms