o'reily ip routing memo part02

Chapter 2 – RIP
1. how RIP finds shortest paths
a. RIP updates
RIP updates are encapsulated in UDP. The well-known port number for RIP updates is 520.
RIP allows a station to request routes. So a machine that has just booted up can request the routing table from its neighboring routers instead of wating until the next cycle of updates.
The destination IP address in RIP update is 255.255.255.255, the source IP address is the IP address of the interface from which the update is issued.
b. RIP metric
a measure of the number of hops to a destination network.
16 hops will be unreachable.
c. processing RIP updates
destination network unknown –––––––– install
destination network known with a smaller metric ––––––––modify
destination network known with a larger metric ––––––––ignore
destination network known with a higher metric from the same next hop ––––––––update
destination network known with a same metric from different next hop ––––––––RFC1058: ignore/Cisco: installed as a parallel path (up to 4), used for loading balance.
d. parallel paths
how will traffic split over two equal links depends on the switching mode configured on the Cisco router. Two common switching modes are process switching and fast switching.
(i) process switching
Results in packet-by-packet load balancing
Very CPU intensive
Commands:
Config#int s0
Config-if#no ip route-cache
(ii) fast switching
Fast switching thus load-balances destination-by-destination (or session-by-session).

2.convergence
a. four key timers of DV protocol
(i) update timer (default : 30 seconds)
Period between updates
(ii) invalid timer (default : 180 seconds)
Six consecutive updates were missed, the source of the routing information is considered suspect. (but packets are STILL forwarded to the next hop specified in the routing table)
(iii) hold-down timer (default : 180 seconds)
When invalid timer expires, route automatically enters the hold-down phase. During hold-down, all updates regarding the route are disregarded.
(iv) flush timer (default : 240 seconds)
Set to 0 when an update is received. When expires, the route is removed from the routing table nd the router is ready to receive an update.
Flush timer overrides hold-down timer.
 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值