首页 技术 正文
技术 2022年11月17日
0 收藏 805 点赞 2,962 浏览 1267 个字

路由协议概述

  • 通过一种路由协议学习到了多个去往同一目标网络的路由,metric小的放入路由表中。metric一样,同时放进路由表。
  • 通过多种路由协议学习到了去往同一目标网络的路由,路由协议管理距离小的路由协议学习来的路由放入路由表。

距离矢量路由协议特点:周期更新、完整更新、广播更新

链路状态路由协议特点:触发更新、增量更新、组播更新

管理距离:

Connected interface

0

Static route

1

Enhanced Interior Gateway Routing Protocol (EIGRP) summary route

5

External Border Gateway Protocol (BGP)

20

Internal EIGRP

90

IGRP

100

OSPF

110

Intermediate System-to-Intermediate System (IS-IS)

115

Routing Information Protocol (RIP)

120

Exterior Gateway Protocol (EGP)

140

On Demand Routing (ODR)

160

External EIGRP

170

Internal BGP

200

Unknown*

255

RIP (Routing Information Protocol)

RIP v1

RIPv2

路由协议

有类

无类

VLSM

不支持

支持

发送路由条目是否携带子网掩码

更新地址

255.255.255.255

224.0.0.9

是否支持认证

不支持

支持

更新协议端口

UDP 520

最大跳数

15 (16为不可达)

配置:

Router(config)#router rip                           //      进入路由协议RIP配置模式

Router(config-router)#version 2               //  更改RIP版本为第二版本

Router(config-router)#no auto-summary         // 关闭自动汇总功能

Router(config-router)#network 192.168.1.0           // 通告网络进入RIP进程

Router(config-router)#network 10.0.0.0

Router(config-router)#network 172.16.0.0

Router(config-router)#end

network后面的网络如果包含了接口的网络地址,那么该接口网络地址通告进入RIP进程,在该接口上发出更新包。

通告路由条目规则:

与发送端口不在同一主类网,将汇总为主类网通告出去。(no auto-summary可以关闭次功能)

与发送端口在同一主类网,与接口掩码相同通告出去,不同将丢弃(v1有此限制,v2没有)

ACL (Access Control List)

标准ACL:1—99  只匹配数据包中的源IP地址

扩展ACL:  100—199  可以匹配数据包中的 源IP地址、目标IP地址、源端口号、目标端口号、协议

u  ACL匹配原则:自上而下、优先匹配、末尾隐含拒绝

相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:9,493
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,907
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,740
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,495
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:8,133
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:5,297