EIGRP enhanced interior gateway routing protocol
前身IGRP 100台
EIGRP 特点
1.范围:IGP
2.设计原理:复合型协议 距离矢量+链路状态 ==高级距离矢量协议
3.有类无类: VLSM CIDR
L2
IP
EIGRP 88
FCS
4.包结构
5.本地计算,扩散更新,毫秒级收敛
6.增量更新,
7.支持多种网络协议 IPV4 IPV6 IP TALK
8.灵活的网络设计 地址规划 路由汇总
9.组播和单播更新替代广播更新224.0.0.10
10.100%无环路由
11.简单配置
12.支持非等价负载均衡
13.灵活的路由控制
A 0
0.0.0.0 --127.255.255.255
B10
128.0.0.0 -191.255.255.255
C110
192.0.0.0-223.255.255.255
有类路由
掩码为/8 /16 /24的主类路由
无类路由
Metric=BANDWIDTH + DELAY
BANDWIDTH=256* 107 / min bandwidth
DELAY= 256 *summary delay /10
Ethernet0/0 is up, line protocol is up
Hardware is AmdP2, address is cc00.4798.0000 (bia cc00.4798.0000)
Internet address is 21.1.1.1/24
MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
Serial1/0 is up, line protocol is up
Hardware is M4T
Internet address is 12.1.1.1/24
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
Loopback0 is up, line protocol is up
Hardware is Loopback
Internet address is 1.1.1.1/24
MTU 1514 bytes, BW 8000000 Kbit, DLY 5000 usec,
Min bandwidth
Delay summary
FD
AD
R1-R2 EHTER0/0
10000 Kbit
6000 usec
409600
128256
R1-R2 seral1/0
BW 1544 Kbit
25000 usec
2297856
128256
Walls-eigrp3
2014年9月7日
13:51
分区07EIGRP 的第1 页
R1-R2 seral1/0
BW 1544 Kbit
25000 usec
2297856
128256
256000+153600=
1657856+640000
256+128000
EIGRP的汇总
172.16.12.0/24
172.16.13.0/24
172.16.14.0/24
172.16.15.0/24
172.16.12.0/22
R3#sh ip route | in 172
172.16.0.0/22 is subnetted, 1 subnets
D 172.16.12.0 [90/2553856] via 13.1.1.1, 00:00:11, Serial1/0
R1#sh ip route | in 172
172.16.0.0/16 is variably subnetted, 5 subnets, 2 masks
D 172.16.12.0/22 is a summary, 00:01:04, Null0
D 172.16.12.0/24 [90/640000] via 12.1.1.2, 00:05:30, Ethernet0/0
D 172.16.13.0/24 [90/640000] via 12.1.1.2, 00:05:26, Ethernet0/0
D 172.16.14.0/24 [90/640000] via 12.1.1.2, 00:05:21, Ethernet0/0
D 172.16.15.0/24 [90/640000] via 12.1.1.2, 00:05:16, Ethernet0/0
interface Serial1/0
ip address 13.1.1.1 255.255.255.0
ip summary-address eigrp 100 172.16.12.0 255.255.252.0 5
interface Ethernet0/0
ip address 12.1.1.1 255.255.255.0
ip summary-address eigrp 100 192.168.12.0 255.255.252.0 200
R3#sh ip route | in 172
172.16.0.0/22 is subnetted, 1 subnets
D 172.16.12.0 [90/2553856] via 13.1.1.1, 00:15:36, Serial1/0
R2#sh ip route | in 192
D 192.168.12.0/22 [90/2553856] via 12.1.1.1, 00:01:35, Ethernet0/0
泄露列表
在汇总路由中放行相应的路由条目(属性不改变)
access-list 11permit 192.168.13.0
route-map wallspermit 10
match ip address 11
interface Ethernet0/0
ip address 12.1.1.1 255.255.255.0
ip summary-address eigrp 100 192.168.12.0 255.255.252.0 5 leak-map walls
R2#sh ip route | in 192
D EX 192.168.13.0/24 [170/2553856] via 12.1.1.1, 00:00:28, Ethernet0/0
D 192.168.12.0/22 [90/2553856] via 12.1.1.1, 00:03:55, Ethernet0/0
分区07EIGRP 的第2 页
非等价负载均衡
FD
AD
属性
bangwidth
Delay summary
R5-R1-R4
435200
409600
CS
10000
7000
R5-R2-R4
2323456
409600
FS
1544
26000
R5-R3-R4
2809856
2297856
1544
45000
256000+
1657856+
Ethernet0/0 is up, line protocol is up
MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
Serial1/0 is up, line protocol is up
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
Loopback0 is up, line protocol is up
MTU 1514 bytes, BW 8000000 Kbit, DLY 5000 usec,
CS‘FD * variance> FS‘FD
4.0.0.0/24 is subnetted, 1 subnets
D 4.4.4.0 [90/435200] via 15.1.1.1, 00:00:16, Ethernet0/0
P 4.4.4.0/24, 1 successors, FD is 435200
via 15.1.1.1 (435200/409600), Ethernet0/0
via 25.1.1.2 (2323456/409600), Serial1/0
变更后
router eigrp 100
variance 6
network 0.0.0.0
no auto-summary
D 4.4.4.0 [90/2323456] via 25.1.1.2, 00:00:16, Serial1/0
[90/435200] via 15.1.1.1, 00:00:16, Ethernet0/0
R5#traceroute 4.4.4.4
Type escape sequence to abort.
Tracing the route to 4.4.4.4
1 25.1.1.2 84 msec
15.1.1.1 32 msec
25.1.1.2 56 msec
2 14.1.1.4 32 msec
24.1.1.4 36 msec
14.1.1.4 44 msec
R5#traceroute 4.4.4.4
Type escape sequence to abort.
分区07EIGRP 的第3 页
Type escape sequence to abort.
Tracing the route to 4.4.4.4
1 15.1.1.1 20 msec 32 msec 40 msec
2 14.1.1.4 36 msec 28 msec 60 msec
R5#traceroute 4.4.4.4
Type escape sequence to abort.
Tracing the route to 4.4.4.4
1 15.1.1.1 32 msec 36 msec 32 msec
2 14.1.1.4 56 msec
24.1.1.4 52 msec
14.1.1.4 28 msec
R5#traceroute 4.4.4.4
偏移列表
Offer-set list
4.0.0.0/24 is subnetted, 1 subnets
D 4.4.4.0 [90/2323456] via 25.1.1.2, 00:15:48, Serial1/0
[90/435200] via 15.1.1.1,
44.0.0.0/24 is subnetted, 1 subnets
D 44.44.44.0 [90/2323456] via 25.1.1.2, 00:00:05, Serial1/0
[90/435200] via 15.1.1.1, 00:00:05, Ethernet0/0
access-list 44 permit 44.44.44.0
router eigrp 100
offset-list 44 in 1888256 Ethernet0/0
4.0.0.0/24 is subnetted, 1 subnets
D 4.4.4.0 [90/2323456] via 25.1.1.2, 00:00:06, Serial1/0
[90/435200] via 15.1.1.1, 00:00:06, Ethernet0/0
44.0.0.0/24 is subnetted, 1 subnets
D 44.44.44.0 [90/2323456] via 25.1.1.2, 00:00:08, Serial1/0
[90/2323456] via 15.1.1.1, 00:00:08, Ethernet0/0
Key chain
key chain cisco
key 1
key-string CCNA
accept-lifetime 00:00:00 Jan 1 2011: 00:0010 Jan 1 2012
send-lifetime 00:00:00 Jan 1 2011 00:00:10 Jan 1 2012
key 2
key-string CCNP
accept-lifetime 00:00:00 Jan 1 2012 00:00:10 Jan 1 2013
send-lifetime 00:00:00 Jan 1 2012 00:00:10 Jan 1 2013
key 3
key-string CCIE
accept-lifetime 00:00:00 Jan 1 2013 00:00:10 Jan 1 2014
send-lifetime 00:00:00 Jan 1 2013 00:00:10 Jan 1 2014
interface Ethernet0/0
ip address 14.1.1.1 255.255.255.0
ip authentication mode eigrp 100 md5
ip authentication key-chain eigrp 100 cisco
分区07EIGRP 的第4 页
R1#clock set 00:00:00 1 jan 2011
Key-chain cisco:
key 1 --text "CCNA"
accept lifetime (00:00:00 UTC Jan 1 2011) -(00:00:10 UTC Jan 1 2012)
send lifetime (00:00:00 UTC Jan 1 2011) -(00:00:10 UTC Jan 1 2012)
key 2 --text "CCNP"
accept lifetime (00:00:00 UTC Jan 1 2012) -(00:00:10 UTC Jan 1 2013)
send lifetime (00:00:00 UTC Jan 1 2012) -(00:00:10 UTC Jan 1 2013)
key 3 --text "CCIE"
accept lifetime (00:00:00 UTC Jan 1 2013) -(00:00:10 UTC Jan 1 2014)
send lifetime (00:00:00 UTC Jan 1 2013) -(00:00:10 UTC Jan 1 2014)
R1#sh key chain
Key-chain cisco:
key 1 --text "CCNA"
accept lifetime (00:00:00 UTC Jan 1 2011) -(00:00:10 UTC Jan 1 2012)
send lifetime (00:00:00 UTC Jan 1 2011) -(00:00:10 UTC Jan 1 2012)
key 2 --text "CCNP"
accept lifetime (00:00:00 UTC Jan 1 2012) -(00:00:10 UTC Jan 1 2013) [valid now]
send lifetime (00:00:00 UTC Jan 1 2012) -(00:00:10 UTC Jan 1 2013) [valid now]
key 3 --text "CCIE"
accept lifetime (00:00:00 UTC Jan 1 2013) -(00:00:10 UTC Jan 1 2014)
send lifetime (00:00:00 UTC Jan 1 2013) -(00:00:10 UTC Jan 1 2014)
155.5.0.0/24 is subnetted, 1 subnets
D EX 155.5.5.0 [170/409600] via 15.1.1.5, 00:00:08, Ethernet0/1
55.0.0.0/24 is subnetted, 1 subnets
D EX 55.55.55.0 [170/409600] via 15.1.1.5, 00:00:08, Ethernet0/1
5.0.0.0/24 is subnetted, 1 subnets
D 5.5.5.0 [90/409600] via 15.1.1.5, 00:00:08, Ethernet0/1
172.16.0.0/23 is subnetted, 1 subnets
D 172.16.12.0 [90/409600] via 15.1.1.5, 00:00:08, Ethernet0/1
15.0.0.0/24 is subnetted, 1 subnets
C 15.1.1.0 is directly connected, Ethernet0/1
D*EX 0.0.0.0/0 [170/307200] via 15.1.1.5, 00:00:10, Ethernet0/1
分区07EIGRP 的第5 页
eigrp 负载均衡和非负载均衡实验
时间: 2024-10-19 19:37:39
eigrp 负载均衡和非负载均衡实验的相关文章
Keepalived+Haproxy双主高可用负载均衡web和mysql综合实验
日期及版本:2014.5.4v1.0 架构图 实验目的: 1.Haproxy+Keepalived双主双机高可用模型,keepalived为Haproxy主从提供高可用保证haproxy-master若挂掉haproxy-backup能无缝接管,haproxy为后端Web提供负载均衡,缓解并发压力,实现WEB站点负载均衡+高可用性: 2. Haproxy反代web做动静分离: 3. Haproxy反代mysql 算法leastconn和roundrobin的不同效果: 系统环境: OS:cent
【重要】Nginx实现HTTP负载均衡和TCP负载均衡
说明:很简单一个在HTTP模块中,而另外一个和HTTP 是并列的Stream模块(Nginx 1.9.0 支持) 一.两个模块的最简单配置如下 1.HTTP负载均衡: http { include mime.types; default_type application/octet-stream; upstream live_node { server 127.0.0.1:8089; server 127.0.0.1:8088; } server { listen 80; server_name
Nginx负载均衡和LVS负载均衡的比较分析(转)
Nginx负载均衡和LVS负载均衡的比较分析 作者:匿名 来源:ChinaZ源码报导 浏览:1032次 2011-12-6 15:12:27 字号:大 中 小 [摘要]Nginx是一个高性能的 HTTP 和 反向代理 服务器,也是一个 IMAP/POP3/SMTP 代理服务器.本文介绍Nginx负载均衡和LVS负载均衡的比较分析. LVS和Nginx都可以用作多机负载的方案,它们各有优缺,在生产环境中需要好好分析实际情况并加以利用. 首先提醒,做技术切不可人云亦云,我云即你云:同时也不可太趋向保
负载均衡总结(四层负载与七层负载的区别)
https://www.jianshu.com/p/9826d866080a 1. 什么是负载均衡 负载均衡 建立在现有网络结构之上,它提供了一种廉价有效透明的方法扩展网络设备和服务器的带宽.增加吞吐量.加强网络数据处理能力.提高网络的灵活性和可用性. 2. 负载均衡分类 负载均衡根据所采用的设备对象(软/硬件负载均衡),应用的OSI网络层次(网络层次上的负载均衡),及应用的地理结构(本地/全局负载均衡)等来分类.本文着重介绍的是根据应用的 OSI 网络层次来分类的两个负载均衡类型. 我们先来看
nginx负载均衡和lvs负载均衡的比较分析
一.lvs的优势: 1.抗负载能力强,因为lvs工作方式的逻辑是非常之简单,而且工作在网络4层仅做请求分发之用,没有流量,所以在效率上基本不需要太过考虑.在我手里的 lvs,仅仅出过一次问题:在并发最高的一小段时间内均衡器出现丢包现象,据分析为网络问题,即网卡或linux2.4内核的承载能力已到上限,内存和 cpu方面基本无消耗. 2.配置性低,这通常是一大劣势,但同时也是一大优势,因为没有太多可配置的选项,所以除了增减服务器,并不需要经常去触碰它,大大减少了人为出错的几率. 3.工作稳定,因为
Nginx学习笔记06负载均衡之(一)负载均衡介绍
1.1.1. 负载均衡的介绍 Nginx中使用upstream配置块,可以方便的配置出一个基于反向代理的负载均衡解决方案. 在upstream中可以包含多个server配置项,每个server配置项指定一个主机地址和端口号,代表一个主机(上游服务器). 在proxy_pass配置反向代理时,可以不指定最终的主机地址,而是只指定upstream配置块指定的引用名称.在本文中,upstream配置了一个包含三个主机地址的负载均衡主机集群. 配置内容: http { include mim
windows第四层负载均衡--基于NLB负载均衡
上面有一篇文章说windows第七层负载均衡,这次讲讲第四层负载均衡 TCP/IP协议族,第七层是应用层,第四层是传输层.第四层负载均衡主要通过IP进行转化. 一些优秀的第四层负载均衡软件,速度可以接近硬件负载均衡的效率.当然,论速度还是人家硬件的快一点点,毕竟人家那价格摆在那里,一台F5,十几万,几十万,上百万不等. 第四层重与第七层相比:优秀就是速度快,能感知集群服务器的状态.缺点就是不能感知应用层软件的状态,比如IIS站点挂掉,但是如果服务器没有挂掉,转化流量用继续流入该服务器. 现在很多
【负载均衡】F5负载均衡虚拟机版本部署
一.部署环境 虚拟机:ESXI6.0 F5虚拟版本:BIG-IP release 12.1.2 二.下载F5虚机 下载地址:F5虚拟机下载地址,选择自己想要的版本下载(需要注册F5账号) 三.部署F5虚拟 选择 文件>>部署OVF模板 往下面一直选择下一步>>下一步就可以了 这里选择Thin Provision(就是虚拟机用多少空间就占用多少空间) 这里的网卡一定要配置好,需要四个不同段的网卡 Managent 管理口 External 外网口 Internal
nginx+2tomcat的负载均衡环境,负载均衡策略用权重形式
1 安装jdk 2 安装两个tomcat,修改两个tomcat中端口号 3 安装nginx,并配置nginx,其中10001,20001是tomcat端口号,8044是nginx端口号:weight是设置权重 4 修改两个tomcat中的index.jsp文件,随便改点内容,以便访问时区分 5 重启两个tomcat服务 6 重启nginx服务 7 浏览器访问nginx,我的是这个地址:http://192.168.154.129:8044/index.jsp,每次刷新,都会在两个tomcat之间