<?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

 

 

IGRPRIP一样属于距离向量路由协议,相对RIP来说,他的跳数限制为255。同时,它具有更快的响应,更好的拓展性。不支持可变长子网掩码(VLSM)。
默认情况下IGRP之使用带宽和时延两种度量值。
主要命令:

(ROUTER1)
Int  fa0
Ip  add  172.16.6.1  255.255.255.0
no  sh
int  s0
ip  add  172.16.12.1  255.255.255.0
no  sh
int  s1
ip  add  172.16.13.1  255.255.255.0
no  sh

 

router  igrp  100
net  172.16.6.0
net  172.16.12.0
net  172.16.13.0

 

其他路由做类似配置即可。注意使用 sh  con 查看DCE设备并设置时钟。

配置igrp路由协议跟配置rip步骤相同,基本上就是把自己直接相连的网络发布一下就可以了。唯一要注意的就是IGRP需要配置“自制系统号”,且这三个路由需要配置相同自制系统号。

 

查看连接
R1#sh ip r
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
       U - per-user static route

 

Gateway of last resort is not set

 

     172.16.0.0/24 is subnetted, 6 subnets
C       172.16.6.0 is directly connected, FastEthernet0
C       172.16.12.0 is directly connected, Serial0
C       172.16.13.0 is directly connected, Serial1
I       172.16.7.0 [100/651] via 172.16.12.2, 00:05:15, Serial0
I       172.16.23.0 [100/651] via 172.16.13.2, 00:04:20, Serial1
I       172.16.8.0 [100/651] via 172.16.13.2, 00:06:24, Serial1

 显示路由器送出的IGRP路偶更新交互报文:debug ip egrp trans