学习沉淀成长分享 EIGRP. 红茶三杯 ( 朱 SIR) 微博 : Latest update:

Similar documents
Previous on Computer Networks Class 18. ICMP: Internet Control Message Protocol IP Protocol Actually a IP packet

实验三十三 DEIGRP 的配置 一 实验目的 二 应用环境 三 实验设备 四 实验拓扑 五 实验要求 六 实验步骤 1. 掌握 DEIGRP 的配置方法 2. 理解 DEIGRP 协议的工作过程

PCU50 的整盘备份. 本文只针对操作系统为 Windows XP 版本的 PCU50 PCU50 启动硬件自检完后, 出现下面文字时, 按向下光标键 光标条停在 SINUMERIK 下方的空白处, 如下图, 按回车键 PCU50 会进入到服务画面, 如下图

Understanding IO patterns of SSDs

ICP Enablon User Manual Factory ICP Enablon 用户手册 工厂 Version th Jul 2012 版本 年 7 月 16 日. Content 内容

Computer Networks. Wenzhong Li. Nanjing University

组播路由 - MSDP 和 PIM 通过走

IP unnumbered 实验讲义 一. 实验目的 : 二. 实验设备 : 三. 实验拓扑 : 四. 实验内容 :

Multiprotocol Label Switching The future of IP Backbone Technology

EIGRP 实验目的 实验原理 实验设备 可以非均衡负载平衡, 后继路由及可行后继路由, 支持 VLSM, 可以手工汇总, 以及与 IGRP 的兼容性 以上这些特点使得 EIGRP 可以使用在一些大规模的网络中, 而相对的配置比较简单

第二小题 : 逻辑隔离 (10 分 ) OpenFlow Switch1 (PC-A/Netfpga) OpenFlow Switch2 (PC-B/Netfpga) ServerB PC-2. Switching Hub

AvalonMiner Raspberry Pi Configuration Guide. AvalonMiner 树莓派配置教程 AvalonMiner Raspberry Pi Configuration Guide

Logitech G302 Daedalus Prime Setup Guide 设置指南

计算机组成原理第二讲 第二章 : 运算方法和运算器 数据与文字的表示方法 (1) 整数的表示方法. 授课老师 : 王浩宇

Microsoft RemoteFX: USB 和设备重定向 姓名 : 张天民 职务 : 高级讲师 公司 : 东方瑞通 ( 北京 ) 咨询服务有限公司

Command Dictionary CUSTOM

Chapter 7: Deadlocks. Operating System Concepts 9 th Edition

如何查看 Cache Engine 缓存中有哪些网站 /URL

NyearBluetoothPrint SDK. Development Document--Android

libde265 HEVC 性能测试报告

Triangle - Delaunay Triangulator

#MDCC Swift 链式语法应 用 陈乘

nbns-list netbios-type network next-server option reset dhcp server conflict 1-34

<properties> <jdk.version>1.8</jdk.version> <project.build.sourceencoding>utf-8</project.build.sourceencoding> </properties>

Wireless Presentation Pod

display portal server display portal user display portal user count display portal web-server

Presentation Title. By Author The MathWorks, Inc. 1

<?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> <configuration> <!--- global properties --> <property>

Bi-monthly report. Tianyi Luo

public static InetAddress getbyname(string host) public static InetAddress getlocalhost() public static InetAddress[] getallbyname(string host)

新一代 ODA X5-2 低调 奢华 有内涵

测试基础架构 演进之路. 茹炳晟 (Robin Ru) ebay 中国研发中心

EqualLogic Best Practices for SQL Server Deployments

NetScreen 概念与范例. ScreenOS 参考指南 第 7 卷 : 虚拟系统. ScreenOS 编号 SC 修订本 E

Spark Standalone 模式应用程序开发 Spark 大数据博客 -

Safe Memory-Leak Fixing for C Programs

TDS - 3. Battery Compartment. LCD Screen. Power Button. Hold Button. Body. Sensor. HM Digital, Inc.

