首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在我的网络中配置EIGRP?

如何在我的网络中配置EIGRP?
EN

Network Engineering用户
提问于 2021-06-16 16:44:41
回答 1查看 65关注 0票数 0

我有以下网络

使用下列路由表:

路由器1的配置

代码语言:javascript
复制
Building configuration...

Current configuration : 1056 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R1
!
!
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
license udi pid CISCO2911/K9 sn FTX1524KELG-
!
!
!
!
!
!
!
!
!
no ip domain-lookup
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface GigabitEthernet0/0
 ip address 189.135.190.142 255.255.255.252
 duplex auto
 speed auto
!
interface GigabitEthernet0/1
 ip address 189.135.190.146 255.255.255.252
 duplex auto
 speed auto
!
interface GigabitEthernet0/2
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Serial0/3/0
 ip address 189.135.190.150 255.255.255.252
 clock rate 2000000
!
interface Serial0/3/1
 no ip address
 clock rate 2000000
 shutdown
!
interface Vlan1
 no ip address
 shutdown
!
router eigrp 1
 network 189.135.0.0
 network 189.135.190.140 0.0.0.3
 network 189.135.190.144 0.0.0.3
 network 189.135.190.148 0.0.0.3
 auto-summary
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
 login
!
!
!
end

路由器2的配置

代码语言:javascript
复制
Building configuration...

Current configuration : 1388 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R2
!
!
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
license udi pid CISCO2911/K9 sn FTX15242TEU-
!
!
!
!
!
!
!
!
!
no ip domain-lookup
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface GigabitEthernet0/0
 ip address 189.135.190.154 255.255.255.252
 duplex auto
 speed auto
!
interface GigabitEthernet0/1
 ip address 189.135.190.158 255.255.255.252
 duplex auto
 speed auto
!
interface GigabitEthernet0/2
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Serial0/2/0
 ip address 189.135.190.162 255.255.255.252
!
interface Serial0/2/1
 no ip address
 clock rate 2000000
 shutdown
!
interface Serial0/3/0
 ip address 189.135.190.166 255.255.255.252
!
interface Serial0/3/1
 ip address 189.135.190.170 255.255.255.252
 clock rate 2000000
!
interface Vlan1
 no ip address
 shutdown
!
router eigrp 1
 network 189.135.0.0
 network 189.135.190.152 0.0.0.3
 network 189.135.190.156 0.0.0.3
 network 189.135.190.160 0.0.0.3
 network 189.135.190.164 0.0.0.3
 network 189.135.190.168 0.0.0.3
 network 189.135.190.140 0.0.0.3
 network 189.135.190.144 0.0.0.3
 network 189.135.190.148 0.0.0.3
 network 189.135.190.0 0.0.0.3
 auto-summary
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
 login
!
!
!
end

路由器3的配置:

代码语言:javascript
复制
Current configuration : 954 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R3
!
!
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
license udi pid CISCO2901/K9 sn FTX1524XOO5-
!
!
!
!
!
!
!
!
!
no ip domain-lookup
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface GigabitEthernet0/0
 ip address 189.135.190.174 255.255.255.252
 duplex auto
 speed auto
!
interface GigabitEthernet0/1
 ip address 189.135.190.178 255.255.255.252
 duplex auto
 speed auto
!
interface Serial0/3/0
 ip address 189.135.190.182 255.255.255.252
!
interface Serial0/3/1
 ip address 189.135.190.186 255.255.255.252
!
interface Vlan1
 no ip address
 shutdown
!
router eigrp 1
 network 189.135.190.172 0.0.0.3
 network 189.135.190.176 0.0.0.3
 network 189.135.190.180 0.0.0.3
 network 189.135.190.184 0.0.0.3
 
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
 login
!
!
!
end

路由器4的配置:

代码语言:javascript
复制
Building configuration...

Current configuration : 924 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R4
!
!
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
license udi pid CISCO2911/K9 sn FTX1524GKO1-
!
!
!
!
!
!
!
!
!
no ip domain-lookup
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface GigabitEthernet0/0
 ip address 189.135.190.190 255.255.255.252
 duplex auto
 speed auto
!
interface GigabitEthernet0/1
 ip address 189.135.190.194 255.255.255.252
 duplex auto
 speed auto
!
interface GigabitEthernet0/2
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Serial0/3/0
 ip address 189.135.190.198 255.255.255.252
 clock rate 2000000
!
interface Serial0/3/1
 ip address 189.135.190.202 255.255.255.252
 clock rate 2000000
!
interface Vlan1
 no ip address
 shutdown
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
 login
!
!
!
end

正如您所看到的,我已经尝试将网络与相应的网络ID连接在一起,但是没有出现"eigrp路由链接“的传说,所以我做了一些错误的事情。任何帮助都是非常感谢的,谢谢。

EN

回答 1

Network Engineering用户

回答已采纳

发布于 2021-06-16 17:13:44

链路两端的路由器接口必须位于同一子网中。例如,R1和R2之间的链接不在两端的同一子网中寻址。

票数 0
EN
页面原文内容由Network Engineering提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://networkengineering.stackexchange.com/questions/74266

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档