igrp不支持无类路由

eigrp思科私有

扩展更新算法dual

k值

metric=cost

[10^7/BWmin+delaysum]*256

距离矢量路由协议

触发更新

ip bandwidth-percent eigrp来改变缺省占用总带宽的百分比.缺省情况下,egirp协议使用的带宽不超过链路总带宽的50%.

eigrp无类别的路由协议,更新包含子网掩码.

tcp/ip_eigrp-1

1.邻居建立:k值,asno.组播地址,认证,主地址

2.观察metric值以及修改delay来负载均衡

3.offset-list的使用会更加精确

r1:

router eigrp 90(建立邻居as number必须相同)

network 12.1.1.0 0.0.0.3

network 10.1.4.0 0.0.0.255

network 10.1.5.1 0.0.0.0

show ip eigrp interfaces

network 13.1.1.0 0.0.0.255

r2:

router eigrp 90

network 0.0.0.0 0.0.0.0

ping 224.0.0.10

eigrp建立邻居过程

当a发送hello包到224.0.0.10,问谁在这个链路上,b也发送hello包到224.0.0.10,b收到hello包,开始建立邻居,发送update包,更新所有的路由信息,a使用ack确认.然后a再把自己所有的路由信息发送给b,b回复ack确认收到信息.

eigrp包/报文

1.hello:用于建立和维护eigrp的邻居关系destination 224.0.0.10。

2.update:用于发送eigrp的路由更新信息destination 224.0.0.10,当只有一个peer需要更新时为单播

3.query:用于向邻居发送的路由查询信息destination 224.0.0.10

4.reply:用于相应路由信息查询(unicast)

5.ack:用于eigrp的可以传输的确认,是对2.3.4三种包的确认.(unicast packet,对upate、query、reply进行确认).

6.sia-query:用于避免sia超时导致邻居关系重置

7.sia-reply:用于避免sia超时导致邻居关系重置

eigrp hello packets

two routers become neighbors when they the hello packet of the other router.

hello address=224.0.0.10

eigrp does no form neighbor if k values

are mismatched.k值不一样建立不起邻居

eigrp does not from neighbor if as numbers

are mismatched.as号不一样建立不起邻居

其他条件:主接口下发出hello包;认证通过;组播可达(或对端邻居在本端的直连网络内)

r1:

show ip protocols

k1=1,k2=0,k3=1,k4=0,k5=0

metric wights 0 1 0 1 0 0

no network 12.1.1.0 0.0.0.255

network 10.1.1.1 0.0.0.0

int s0/0

ip add 10.1.1.1 255.255.255.0 secondary

show ip route connected

r2:

router eigrp 90

no network 0.0.0.0 0.0.0.0

network 12.1.1.2 0.0.0.0

int s0/0

ip add 12.1.1.2 255.255.255.0

ip add 10.1.1.2 255.255.255.0 secondary

r1:

router eigrp 90

no network 10.1.1.1 0.0.0.0(使用secondary建立邻居一边有邻居一边没有,eigrp必须使用主地址更新)

int s0/0

ip add 12.1.1.1 255.255.255.252

r2:

int s0/0

ip add 12.1.1.2 255.255.255.252

router eigrp 90

network 12.1.1.2 0.0.0.0

r1:

router eigrp 90

network 12.1.1.1 0.0.0.0

int s0/0

no ip add 12.1.1.2 255.255.255.0 secondary

r2:

int s0/0

no ip add 10.1.1.2 255.255.255.0 secondary

ip add 12.1.1.4 255.255.255.248

router eigrp 90

network 12.1.1.0 0.0.0.7

int s0/0

ip add 12.1.1.2 255.255.255.252

r1:

ip access-list extended 100

deny ip 88 any any

permit ip any any

int s0/0

ip access-group 100 in

r2:

ping 224.0.0.10

r1:

ip access-list extended 100

no 20

5 permit eigrp any any

int s0/0

no ip access-group 100 in

eigrp协议包含以下4个部件

依赖于协议的模块

可靠传输协议(rtp)

邻居发现和恢复

扩散更新算法(dual)