Congestion Control Mechanisms for Ad-hoc Social Networks 自组织社会网络中的拥塞控制机制

Ganglia 是 UC Berkeley 发起的一个开源集群监视项目, 主要是用来监控系统性能, 如 :cpu mem 硬盘利用率, I/O 负载 网络流量情况等, 通过曲线很容易见到每个节点的工作状态, 对合理调整 分配系统资源, 提高系统整体性能起到重要作用

1. DWR 1.1 DWR 基础 概念 使用使用 DWR 的步骤. 1 什么是 DWR? Direct Web Remote, 直接 Web 远程 是一个 Ajax 的框架

上汽通用汽车供应商门户网站项目 (SGMSP) User Guide 用户手册 上汽通用汽车有限公司 2014 上汽通用汽车有限公司未经授权, 不得以任何形式使用本文档所包括的任何部分

朱晔和你聊 Spring 系列 S1E2: SpringBoot 并不神秘

Command Dictionary -- DAMSTAB

Apache Kafka 源码编译 Spark 大数据博客 -

A Benchmark For Stroke Extraction of Chinese Characters

Oracle 一体化创新云技术 助力智慧政府信息化战略. Copyright* *2014*Oracle*and/or*its*affiliates.*All*rights*reserved.** *

三 依赖注入 (dependency injection) 的学习

OTAD Application Note

Packaging 10Apr2012 Rev V Specification MBXL HSG 1. PURPOSE 目的 2. APPLICABLE PRODUCT 适用范围

Computer Networks. Wenzhong Li. Nanjing University

DPDK Summit China 2017

Software Engineering. Zheng Li( 李征 ) Jing Wan( 万静 )

静态路由 : ip route ; 命令格式 router(config)#ip route ; 静态路由举例 router(config)#ip route

Color LaserJet Pro MFP M477 入门指南

IPC 的 Proxy-Stub 设计模式 ( c)

计算机科学与技术专业本科培养计划. Undergraduate Program for Specialty in Computer Science & Technology

Chapter 1 (Part 2) Introduction to Operating System

Air Speaker. Getting started with Logitech UE Air Speaker. 快速入门罗技 UE Air Speaker. Wireless speaker with AirPlay. 无线音箱 (AirPlay 技术 )

Chapter2 Instruction Sets

Stratix V 器件中的收发器配置. Stratix V 器件含有一个专用的收发器物理编码子层 (PCS) 和物理介质附加子层 (PMA) 电路 要实现一个协议, 请使用表 4-1 中所列出的 PHY IP

H3C CAS 虚拟机支持的操作系统列表. Copyright 2016 杭州华三通信技术有限公司版权所有, 保留一切权利 非经本公司书面许可, 任何单位和个人不得擅自摘抄 复制本文档内容的部分或全部, 并不得以任何形式传播 本文档中的信息可能变动, 恕不另行通知

China Next Generation Internet (CNGI) project and its impact. MA Yan Beijing University of Posts and Telecommunications 2009/08/06.

绝佳的并行处理 - FPGA 加速的根本基石

Technology: Anti-social Networking 科技 : 反社交网络

Declaration of Conformity STANDARD 100 by OEKO TEX

软件和支持订订 1.1 订阅单位定义 订阅服务费用以称为 单位 的计量标准为依据 下表 1.1 定义了用于计量贵方使用的软件订阅的数量的各种单位 在贵方购买行为所适用的订单中以及在附件中包含了各种软件订阅所适用的具体单位

XML allows your content to be created in one workflow, at one cost, to reach all your readers XML 的优势 : 只需一次加工和投入, 到达所有读者的手中

密级 : 博士学位论文. 论文题目基于 ScratchPad Memory 的嵌入式系统优化研究

Chapter 11 SHANDONG UNIVERSITY 1

