뭉게뭉게 엔지니어
OSPF 실습 본문
RIP 실습본에서 RIP 지우고 OSPF 실행하기.
R01(config-router)#network 192.168.1.254 0.0.0.0 area 0
(config-router)# network 인터페이스주소 와일드카드마스크 area 영역번호
하나의 area만 설정하기 때문에 와일드카드마스크는 0.0.0.0으로!
R01 설정
R01(config)#no router rip
R01(config)#exit
R01#sh ip ro
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
C 1.0.0.0/8 is directly connected, Serial3/0
C 2.0.0.0/8 is directly connected, Serial2/0
C 192.168.1.0/24 is directly connected, FastEthernet0/0
R01(config)#router ospf 1
R01(config-router)#network 2.2.2.1 0.0.0.0 area 0
R01(config-router)#network 1.1.1.1 0.0.0.0 area 0
R01(config-router)#network 192.168.1.254 0.0.0.0 area 0
R01(config-router)#passive-interface f0/0
R02 설정
R02(config)#no router rip
R02(config)#router ospf 1
R02(config-router)#network 2.2.2.2 0.0.0.0 area 0
R02(config-router)#network 3.3.3.2 0.0.0.0 area 0
R02(config-router)#network 192.168.2.254 0.0.0.0 area 0
R02(config-router)#passive-interface f0/0
R03 설정
R03(config)#no router rip
R03(config)#router ospf 1
R03(config-router)#network 1.1.1.3 0.0.0.0 area 0
R03(config-router)#network 3.3.3.3 0.0.0.0 area 0
R03(config-router)#network 192.168.3.254 0.0.0.0 area 0
R03(config-router)#passive-interface f0/0
연결상황 확인
R01
R01#sh ip ro
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
Gateway of last resort is not set
C 1.0.0.0/8 is directly connected, Serial3/0
C 2.0.0.0/8 is directly connected, Serial2/0
O 3.0.0.0/8 [110/780] via 2.2.2.2, 00:03:56, Serial2/0
C 192.168.1.0/24 is directly connected, FastEthernet0/0
O 192.168.2.0/24 [110/391] via 2.2.2.2, 00:03:39, Serial2/0
O 192.168.3.0/24 [110/781] via 2.2.2.2, 00:00:46, Serial2/0
R02
R02#sh ip ro
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
Gateway of last resort is not set
O 1.0.0.0/8 [110/1952] via 2.2.2.1, 00:01:39, Serial2/0
[110/1952] via 3.3.3.3, 00:01:39, Serial3/0
C 2.0.0.0/8 is directly connected, Serial2/0
C 3.0.0.0/8 is directly connected, Serial3/0
O 192.168.1.0/24 [110/391] via 2.2.2.1, 00:04:34, Serial2/0
C 192.168.2.0/24 is directly connected, FastEthernet0/0
O 192.168.3.0/24 [110/391] via 3.3.3.3, 00:01:26, Serial3/0
R03
R03#sh ip ro
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
Gateway of last resort is not set
C 1.0.0.0/8 is directly connected, Serial2/0
O 2.0.0.0/8 [110/780] via 3.3.3.2, 00:02:04, Serial3/0
C 3.0.0.0/8 is directly connected, Serial3/0
O 192.168.1.0/24 [110/781] via 3.3.3.2, 00:02:04, Serial3/0
O 192.168.2.0/24 [110/391] via 3.3.3.2, 00:02:04, Serial3/0
C 192.168.3.0/24 is directly connected, FastEthernet0/0
'☁ 실습 해보기 > Packet Tracer' 카테고리의 다른 글
VLAN_Sub interface 설정 (0) | 2022.06.16 |
---|---|
VLAN_Native LAN 실습 (0) | 2022.06.16 |
OSPF_Multi Area 실습 (0) | 2022.06.16 |
Static Routing & Default Routing & RIP 실습 (0) | 2022.06.15 |
RIP 실습 (0) | 2022.06.14 |
Comments