APS
공부방

공부방

3월 2주차 기존 동아리원 대상 스터디

기타
작성자
21_엄가원 21_엄가원
작성일
2024-03-18 15:42
조회
102

1. GNS PC 2대 연결 (라우팅 개념)

라우터 IP확인 = show running-config


[ R1 ]


conf t

interface fastethernet 0/0

ip address 10.10.10.254 255.255.255.0

no shut

exit

interface serial 1/0

ip address 30.30.30.1 255.255.255.252

no shut

exit

ip route 20.20.20.0 255.255.255.0 30.30.30.2

exit


[ R2 ]


conf t

interface fastethernet 0/0

ip address 20.20.20.254 255.255.255.0

no shut

exit

interface serial 1/0

ip address 30.30.30.2 255.255.255.252

no shut

exit

ip route 10.10.10.0 255.255.255.0 30.30.30.1

exit





- 문제-

PC 1 = 1.0/24

PC 2 = 3.0/24

RT  = 2.0/30


[ PC 1 ]

ip 1.1.1.1/24 1.1.1.254


[ PC 2 ]

ip 3.3.3.1/24 3.3.3.254


[ R1 ]


conf t

interface fastethernet 0/0

ip address 1.1.1.254 255.255.255.0

no shut

exit

interface serial 1/0

ip address 2.2.2.1 255.255.255.252

no shut

exit

ip route 3.3.3.0 255.255.255.0 2.2.2.2

exit



[ R2 ] 


conf t

interface fastethernet 0/0

ip address 3.3.3.254 255.255.255.0

no shut

exit

interface serial 1/0

ip address 2.2.2.2 255.255.255.252

no shut

exit

ip route 1.1.1.0 255.255.255.0 2.2.2.1

exit

전체 0