루트 재분배에 대해서 알아보자.
R1과 R2사이에는 RIP version 2로 연결되어있다.
Static route을 R1에 넣어준다.
Static route은 다이나믹 라우팅이 아니기때문에 다른 누군가에게 광고(advertise)하지않는 대역들이다.

아래와 같이 R1에서의 static route이 R2 route에서 존재하지않는다.
R2대역이 혹시나 인접한 다른 라우터에서 200.1.0.0/24~200.1.3.0/24 대역의 라우팅을 요청한다면, 모르쇠로 일관할 것이다.


R1 static 루트를 R2에게 광고하고싶다면? 재분배 (Redistribute)을 하면된다. Static을 RIP으로 재분배 하는것은 아주 간단하다.
R1라우터의 Rip 프로토콜안에서 "Redistribute static"이라고 정의하면 된다.

R1에서 정의한 이후, R2에서 "show ip route"을 확인해보면,
200.1.0.0/24~200.1.3.0/24 대역 라우팅이 추가된 부분을 볼 수 있으며, R이라고 표시되는 것을 볼 수 있다.
RIP을통해 라우팅 정의되었다는 의미이다.

R1에서 자신이 가지고있는 라우팅을 더이상 광고하지않겠다고한다면, passive-interface 명령어를 통해
R2와 연결된 인터페이스를 설정하게되면, 더이상 R1의 라우팅을 R2에서 볼 수 없게된다. (no passive-interface f0/0을 통해 라우팅 광고를 다시 할수있다.)


해당내용에 대한 샘플예제는 아래 GNS3 프로젝트파일을 이용해 실습했다.
'Routing&Switching' 카테고리의 다른 글
OSPF 란 무엇인가 (0) | 2021.09.11 |
---|---|
What is SSL / TLS (0) | 2021.08.23 |
GRE 터널 (0) | 2021.08.22 |
STP (Spanning Tree Protocol) & BDPU (0) | 2021.08.06 |
IPsec VPN Tunnel 구성 (0) | 2021.04.18 |