动态路由协议_动态路由协议的类别

动态路由协议

Dynamic routing protocols have been divided into 2 categories i.e Distance vector protocols and Link state protocols. Both of these protocols are being explained in detail in this tutorial.

动态路由协议分为距离矢量协议链路状态协议两大类 。 本教程将详细说明这两种协议。

1)距离矢量路由协议 (1) Distance Vector Routing Protocols)

RIP and IGRP are the distance vector routing protocols. All the distance vector routing protocols have some features which are being given below.

RIP和IGRP是距离矢量路由协议。 所有距离矢量路由协议都具有以下功能。

  • The periodic updates of the entire routing table are sent to all neighboring routers.

    整个路由表的定期更新将发送到所有相邻路由器。

  • Convergence is very slow in distance vector protocols and these are susceptible to protocols loops.

    距离矢量协议的收敛非常慢,并且容易受到协议循环的影响。

  • The distance is used to calculate the metric of the routing.

    距离用于计算路由度量。

  • Bellman-Ford algorithm is used to find the shortest path.

    Bellman-Ford算法用于查找最短路径。

Distance vector routing protocols send updates about all connected neighbors directly connected networks. This update is sent regularly. It is sent to RIP every 30 seconds and in IGRP, this update is sent every 90 seconds. With these updates, neighbors can add routes to their routing tables. After this, all the neighbors forward their entire routing table, sharing it with all the neighbors.

距离矢量路由协议发送有关所有已连接邻居的直连网络的更新。 此更新会定期发送。 它每30秒发送到RIP,在IGRP中,此更新每90秒发送一次。 通过这些更新,邻居可以将路由添加到其路由表中。 此后,所有邻居都转发其整个路由表,并与所有邻居共享。

There are many disadvantages to this kind of process. Routing information goes from one neighbor to pass periodic updates of another, so convergence is very slow. Together, all the neighbors depend on each other, so the chances of looping are also very high.

这种过程有很多缺点。 路由信息从一个邻居传到另一个邻居的定期更新,因此收敛非常慢。 在一起,所有邻居都相互依赖,因此循环的机会也很高。

Distance vector protocols use distance to calculate metric. RIP is calculated by metric hop counts. In IGRP the metric is calculated with bandwidth and delay.

距离矢量协议使用距离来计算度量。 RIP通过跃点计数来计算。 在IGRP中,度量标准是根据带宽和延迟来计算的。

2)链路状态路由协议 (2) Link State Routing Protocols)

Link state protocols were developed to overcome looping and convergence problems in the distance vector protocols. Link state routing protocols build 3 kinds of routing tables. These are being given below.

开发了链路状态协议以克服距离矢量协议中的循环和收敛问题。 链路状态路由协议建立3种路由表。 这些在下面给出。

  1. Neighbor table

    邻居表

    This table contains a list of all the neighbors, and also, which of the neighbors is connected to which interface. Neighbor table is created by sending hello packets.

    该表包含所有邻居的列表,以及哪个邻居连接到哪个接口。 邻居表是通过发送hello数据包创建的。

  2. Topology table

    拓扑表

    This is also called link state table. In this, all links of one area are stored in the map. Also, every link's status is also stored.

    这也称为链接状态表。 这样,一个区域的所有链接都存储在地图中。 同样,每个链接的状态也会被存储。

  3. Shortest path table

    最短路径表

    The best routes are stored for every destination in this table. The link states sending updates about the status of routers directly connected networks in routing protocols. All routers store this information in the topology table. The number of routers within an area is their topology table.

    最佳路线存储在此表中的每个目的地。 链接状态发送有关路由协议中与路由器直接连接的网络的状态有关的更新。 所有路由器都将此信息存储在拓扑表中。 一个区域内的路由器数量是其拓扑表。

If any change occurs in a link, only related updates to this link are sent to all routers and all routers adjust their topology table accordingly. The only link that has changed has been updated, due to this, the bandwidth also does not have much effect. But due to the management of 3 tables, the CPU is highly utilized. The shortest path is calculated by the Dijkstra formula in the link state protocols.