最短路径算法 Dijkstra 一 图的邻接表存储结构及实现 ( 回顾 ) 1. 头文件 graph.h. // Graph.h: interface for the Graph class. #if!defined(afx_graph_h C891E2F0_794B_4ADD_8772_55BA3

Windows Batch VS Linux Shell. Jason Zhu

Compile times - assert macros

PTZ PRO 2. Setup Guide 设置指南

Build a Key Value Flash Disk Based Storage System. Flash Memory Summit 2017 Santa Clara, CA 1

Company Overview.

测试 SFTP 的 问题在归档配置页的 MediaSense

ngx_openresty: an Nginx ecosystem glued by Lua

Lecture 3 for pipelining

¼'' TS 法律声明 10. MUSIC Tribe

OpenCascade 的曲面.

U-CONTROL UMX610/UMX490/UMX250. The Ultimate Studio in a Box: 61/49/25-Key USB/MIDI Controller Keyboard with Separate USB/Audio Interface

梁永健. W K Leung. 华为企业业务 BG 解决方案销售部 CTO Chief Technology Officer, Solution Sales, Huawei

The Design of Everyday Things

TBarCode OCX Microsoft ActiveX compliant Barcode Control

漂亮的测试. By Alberto Savoia 代码之美 第七章 史际帆

The relational Algebra & calculus cont. Reference : UC Berkeley

Computer Networks. Wenzhong Li. Nanjing University

Murrelektronik Connectivity Interface Part I Product range MSDD, cable entry panels MSDD 系列, 电缆穿线板

2. Introduction to Digital Media Format

CloudStack 4.3 API 开发指南!

Machine Vision Market Analysis of 2015 Isabel Yang

TW5.0 如何使用 SSL 认证. 先使用 openssl 工具 1 生成 CA 私钥和自签名根证书 (1) 生成 CA 私钥 openssl genrsa -out ca-key.pem 1024

T19264B -1 SPECIFICATION FOR APPROVAL 产品说明书 T19264B-1( 带中文字库 ) APPOVED SIGNATURES Blue Moon Customer

CHINA VISA APPLICATION CONCIERGE SERVICE*

MateCam X1 User Manual

Altera 器件高级特性与应用 内容安排 时钟管理 时钟管理 片内存储器 数字信号处理 高速差分接口 高速串行收发器. 时钟偏斜 (skew): 始终分配到系统中到达各个时钟末端 ( 器件内部触发器的时钟输入端 ) 的时钟相位不一致的现象 抖动 : 时钟边沿的输出位置和理想情况存在一定的误差

EBD EBD. end

IPC 的 Proxy-Stub 设计模式 (b)

饲服驱动在激光切割行业的应用 岑海亮

Transcription:

学习沉淀成长分享 EIGRP 红茶三杯 ( 朱 SIR) 微博 :http://t.sina.com/vinsoney Latest update: 2012-06-01

课程目标 EIGRP 协议基础 EIGRP 基础配置

EIGRP 协议基础 EIGRP 的协议特点 EIGRP 的三张表 EIGRP 数据包 初始路由发现 EIGRP metric DUAL 算法

EIGRP 的协议特点 CISCO 私有的高级距离矢量协议 ; 无类路由协议, 支持 VLSM; DUAL 算法,EIGRP 的核心, 形成无环路由 ; 快速收敛, 后继及可行后继 ; 低路由更新开销, 支持组播及单播的方式发送协议数据 ; 支持自动及手工路由汇总 ; 支持等价及非等价负载均衡 ; 支持多种网络层协议 (IP IPX Appletalk,etc.)

EIGRP 的三张表 IP EIGRP Neighbor Table Next-hop Router Interface IP EIGRP Topology Table Destination 1 IP EIGRP Routing Table Destination 1

初始路由发现 A B Neighbor Table 1 HELLO I am Router-A,who is on the link? Neighbor Table 4 Topology Table 3 ACK Hello, I am router B Here is my complete routing information Thanks for the Information HELLO Update 2 Topology Table 5 Update Here is my complete routing information Routing Table Thanks for the Information Converged ACK 6 Routing Table

