TCP/IP 详解 卷1 ch10 Dynamic Routing Protocols

1. RIP (Routing Information Protocol) - a distance-vector protocol

use UDP, port is 520, the metric is hop counts (The hop count for all directly connected interfaces is 1, max value is 15).

 

2. problems

1) RIP has no knowledge of subnet addressing

2) RIP takes a long time to stabilize after the failure of a router or a link

3) dest ip is 255.255.255.255, 全网广播

 

3. RIP-2 supports multicasting in addition to broadcasting

 

4. OSPF (Open Shortest Path First) - a link-state protocol

OSPF uses IP directly, it does not use UDP or TCP. OSPF has its own value for the protocol field in the IP header.

 

5. advantage of OSPF

1) OSPF can calculate a separate set of routes for each IP type-of-service

2) Each interface is assigned a dimensionless cost.

3) When several equal-cost routes to a destination exist, OSPF distributes traffic equally among the routes. This is called load balancing.

4) OSPF supports subnets: a subnet mask is associated with each advertised route.

5) Point-to-point links between routers do not need an IP address at each end.

6) A simple authentication scheme can be used.

7) OSPF uses multicasting, instead of broadcasting.

 

6. BGP (Border Gateway Protocol)

BGP uses TCP as its transport protocol

 

7. CIDR (Classless Interdomain Routing)

Although the allocation of these class C addresses solves one problem (running out of class B addresses) it introduces another problem: every class C network requires a routing table entry. Classless Interdomain Routing (CIDR) is a way to prevent this explosion in the size of the Internet routing tables.

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值