ROS软路由论坛 ROSABC.com 网络方案网络工程交流

 找回密码
 会员注册

QQ登录

只需一步,快速开始

查看: 3620|回复: 9

基本的EIGRP配置

[复制链接]
发表于 2014-8-8 16:49:14 | 显示全部楼层 |阅读模式

马上注册成为ROSABC会员,随时发帖回复。

您需要 登录 才可以下载或查看,没有账号?会员注册

x



实验过程:

::

:  

1.启动EIGRP进程

sibo1(config)#router eigrp 100

sibo1(config-router)#network 192.168.12.0

sibo1(config-router)#network 172.16.0.0

sibo1(config-router)#network 172.16.1.0

sibo1(config-router)#network 172.16.2.0

sibo1(config-router)#network 172.16.3.0



sibo2(config)#router eigrp 100

sibo2(config-router)#network 192.168.12.0

sibo2(config-router)#network 192.168.23.0



sibo3(config)#router eigrp 100

sibo3(config-router)#network 192.168.23.0

sibo3(config-router)#network 10.0.0.0



2.查看sibo2的路由表

sibo2#show ip route

Gateway of last resort is not set

D   172.16.0.0/16 [90/2297856] via 192.168.12.1, 00:01:11, Serial0

D    10.0.0.0/8 [90/2297856] via 192.168.23.3, 00:01:11, Serial1

C    192.168.12.0/24 is directly connected, Serial0

C    192.168.23.0/24 is directly connected, Serial1

注:EIGRP的代号为D,来源与它的核心算法:DUAL 。EIGRP的自治系统内部管理距离值

为90

。度量值的计算参数为:带宽,延迟,可靠,负载,MTU。但是默认情况下只有带

宽和延迟。



3.查看sibo2上运行的动态路由选择协议

sibo2#show ip protocols  

Routing Protocol is "eigrp 100"

  Outgoing update filter list for all interfaces is not set

  Incoming update filter list for all interfaces is not set

  Default networks flagged in outgoing updates

  Default networks accepted from incoming updates

  EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0



注:计算EIGRP度量值默认的参数是:K1(带宽),K3(延迟)

  EIGRP maximum hopcount 100

  EIGRP maximum metric variance 1

  Redistributing: eigrp 100

  Automatic network summarization is in effect                                 



32   Automatic address summarization:

    192.168.23.0/24 for Serial0

    192.168.12.0/24 for Serial1

  Maximum path: 4

  Routing for Networks:

    192.168.12.0

         192.168.23.0

Routing Information Sources:

    Gateway         Distance      Last Update

    192.168.12.1           90      00:03:53

    192.168.23.3           90      00:03:53

   Distance: internal 90 external 170

注: 在sibo2上宣告的两个网段

4.查看EIGRP的邻居表

sibo2#show ip eigrp neighbors  

IP-EIGRP neighbors for process 100

H   Address    Interface   Hold Uptime   SRTT   RTO  Q  Seq Type

                                        (sec)         (ms)       Cnt Num

1   192.168.23.3   Se1       12 00:23:42   24   200  0  4   

0   192.168.12.1   Se0       11 00:26:44  688  4128  0  3

注:H代表建立EIGRP邻居关系的先后顺序。EIGRP的HELLO时间为5秒,HOLD时间

为15

秒。



5.观察EIGRP的报文更新地址

sibo3#debug ip packet  

IP packet debugging is on

sibo3#

01:18:51: IP: s=192.168.23.3 (local), d=224.0.0.10 (Serial1), len 60, sending broad/multicast

01:18:52: IP: s=10.0.0.1 (local), d=224.0.0.10 (Loopback0), len 60, sending broad/multicast

01:18:52: IP: s=10.0.0.1 (Loopback0), d=224.0.0.10, len 60, rcvd 2

01:18:53: IP: s=192.168.23.2 (Serial1), d=224.0.0.10, len 60, rcvd 2



注:EIGRP使用组播地址224.0.0.10来参与EIGRP进程

sibo3#u all



注:速关闭debug信息


评分

参与人数 1 +3 收起 理由
爱普信 + 3 赞一个!

查看全部评分

您需要登录后才可以回帖 登录 | 会员注册

本版积分规则

不良信息举报Q:2000617

软路由

不良信息举报Q:2000617|Archiver|ROS软路由论坛 ROSABC.com 网络方案网络工程交流

GMT+8, 2024-4-25 06:36 , Processed in 0.144376 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表