您的位置:首页 > 理论基础 > 计算机网络

RIP 协议到底是网络层协议,还是应用层的协议?

2017-02-17 16:56 260 查看


RIP 协议到底是网络层协议,还是应用层的协议?  http://www.zhihu.com/question/19645407?sort=created

Rip protocol !我一直没想明白这个纠结的问题~  

1
条评论 分享

按时间排序按票数排序


5 个回答  

赞同0
反对,不会显示你的姓名




止雨

资深考研党来回答,RIP是应用层协议。

发布于 2014-09-21 添加评论       

赞同0
反对,不会显示你的姓名




曹梦迪,Chinese-Centric
IT Engenderer

我倾向于网络层

JNCIA培训教材中摘一段关于BGP的话

Is BGP Really a Routing Protocol?

This question can often start a very heated discussion between two network engineers—in

large part because there is no clear answer to the question. Your particular answer is defined

by your beliefs and experiences.

On one hand are the people who answer yes. After all, the end result of using BGP is the advertisement of IP routes. A router places these routes into the routing table after determining which version of the route is the best. The router then forwards user
data packets based on the table’s information.

People on the other side of the issue consider BGP to be an application of IP. Traditional routing

protocols have their own protocol number. As such, they are part of the IP environment. Since

BGP uses TCP for its transmissions, it actually performs its job as an application, like Telnet.

The difference between the applications is the data transmitted between the end hosts. Telnet

provides character-based terminal access to the far-end host. BGP, on the other hand, provides

route knowledge to the far-end host. There is simply no difference.

We won’t try to sway your vote to one side or the other. We’ll simply attempt to discuss the

facts of what BGP does and how it does it. The rest is up to you.
BGP是TCP179,和RIP的地位类似。从这个意义上来讲,答案也应该是“It is up to you.”

但是BGP和RIP的不同在于:RIP肯定不需要路由(广播或者组播方式),而BGP有可能需要路由(比如EBGP多跳就一定需要某种路由)。
这样RIP不需要路由而产生路由表,所以应该是路由协议。而BGP需要一些路由而产生另一些路由,这一点则不好说。

发布于 2012-06-25 添加评论       

赞同0
反对,不会显示你的姓名




谢卓鹏,铺基础网络的

rip是应用层协议,它是来操作路由器内路由条目的。操作好了,做出了路由表,让路由器转发IP报文。

网络层协议是 ip ipv6 FC 等协议

本质上,很多协议都是跨层的。如Ethernet cisco说它是个二层协议,其实是它是达到三层的,它有MAC地址。

另外最好说协议达到了哪一层。不要说某协议属于哪一层协议。

发布于 2011-06-11 添加评论       

赞同0
反对,不会显示你的姓名




清净平等觉,看破,放下。
我的豆瓣:…

这个问题其实有哥们问过了,再回答一下也无妨。

rip是被当作一个应用层进程(虽然它是一个能操作UNIX内核中的转发表的特殊进程)来实现的,所以它能在一个标准套接字上发送和接收报文,并且使用一个标准的运输层协议。RIP是一个运行在UDP上的应用层协议。

以上,摘自《计算机网络-自顶向下方法

发布于 2011-05-16 添加评论       

赞同1
反对,不会显示你的姓名




蒋又新,奇虎360。言论不代表公司。

邹天宇 赞同

这个问题应该是这样:RIP自身是基于UDP的应用层协议;路由器可以通过RIP协议交互一些信息,从而可能改变(属于网络层的)路由规则。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: