10일차
라우터는 다른대역대를 연결해줄때 사용
20250407006
R1
config t
hostname HACKER
exit
show interface stats
config t
interface FastEthernet0/0
ip address 192.168.10.254 255.255.255.0
no shutdown
exit
interface Serial1/0
ip address 2.2.2.1 255.255.255.252
no shutdown
exit
ip route 192.168.20.0 255.255.255.0 2.2.2.2
pc1: ip 192.168.10.1 255.255.255.0 192.168.10.254
R2
config t
hostname TARGET
exit
show interface stats
config t
interface FastEthernet0/0
ip address 192.168.20.254 255.255.255.0
no shutdown
exit
config t
interface Serial1/0
ip address 2.2.2.2 255.255.255.252
no shutdown
exit
ip route 192.168.10.0 255.255.255.0 2.2.2.1
pc2: ip 192.168.20.1 255.255.255.0 192.168.20.254