EIGRP 的 Metric 56K C 3.0/24 A 100M Bandwidth 100M Delay Reliability Loading MTU B

EIGRP 的 Metric R1#show ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is not set C C D D 192.168.12.0/24 is directly connected, FastEthernet1/0 192.168.13.0/24 is directly connected, Serial0/0 3.0.0.0/8 [90/158720] via 192.168.12.2, 00:01:10, FastEthernet1/0 192.168.23.0/24 [90/30720] via 192.168.12.2, 00:01:23, FastEthernet1/0

EIGRP 的 Metric 计算 BW= 10 7 接口最小带宽 kbit/s 256 (kbit/s) 接口最小带宽指的是沿着路由学习过来的方向所有入站接口带宽中最小值 DLY= 延迟 (us) 10 256 (us) 沿着路由学习过来的方向所有入站接口的延迟累加 Metric= K1 BW + K2 BW 256-LOAD + K3 DLY K5 RELIA+K4 默认 K1 = 1, K2 = 0, K3 = 1, K4 = 0, K5 = 0 EIGRP 路由 metric 默认为延迟 + 带宽

EIGRP 的 Metric 计算 MTU:1500 bytes BW:100000 Kbit/sec DLY:100 usec, Reliability:255/255 txload 1/255, rxload 1/255 MTU:1500 bytes BW:1544 Kbit/sec DLY:20000 usec, Reliability:255/255 txload 1/255, rxload 1/255 MTU:1514 bytes BW:8000000 Kbit/sec DLY:5000 usec, Reliability:255/255 txload 1/255, rxload 1/255 Fast0/0 10.1.12.1/24 R1 R2 R3 Fast0/0 10.1.12.2/24 Serial1/0 10.1.23.2/24 Serial0/0 10.1.23.3/24 Loopback 3.3.3.3/32 Delay: 128000 BW: 256 MTU: 1514 HopCount: 0 Reliability: 255 Load: 1 EIGRP Update

EIGRP 的 Metric 计算 MTU:1500 bytes BW:100000 Kbit/sec DLY:100 usec, Reliability:255/255 txload 1/255, rxload 1/255 MTU:1500 bytes BW:1544 Kbit/sec DLY:20000 usec, Reliability:255/255 txload 1/255, rxload 1/255 MTU:1514 bytes BW:8000000 Kbit/sec DLY:5000 usec, Reliability:255/255 txload 1/255, rxload 1/255 Fast0/0 10.1.12.1/24 R1 R2 R3 Fast0/0 10.1.12.2/24 Serial1/0 10.1.23.2/24 Serial0/0 10.1.23.3/24 Loopback 3.3.3.3/32 带宽 : 延迟 : 20000 10 10 7 256 = 1657856 1544 256 + 128000 = 640000 Delay: 128000 BW: 256 MTU: 1514 HopCount: 0 Reliability: 255 Load: 1 EIGRP Update 路由的 Metric: 2297856

EIGRP 的 Metric 计算 MTU:1500 bytes BW:100000 Kbit/sec DLY:100 usec, Reliability:255/255 txload 1/255, rxload 1/255 MTU:1500 bytes BW:1544 Kbit/sec DLY:20000 usec, Reliability:255/255 txload 1/255, rxload 1/255 MTU:1514 bytes BW:8000000 Kbit/sec DLY:5000 usec, Reliability:255/255 txload 1/255, rxload 1/255 Fast0/0 10.1.12.1/24 R1 R2 R3 Fast0/0 10.1.12.2/24 Serial1/0 10.1.23.2/24 Serial0/0 10.1.23.3/24 Loopback 3.3.3.3/32 Delay: 64000 BW: 1657856 MTU: 1500 HopCount: 1 Reliability: 255 Load: 1 EIGRP Update Delay: 128000 BW: 256 MTU: 1514 HopCount: 0 Reliability: 255 Load: 1 EIGRP Update

