9일차
GNS3 설치
virtualbox 설치
Rocky Linux 기본이미지 최소 기능 ISO 설치
포트를 열긴 열되 막을건 막아야 한다
서버에 포트를 열어야한다
라우터에서도 공간이 나누어진다
게이트웨이는 스위치와 라우터를 연결함
#은 관리자 모드
>은 일반 사용자 모드
# R1
config t
hostname HACKER
exit
show interface stats
config t
interface FastEthernet0/0
ip address 192.168.0.254 255.255.255.0
no shutdown
exit
config t
interface Serial1/0
ip address 1.1.1.1 255.255.255.252
no shutdown
exit
ip route 192.168.1.0 255.255.255.0 1.1.1.2
# R2
config t
hostname TARGET
exit
show interface stats
config t
interface FastEthernet0/0
ip address 192.168.1.254 255.255.255.0
no shutdown
exit
config t
interface Serial1/0
ip address 1.1.1.2 255.255.255.252
no shutdown
exit
ip route 192.168.0.0 255.255.255.0 1.1.1.1