네트워크
[CISCO] Redistribution 라우팅 (Static‐OSPF)
화이트해커 Luna 🌙
2022. 12. 8. 18:32
728x90
반응형
Redistribution 라우팅 (Static ‐ OSPF)
-목차-
1. STATIC 설정
2. Redistibute 설정
3. OSPF 설정

1. STATIC 설정
스태틱 설정
R1(config)# ip route 0.0.0.0 0.0.0.0 s0/0/0
R2(config)# ip route 0.0.0.0 0.0.0.0 s0/0/0
R2(config)# ip route 1.1.1.0 255.255.255.0 s0/0/1
R3(config)# ip route 1.1.1.0 255.255.255.0 s0/0/1
R3(config)# ip route 2.2.2.0 255.255.255.0 s0/0/1
R3(config)# ip route 12.1.1.0 255.255.255.0 s0/0/1
2. Redistibute 설정
Redistibute 설정
R3(config)# route ospf 1
R3(config‐router)# redistribute static subnets ← subnets를 빼면 classful 정보만 전송된다.
3. OSPF 설정
OSPF 설정
R3(config)# router ospf 1
R3(config‐router)# network 23.1.1.3 0.0.0.0 area 0
R3(config‐router)# network 34.1.1.3 0.0.0.0 area 0
R4(config)# router ospf 1
R4(config‐router)# passive‐interface g0/0
R4(config‐router)# network 4.4.4.1 0.0.0.0 area 0
R4(config‐router)# network 34.1.1.4 0.0.0.0 area 0
R4(config‐router)# network 45.1.1.4 0.0.0.0 area 0
R5(config)# router ospf 1
R5(config‐router)# passive‐interface g0/0
R5(config‐router)# network 5.5.5.1 0.0.0.0 area 0
R5(config‐router)# network 45.1.1.5 0.0.0.0 area 0



궁금한점 있으시면 댓글 남겨주세요.
728x90
반응형