EIGRP 的 Metric 计算 MTU:1500 bytes BW:100000 Kbit/sec DLY:100 usec, Reliability:255/255 txload 1/255, rxload 1/255 MTU:1500 bytes BW:1544 Kbit/sec DLY:20000 usec, Reliability:255/255 txload 1/255, rxload 1/255 MTU:1514 bytes BW:8000000 Kbit/sec DLY:5000 usec, Reliability:255/255 txload 1/255, rxload 1/255 Fast0/0 10.1.12.1/24 R1 R2 R3 Fast0/0 10.1.12.2/24 Serial1/0 10.1.23.2/24 Serial0/0 10.1.23.3/24 Loopback 3.3.3.3/32 带宽 : 延迟 : 100 10 1657856 256 + 640000 = 642560 路由的 Metric: 2300416

DUAL 算法 Diffusing Update Algorithm, 简称 DUAL, 扩散更新算法 用于计算最佳无环路径和备用路径 特点 : 无环拓扑 可立即使用的无环备用路径 快速收敛 低带宽利用率 ( 通过限定更新实现 )

Successor, Fessible Successor Successor 后继 : 被实际选中作为到达目标网络所使用的下一跳路由器 Fessible Successor 可行后继 : 到达该目标网络的备份下一跳路由器 ( 必须满足 FC) FE1/0 R1 192.168.12.0/24 R3 FE1/0 R2 对于 R3 而言,192.168.12.0/24 路由的 Successor 是 R2

Feasible Distance, Advertised Distance Advertised Distance 通告距离 : 邻居到达目标网络的度量值 Feasible Distance 可行距离 : 邻居到达目标网络的度量值 (AD) 加上本路由器到达该邻居的度量值 Feasible Condition 可行性条件 : 邻居到达目标网络的度量值 (AD) 小于本路由器的 FD 时, 则认为该邻居通告的路径满足 FC FE1/0 R1 192.168.12.0/24 R3 FE1/0 R2

后继 可行后继路由器 FD 及 AD R3#show ip eigrp topology IP-EIGRP Topology Table for AS(1) / ID (192.168.23.3) 后继 Successor 可行后继 FS Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply, r - reply Status, s - sia Status FD P 192.168.12.0/24, 1 successors, FD is 30720 via 192.168.23.2 ( 30720 / 28160 ), FastEthernet1/0 via 192.168.13.1 ( 2172416 / 28160 ), Serial0/0 AD R3#show ip route FD 后继 Successor D 192.168.12.0/24 [90/30720] via 192.168.23.2, 00:10:23, FastEthernet1/0

DUAL 算法 A 10.1.1.0/24 C 的拓扑表 FD AD (1.0) 3 (FD) via B 3 1 (Successor) via D 4 2 (FS) via E 4 3 (1) B (1) D D 的拓扑表 FD AD (1.0) 2 (FD) via B 2 1 (Successor) via C 5 3 (2) (2) (1) E 的拓扑表 C (1) E FD AD (1.0) 3 (FD) via D 3 2 (Successor) via C 4 3

DUAL 算法 IP EIGRP Neighbor Table Neighbor Interface Router A FastEth 0/0 Router B FastEth 1/0 IP EIGRP Topology Table Network FD AD EIGRP Neighbor 10.1.1.0/24 2000 1000 Router A 10.1.1.0/24 2500 1500 Router B Successor Feasible Successor IP Routing Table Network Metric(FD) Out Intf Next-Hop Router 10.1.1.0/24 2000 FastEth 0/0 A

EIGRP 的配置及验证

基础配置 创建 EIGRP 进程, 并进入路由进程的配置模式 Router(config)# router eigrp autonomous-system-num 在指定的接口上激活 EIGRP Router(config-router)# network network [wildcard-mask] 如果不加通配符掩码, 则自动识别为主类通告, 也就是如果键入 network 10.1.1.0, 实际为 network 10.0.0.0

