Description: 所实现的路由器采用距离矢量算法,模拟Internet上的IP路由器,它能确定网络的最短路由,并在其上传输分组-router achieved by the application of the distance vector algorithm simulation on the Internet IP routers, it can determine the shortest route network, and in its previous packet transmission Platform: |
Size: 181248 |
Author:agang |
Hits:
Description: Distance Vector Routing,也称为Bellman-Ford shortest path algorithm。基本思想是:
每个路由器(路由结点)都维持一张路由表,包括路由的目的地(V)和路由的距离(D)。每个路由器都定期与相邻结点交换路由表信息,据此更新它们自己的路由表。所有结点都监听从其它结点传来的路由表,并按照下列规则更新其路由表:
-发现了一条到达某目的结点的新路由,而该路由在原来的路由表中不存在(即发现了一条新路由),则在路由表中增加该路由。
-发现了一条到达某目的结点的、距离更短的新路由,则用该路由替换原有的路由。
-到达某目的结点的一条路由,其后继结点到达该目的地的距离发生了变化,则需要更新该路由的距离。
本文件中包含详细的源代码和注释,以实现利用距离向量算法更新路由表的功能。-Distance Vector Routing, also known as the Bellman-Ford shortest path algorithm. The basic idea is : Each router (routing nodes) has maintained a routing table, the destinations include routing (V) and the routing of distance (D). Each router regularly with neighboring nodes to exchange routing table information, updated accordingly their own routing table. All nodes are monitored from other nodes sent a routing table, and in accordance with the following rules to update its routing table :- found a purpose to reach a node of the new routing, The routing of the original routing table does not exist (that is, found a new routing), the routing table to increase the routing.- Found a purpose to reach an end point, the short distance between the new routing, the router can be used to replace Platform: |
Size: 3072 |
Author:agang |
Hits:
Description: 1RIP路由协议
——RIP协议最初是为Xerox网络系统的Xeroxparc通用协议而设计的,是Internet中常用的路由协议。RIP采用距离向量算法,即路由器根据距离选择路由,所以也称为距离向量协议。路由器收集所有可到达目的地的不同路径,并且保存有关到达每个目的地的最少站点数的路径信息,除到达目的地的最佳路径外,任何其它信息均予以丢弃。同时路由器也把所收集的路由信息用RIP协议通知相邻的其它路由器。这样,正确的路由信息逐渐扩散到了全网。
——RIP使用非常广泛,它简单、可靠,便于配置。但是RIP只适用于小型的同构网络,因为它允许的最大-1RIP routing protocol-- RIP agreement was initially for Xerox Network System Xeroxpa rc definitive agreement and the design is widely used in the Internet routing protocols. RIP application of the distance vector algorithm, routers routing choice based on distance, also known as Distance Vector agreement. Router collect all destinations can be reached by the different paths and the preservation of the arrival of each destination site for at least the path information, in addition to their destinations on the best path, Any other information is to be discarded. Router while also turning the routing information collected with neighboring RIP notify the other routers. Thus, the correct routing information gradually spread to the entire network.-- RIP is widely used, it is simple, reliable a Platform: |
Size: 344064 |
Author:李微 |
Hits:
Description: 距离向量路由算法的c源代码,希望给有兴趣的人有用-distance vector routing algorithm c source code, and hopes to give those who are interested in useful Platform: |
Size: 1024 |
Author:芦苇 |
Hits:
Description: 计算机网络课程设计实验,距离矢量路由算法。在运行前须在c磁盘下建立文档data.txt。并且输入49个数字 1~9或- 用逗号分开。-Computer network curriculum design experiments, distance vector routing algorithm. Before running in the establishment of documents c disk data.txt. 49 digital input and 1 ~ 9 or- separated by commas. Platform: |
Size: 2048 |
Author:daniel |
Hits:
Description: 计算机网络路由算法中的距离向量算法方法,这是源程序,学计算机网络的应该都知道!-Computer network routing algorithm of distance vector algorithm method, which is the source code, learning the computer network should all know! Platform: |
Size: 1024 |
Author:kon |
Hits:
Description: C语言路由距离向量路由算法演示程序,采用TC2.0的图形方式编程模式,主要演示路由算法-C language routing Distance Vector routing algorithm demo program using the graphical TC2.0 programming model, the main demonstration of routing algorithm Platform: |
Size: 43008 |
Author:刘军 |
Hits:
Description: 利用距离向量算法更新路由表。
该程序的多个实例(进程或线程)可以以运行在一台机器
一个实例代表一个路由器(结点)。
实例之间利用UDP交换路由表。
能够打印出邻居列表和输出路由表!(c语言实现)-The use of distance vector algorithm to update the routing table. Multiple instances of the program (process or thread) can be run on a machine on behalf of an example of a router (node). Examples of exchange between the use of UDP routing table. Be able to print out a list of neighbors and output routing table! (c language) Platform: |
Size: 31744 |
Author:冷冰 |
Hits:
Description: 距离向量算法的实现,利用多线程机制,进行结点初始化流程程序设计;进行结点距离向量消息的收发-Distance vector algorithm, using multi-thread mechanism for node initialization process programming to nodes send and receive messages from the vector Platform: |
Size: 8192 |
Author:shangyong |
Hits:
Description: 实现了Distance-Vector 算法了源码,能够模拟路由器之间交换路由的情况-Distance-Vector algorithm implements the source code, to simulate the situation between routers to exchange routing Platform: |
Size: 20480 |
Author:秋兔子 |
Hits: