首页 > 代码库 > eigrp 负载均衡和非负载均衡实验

eigrp 负载均衡和非负载均衡实验

wKiom1QxQkXDcaMbAALYH-c0wrA094.jpg

wKioL1QxQnnDKQozAAM6Lx-eaCc254.jpg

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 负载均衡和非负载均衡实验