如果链接发生任何更改,则仅对此链接的相关更新会发送到所有路由器,并且所有路由器都会相应地调整其拓扑表。 唯一已更改的链接已更新,因此,带宽也没有太大影响。 但是由于管理3个表,因此CPU利用率很高。 最短路径由链路状态协议中的Dijkstra公式计算得出。

翻译自: https://www.includehelp.com/computer-networks/categories-of-dynamic-routing-protocols.aspx

动态路由协议

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/542002.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

docker镜像创建与优化

1 . 创建镜像 有两种方法构建镜像: docker commit :将运行的容器保存成镜像Dockerfile:自动构建 使用docker commit 创建镜像分为三步: 运行容器修改容器将容器保存为镜像 举例: [rootdocker ~]# docker load -i…

ISP运营商实验室测试机架拓扑搭建经验分享

大家好,有些日子没更新干货了,近期难得有假期进行修整,思前顾后还是坐下来聊聊自己长期负责维护和搭建的实验室环境。废话不多说,直接上图。因为图较大,分上下部分进行上传。网络主框架(上)服务…

关于二手交易用户指南怎么写_让用户拍案叫绝文案怎么写?试试这3个方法

“共鸣”到底是什么? 为什么有些文章会引起共鸣,而有些则没有。现在假设为产品家用手持式美容仪写一份副本。 由于主要重点是“家庭使用”,因此您立即想到了“家庭美容”的口号。 尽管这句话很简单易懂,但谈论起来总是很简单……似…

结构化程序goto语句_C ++ goto语句| 查找输出程序| 套装1

结构化程序goto语句Program 1: 程序1&#xff1a; #include <iostream>#include <math.h>using namespace std;int main(){int num1 1;int num2 0;MY_LABEL:num2 num1 * num1;cout << num2 << " ";num1 num1 pow(2, 0);if (num1 < …

docker仓库搭建、加密、用户认证

1 . 含义及理解&#xff1a; 仓库分为公开仓库&#xff08;Public&#xff09;和私有仓库&#xff08;Private&#xff09;两种形式。最大的公开仓库是 Docker Hub&#xff0c;存放了数量庞大的镜像供用户下载。 国内的公开仓库包括 Docker Pool等&#xff0c;可以提供大陆用户…

Centos7+Nginx+Keepalived实现Apache服务的高可用负载均衡

Centos7NginxKeepalived实现Apache服务的高可用&负载均衡今天是2017年的第一天&#xff0c;昨天也就是2016年的最后一天&#xff0c;我尝试部署了Centos7NginxKeepalived实现WEB服务的高可用负载均衡服务&#xff0c;终于在2017年的第一天前完成了&#xff0c;所以在此分享…

客户端通过网口启动可过去的ip_西安交通大学16年3月课程考试《网络组网技术综合训练》作业考核试题...

