kjh00n의 기록저장소
Network Static Routing 실습 본문
PC1
10.10.10.1
255.255.255.0
10.10.10.254
PC2
20.20.20.1
255.255.255.0
20.20.20.254
PC3
30.30.30.1
255.255.255.0
30.30.30.3
PC4
40.40.40.1
255.255.255.0
40.40.40.254
PC5
50.50.50.1
255.255.255.0
50.50.50.254
PC6
60.60.60.1
255.255.255.0
60.60.60.254
R1
enable
conf t
int fa 0/0
ip addr 50.50.50.254 255.255.255.0
no shu
int fa 0/1
ip addr 30.30.30.2 255.255.255.0
no shu
ip route 10.10.10.0 255.255.255.0 30.30.30.4
ip route 20.20.20.0 255.255.255.0 30.30.30.4
ip route 40.40.40.0 255.255.255.0 30.30.30.3
ip route 60.60.60.0 255.255.255.0 30.30.30.3
R2
enable
conf t
int fa 0/0
ip addr 60.60.60.254 255.255.255.0
no shu
int fa 0/1
ip addr 30.30.30.3 255.255.255.0
no shu
int fa 1/0
ip addr 100.100.100.2 255.255.255.0
no shu
ip route 10.10.10.0 255.255.255.0 30.30.30.4
ip route 20.20.20.0 255.255.255.0 30.30.30.4
ip route 40.40.40.0 255.255.255.0 100.100.100.1
ip route 50.50.50.0 255.255.255.0 30.30.30.2
R3
enable
conf t
int fa 0/0
ip addr 20.20.20.254 255.255.255.0
no shu
int fa 0/1
ip addr 30.30.30.4 255.255.255.0
no shu
ip route 10.10.10.0 255.255.255.0 20.20.20.2
ip route 40.40.40.0 255.255.255.0 30.30.30.3
ip route 50.50.50.0 255.255.255.0 30.30.30.2
ip route 60.60.60.0 255.255.255.0 30.30.30.3
R4
enable
conf t
int fa 0/0
ip addr 10.10.10.254 255.255.255.0
no shu
int fa 0/1
ip addr 20.20.20.2 255.255.255.0
no shu
ip route 0.0.0.0 0.0.0.0 20.20.20.254
R5
enable
conf t
int fa 0/0
ip addr 40.40.40.254 255.255.255.0
no shu
int fa 0/1
ip addr 100.100.100.1 255.255.255.0
no shu
ip route 0.0.0.0 0.0.0.0 100.100.100.2
OSPF로 설정
R1
router ospf 1
network 50.50.50.0 0.0.0.255 area 1
network 30.30.30.0 0.0.0.255 area 1
R2
router ospf 1
network 30.30.30.0 0.0.0.255 area 1
network 60.60.60.0 0.0.0.255 area 1
network 100.100.100.0 0.0.0.255 area 1
R3
router ospf 1
network 20.20.20.0 0.0.0.255 area 1
network 30.30.30.0 0.0.0.255 area 1
R4
router ospf 1
network 20.20.20.0 0.0.0.255 area 1
network 10.10.10.0 0.0.0.255 area 1
R5
router ospf 1
network 40.40.40.0 0.0.0.255 area 1
network 100.100.100.0 0.0.0.255 area 1
'Network' 카테고리의 다른 글
GNS3 OSPF,ACL 실습 (0) | 2024.10.26 |
---|---|
GNS3 기초 실습 (0) | 2024.10.26 |
Network RIP 실습 (0) | 2024.10.26 |
Network Wan 실습 (0) | 2024.10.26 |
실습4 (0) | 2024.10.24 |