Network

4/27 Dynamic Routing Protocol, RIP

띠요옹 2021. 4. 28. 05:31

* Dynamic Routing Protocol

  작동방법: 0. directly connected network 확인(show ip route connected-C)

                 1. 프로세스 작동 (router rip)

                 2. 프로세스가 전달할 네트워크를 선언(directly connected network를 선언해줘야 함)

*rip routing protocol : Routing Information Protocol

 라우팅정보를 라우터로 인해 전달함

 AD Value 120

 Metric(비용) : 라우터개수  hop count (maxium hop=15)

  [  RIP | UDP- 520| IP | ethernet]

ip.dst     ripv1   255.255.255.255

ripv2   224.0.0.9  (multicast address)

 30sec update함.

rip timer : update 30,  hold down timer 180, 

* Distance Vector :거리와 방향에 따라서 metric 계산. -> Looping의 문제점을 해결하기 위해서 여러가지 기술이용(maxium hop count 15, split horizon, route poisoning(metric=16), poison reverse, hold down timer, triggered update)

 

RIPv1  subnetmask 정보를 주고받지 않음. classful network정보전달에 적합함.

RIPv2 subnetmask 정보를 주고 받음. classless (서브넷팅, VLSM 환경에도 사용이 가능함.)