< cd ..
junter@IP024:~$ cat day21.log

21일차 - GNS3 kali로 핑 테스트

라우터 설정 후 kali에서 핑 테스트 확인

1. GNS3 라우터 설정 코드

#R1

conf t
hostname HACKER
int fa 0/0
ip address 192.168.0.254 255.255.255.0
no shut
exit
int se 1/0
ip addr 1.1.1.1 255.255.255.0
no shutdown
exit
interface Serial1/1
ip address 3.3.3.2 255.255.255.0
no shutdown
exit
end
conf t
router ospf 1
router-id 1.1.1.1
network 192.168.0.0 0.0.0.255 area 0
network 1.1.1.0 0.0.0.255 area 0
network 3.3.3.0 0.0.0.255 area 0
#R2
conf t
hostname VICTIM
int fa 0/0
ip address 125.246.95.254 255.255.255.0
no shut
exit
int se 1/1
ip addr 1.1.1.2 255.255.255.0
no shutdown
exit
interface Serial1/0
ip address 2.2.2.1 255.255.255.0
no shutdown
exit
end
conf t
router ospf 1
router-id 2.2.2.2
network 125.246.95.0 0.0.0.255 area 0
network 2.2.2.0 0.0.0.255 area 0
network 1.1.1.0 0.0.0.255 area 0
#R3
conf t
int fa 0/0
ip address 168.126.63.254 255.255.255.0
no shut
exit
int se 1/0
ip addr 3.3.3.1 255.255.255.0
no shutdown
exit
int se 1/1
ip addr 2.2.2.2 255.255.255.0
no shutdown
end
conf t
router ospf 1
router-id 3.3.3.3
network 168.126.63.0 0.0.0.255 area 0
network 2.2.2.0 0.0.0.3 area 0
network 3.3.3.0 0.0.0.255 area 0 
세팅하고 Kali에서 라우터로 핑이 잘 나가는 지 확인.

2. kali, Ping test

3. kali, Ping test