基础配置示例 Loopback0 1.1.1.0/24 R1 S0/0 192.168.12.1/24 S0/0 192.168.12.2/24 R2 S0/1 192.168.23.2/24 S0/0 192.168.23.3/24 R3 Loopback0 3.3.3.0/24 R1 R2 R3 router eigrp 1 network 1.0.0.0 network 192.168.12.0 router eigrp 1 network 192.168.12.0 network 192.168.23.0 router eigrp 1 network 192.168.23.0 network 3.0.0.0

基础配置示例 Loopback0 1.1.1.0/24 R1 S0/0 192.168.12.1/24 S0/0 192.168.12.2/24 R2 S0/1 192.168.23.2/24 S0/0 192.168.23.3/24 R3 Loopback0 3.3.3.0/24 R2#show ip route C 192.168.12.0/24 is directly connected, Serial0/0 D 1.0.0.0/8 [90/2297856] via 192.168.12.1, 00:00:58, Serial0/0 D 3.0.0.0/8 [90/2297856] via 192.168.23.3, 00:00:39, Serial0/1 C 192.168.23.0/24 is directly connected, Serial0/1

基础配置示例 ( 关闭自动汇总 ) Loopback0 1.1.1.0/24 R1 S0/0 192.168.12.1/24 S0/0 192.168.12.2/24 R2 S0/1 192.168.23.2/24 S0/0 192.168.23.3/24 R3 Loopback0 3.3.3.0/24 router eigrp 1 no auto-summary R2#show ip route C 192.168.12.0/24 is directly connected, Serial0/0 1.0.0.0/24 is subnetted, 1 subnets D 1.1.1.0 [90/2297856] via 192.168.12.1, 00:00:06, Serial0/0 D 3.0.0.0/8 [90/2297856] via 192.168.23.3, 00:00:39, Serial0/1 C 192.168.23.0/24 is directly connected, Serial0/1

查看及排错 Router#show ip eigrp neighbors Router#show ip eigrp topology Router#show ip route eigrp Router#show ip protocols Router#show ip eigrp traffic Displays the neighbors discovered by IP EIGRP Displays the IP EIGRP topology table Displays current EIGRP entries in the routing table Displays the parameters and current state of the active routing protocol process Displays the number of IP EIGRP packets sent and received

查看及排错 Router#debug eigrp packet Router#debug eigrp neighbor Router#debug ip eigrp route Router#debug ip eigrp summary Router#show ip eigrp events Displays all types of EIGRP packets, both sent and received Displays the EIGRP neighbor interaction Displays advertisements and changes EIGRP makes to the routing table Displays a brief report of the EIGRP routing activity Displays the different categories of EIGRP activity, including route calculations

EIGRP 负载均衡 等价负载均衡 所谓的等代价路径指的到达同一个目的地度量值相等的路径 默认最多支持 4 条等价路径之间进行流量负载, 最大可为 16 条, 命令 : Maximum-paths? 非等价负载均衡 EIGRP 也能在度量值不同的多条路径之间执行流量负载

EIGRP 非等价负载均衡 Router(config-router)# Variance multiplier multiplier 默认值为 1, 范围 1~128 EIGRP 在多条路径上执行非等价负载均衡的条件 : 路由必须是无环的 ( 即满足 FC 条件 :AD<FDmin) FD <= FDmin multiplier 注 :variance 不指定最大路径, 而指定一个基数 ( 用于乘积计算 )

EIGRP 非等价负载均衡 R1 的拓扑数据库 Network Neighbor FD AD R2 30 10 6.0/24 R3 20 10 R4 45 25 20 R2 5 R5 50 10 10 5 R3 5 R1 20 R4 20 R6 172.16.6.0/24 Router(config-router)# Variance 2 R1 将使用 R2 及 R3 进行不等价负载均衡 ; 流量比例为 :2/5 : 3/5 40 R5 5

学习沉淀成长分享 关注 @ 红茶三杯 :weibo.com/vinsoney Thank You