西安交通大学16年3月课程考试《网络组网技术综合训练》作业考核试题一、单选题(共 20 道试题&#xff0c;共 40 分。)V 1. 下列不属于服务器内部结构的是()A. CPUB. 电源C. 5类双绞线D. 北桥芯片满分&#xff1a;2 分2. 网络中使用光缆的优点是()A. 便宜B. 容易安装C. 是一个工…

mcq 队列_MCQ | 软件工程基础知识/简介(1)

mcq 队列Q1. Which of the following is a part of the software? Q1。 以下哪个是软件的一部分&#xff1f; Programs 程式 Documentation 文献资料 Operating Procedures 运营流程 All of the above 上述所有的 Answer: d. All of the above 答案&#xff1a; d。 上述所有…

docker设置镜像加速器

设置镜像加速器 一般情况下&#xff0c;直接从官方仓库中直接拉取镜像会比较慢&#xff0c;可以设置镜像加速器&#xff0c;相当于一个反向代理。以阿里云为例 1 . 首先获取自己的加速器地址 www.aliyun.com 登陆自己的账号&#xff08;可以是支付宝账号&#xff09; 首页点…

keytool条目_java keytool 常用命令

最近在做ssl连接active directory&#xff0c; 遇到了不少的ssl的问题。连接ssl时会需要用将证书保存到keystore&#xff0c; 而这个步骤刚好就用到了keytool命令。直接敲keytool会有提示如何用这个命令&#xff0c; 但对于完全不懂的我&#xff0c;还是找了下基本命令&#xf…

用JavaScript中的示例进行fill()函数

fill() is a predefined function in JavaScript, which is used to fill all elements of an array with a static value. fill()是JavaScript中的预定义函数&#xff0c;用于用静态值填充数组的所有元素。 Example: 例&#xff1a; <html><head><title>J…

谈谈重载(overload)覆盖(override)与隐藏

这三个概念都是与OO中的多态有关系的。如果单是区别重载与覆盖这两个概念是比较容易的&#xff0c;但是隐藏这一概念却使问题变得有点复杂了&#xff0c;下面说说它们的区别吧。重载是指不同的函数使用相同的函数名&#xff0c;但是函数的参数个数或类型不同。调用的时候根据函…

搭建Harbor私有仓库

1 首先装好docker&#xff1a; 由于之前已安装过&#xff0c;所以直接开起就行 2 . 安装python2.7以上版本 之前编译安装过7.3的&#xff0c;直接用吧 3 . 安装docker-compose docker容器管理工具&#xff0c;是habor的依赖之一。 curl -L "https://github.com/docker…

mysql日志查询指令_MySQL查询日志总结

MySQL查询日志介绍MySQL的查询日志记录了所有MySQL数据库请求的信息。无论这些请求是否得到了正确的执行。默认文件名为hostname.log。默认情况下MySQL查询日志是关闭的。生产环境&#xff0c;如果开启MySQL查询日志&#xff0c;对性能还是有蛮大的影响的。另外很多时候&#x…

thinkphp5.0助手函数占用服务器资源

db(user) 默认情况下&#xff0c;每次请求都会重新连接数据库&#xff0c;这样会占用服务器资源 方法1.如果不想每次都重连可以这样 db("List",[],false) 方法2.还可以直接改function&#xff0c;及则需要把 function db($name , $config [], $force true){retu…

python 无符号整数_Python中的有符号和无符号整数数组

python 无符号整数An array can be declared by using "array" module in Python. 可以通过在Python中使用“数组”模块来声明数组 。 Syntax to import "array" module: 导入“数组”模块的语法&#xff1a; import array as array_alias_nameHere, imp…

mysql快速批量入库_MySQL-批量入库优化

MySQL批量入库的方式循环一条一条入库批量入库通过程序组合 insert into (字段) tbl vlaues(), vlaues(), vlaues(),...事务入库$autoCommit (isset($this->startTransaction) ? !$this->startTransaction : true);$ids array();if ($autoCommit) {$this->startTra…

docker集群搭建(k8s)

1 . 理解&#xff1a; Kubernetes是一个开源的&#xff0c;用于管理云平台中多个主机上的容器化的应用&#xff0c;Kubernetes的目标是让部署容器化的应用简单并且高效&#xff08;powerful&#xff09;,Kubernetes提供了应用部署&#xff0c;规划&#xff0c;更新&#xff0c…

Python模拟删除字符串两边的空白

目标&#xff1a;   1.使用string模块的whitespace   2.删除左边、右边以及两边的空白 代码如下&#xff1a; [rootlocalhost python]# cat rmspace.py #!/usr/bin/env python #coding:utf8 """ 使用字符串删除左右两端的空白。 """from str…

xml分析错误:注释未终止_错误:C中的未终止注释(无效的注释块) 常见的C程序错误...

xml分析错误:注释未终止Comments are used to write logic explain or anything that you do not want to compile. In C language there are two types of comments 1) Single line comment and 2) Multi-line comment. 注释用于编写逻辑解释或您不想编译的任何内容。 在C语言…