네트워크

[CISCO] 라우터 Redistribution STATIC, RIP, OSPF, EIGRP 설정법 총정리

화이트해커 Luna 🌙 2022. 12. 13. 11:57
728x90
반응형

라우터 Redistribution STATIC, RIP, OSPF, EIGRP 설정법 총정리 

 

서로 다른 라우팅 프로토콜간에 정보를 전달하기 위해서는 각 라우팅 프로토콜에 맞는 해석이
필요하다. 이런 과정을 redistribution이라 한다. 

 

-목차-
1. STATIC 설정
2. RIP 설정
3. OSPF 설정
4. EIGRP 설정

 

 


1. STATIC 설정

 

[R1]ip route 0.0.0.0 0.0.0.0 s0/0/0
[R9]ip route 1.1.1.0 255.255.255.0 s0/0/0

 


2. RIP 설정

 

[R2]router rip
version 2
no auto-summary
network 2.2.2.0
network 29.1.1.0
passive-interface g0/0
[R9]router rip
version2
no auto-summary
network 19.1.1.0
network 29.1.1.0
network 39.1.1.0
network 49.1.1.0
redistribute static
redistribute ospf 1 metric 5
redistribute eigrp 100 metric 5

 


3. OSPF 설정 

 

[R3]router ospf 1
router-id 3.3.3.1
network 3.3.3.1 0.0.0.0 area 0
network 39.1.1.3 0.0.0.0 area 0
passive-interface g0/0

[R9]router ospf 1
router-id 39.1.1.9
network 19.1.1.9 0.0.0.0 area 0
network 29.1.1.9 0.0.0.0 area 0
network 39.1.1.9 0.0.0.0 area 0
network 49.1.1.9 0.0.0.0 area 0
redistribute static subnets
redistribute rip subnets
redistribute eigrp 100 metric 10 subnets

 

 


4. EIGRP 설정

[R4]router eigrp 100
network 4.4.4.1 0.0.0.0
network 49.1.1.4 0.0.0.0
passive-interface g0/0

[R9]router eigrp 100
network 19.1.1.9 0.0.0.0
network 29.1.1.9 0.0.0.0
network 39.1.1.9 0.0.0.0
network 49.1.1.9 0.0.0.0
redistribute static
redistribute rip metric 10000 10 255 1 1500
redistribute ospf 1 metric 10000 10 255 1 1500

 


궁금한점 있으시면 댓글 남겨주세요.

출처 : https://blog.naver.com/engineer_98

728x90
반응형