CCNP路由重分发(四)EIGRP-to-ISIS

简介:
这个实验是关于EIGRP和ISIS网络之间的路由重分发。ISIS也属于链路状态路由,采用的也是分层结构,但与OSPF不同的是ISIS每一个路由器只能属于一个区域,而OSPF则可以将同一个路由器上的不同接口分配到不同的区域中。
 
先看一下实验的拓扑图吧,这个图有点没画好,配置ISIS的路由器只能属于一个区域,希望大家不要被小圆圈误导
实验用的时小凡的模拟器,路由器连接拓扑如下表:
Router1 S0/0 <----> Router2 S0/1 
Router2 S0/0 <----> Router3 S0/1 
Router3 S0/0 <----> Router4 S0/1
未配置路由重分发前个路由器路由表的状况:
R1#sh ip route

Gateway of last resort is not set
     10.0.0.0/8 is variably subnetted, 5 subnets, 2 masks
D       10.0.0.8/30 [90/2681856] via 10.0.0.2, 00:27:40, Serial0/0
C       10.2.0.0/16 is directly connected, Loopback1
C       10.3.0.0/16 is directly connected, Loopback2
C       10.0.0.0/30 is directly connected, Serial0/0
C       10.1.0.0/16 is directly connected, Loopback0
R2#sh ip route

Gateway of last resort is not set
     10.0.0.0/8 is variably subnetted, 9 subnets, 2 masks
i L2    10.10.0.0/16 [115/30] via 10.0.0.10, Serial0/0
i L2    10.11.0.0/16 [115/30] via 10.0.0.10, Serial0/0
i L2    10.8.0.0/16 [115/20] via 10.0.0.10, Serial0/0
C       10.0.0.8/30 is directly connected, Serial0/0
i L2    10.9.0.0/16 [115/30] via 10.0.0.10, Serial0/0
D       10.2.0.0/16 [90/2297856] via 10.0.0.1, 00:12:47, Serial0/1
D       10.3.0.0/16 [90/2297856] via 10.0.0.1, 00:12:47, Serial0/1
C       10.0.0.0/30 is directly connected, Serial0/1
D       10.1.0.0/16 [90/2297856] via 10.0.0.1, 00:12:47, Serial0/1
R3#sh ip route

Gateway of last resort is not set
     10.0.0.0/8 is variably subnetted, 5 subnets, 2 masks
i L1    10.10.0.0/16 [115/20] via 10.8.0.2, Serial0/0
i L1    10.11.0.0/16 [115/20] via 10.8.0.2, Serial0/0
C       10.8.0.0/16 is directly connected, Serial0/0
C       10.0.0.8/30 is directly connected, Serial0/1
i L1    10.9.0.0/16 [115/20] via 10.8.0.2, Serial0/0
R4#sh ip route
Gateway of last resort is 10.8.0.1 to network 0.0.0.0
     10.0.0.0/16 is subnetted, 4 subnets
C       10.10.0.0 is directly connected, Loopback1
C       10.11.0.0 is directly connected, Loopback2
C       10.8.0.0 is directly connected, Serial0/1
C       10.9.0.0 is directly connected, Loopback0
i*L1 0.0.0.0/0 [115/10] via 10.8.0.1, Serial0/1
在路由器R2上配置路由重分发:
R2#sh run | be router
 ip router isis 
 serial restart-delay 0
 isis circuit-type level-2-only
!
router eigrp 100
 redistribute isis metric 2000 100 255 1 1500
 network 10.0.0.0
 auto-summary
!
router isis 
 net 49.0001.2222.2222.2222.00
 is-type level-2-only
 redistribute eigrp 100 metric 20 metric-type external
!
配置完路由重分发后各路由器上的路由表状况:
R1# sh ip route

Gateway of last resort is not set
     10.0.0.0/8 is variably subnetted, 9 subnets, 2 masks
D EX    10.10.0.0/16 [170/2195456] via 10.0.0.2, 00:05:00, Serial0/0
D EX    10.11.0.0/16 [170/2195456] via 10.0.0.2, 00:05:00, Serial0/0
D EX    10.8.0.0/16 [170/2195456] via 10.0.0.2, 00:05:00, Serial0/0
D       10.0.0.8/30 [90/2681856] via 10.0.0.2, 00:37:31, Serial0/0
D EX    10.9.0.0/16 [170/2195456] via 10.0.0.2, 00:05:00, Serial0/0
C       10.2.0.0/16 is directly connected, Loopback1
C       10.3.0.0/16 is directly connected, Loopback2
C       10.0.0.0/30 is directly connected, Serial0/0
C       10.1.0.0/16 is directly connected, Loopback0
R2#sh ip route

Gateway of last resort is not set
     10.0.0.0/8 is variably subnetted, 9 subnets, 2 masks
i L2    10.10.0.0/16 [115/30] via 10.0.0.10, Serial0/0
i L2    10.11.0.0/16 [115/30] via 10.0.0.10, Serial0/0
i L2    10.8.0.0/16 [115/20] via 10.0.0.10, Serial0/0
C       10.0.0.8/30 is directly connected, Serial0/0
i L2    10.9.0.0/16 [115/30] via 10.0.0.10, Serial0/0
D       10.2.0.0/16 [90/2297856] via 10.0.0.1, 00:22:53, Serial0/1
D       10.3.0.0/16 [90/2297856] via 10.0.0.1, 00:22:53, Serial0/1
C       10.0.0.0/30 is directly connected, Serial0/1
D       10.1.0.0/16 [90/2297856] via 10.0.0.1, 00:22:53, Serial0/1
R3#sh ip route

Gateway of last resort is not set
     10.0.0.0/8 is variably subnetted, 9 subnets, 2 masks
i L1    10.10.0.0/16 [115/20] via 10.8.0.2, Serial0/0
i L1    10.11.0.0/16 [115/20] via 10.8.0.2, Serial0/0
C       10.8.0.0/16 is directly connected, Serial0/0
C       10.0.0.8/30 is directly connected, Serial0/1
i L1    10.9.0.0/16 [115/20] via 10.8.0.2, Serial0/0
i L2    10.2.0.0/16 [115/94] via 10.0.0.9, Serial0/1
i L2    10.3.0.0/16 [115/94] via 10.0.0.9, Serial0/1
i L2    10.0.0.0/30 [115/94] via 10.0.0.9, Serial0/1
i L2    10.1.0.0/16 [115/94] via 10.0.0.9, Serial0/1
R4#sh ip route

Gateway of last resort is 10.8.0.1 to network 0.0.0.0
     10.0.0.0/16 is subnetted, 4 subnets
C       10.10.0.0 is directly connected, Loopback1
C       10.11.0.0 is directly connected, Loopback2
C       10.8.0.0 is directly connected, Serial0/1
C       10.9.0.0 is directly connected, Loopback0
i*L1 0.0.0.0/0 [115/10] via 10.8.0.1, Serial0/1
 
走过路过,谢谢啊!




本文转自 tiger506 51CTO博客,原文链接:http://blog.51cto.com/tiger506/107861,如需转载请自行联系原作者

目录
相关文章
|
22天前
|
网络协议
BGP路由原理详解
BGP路由原理详解
BGP路由原理详解
|
25天前
|
存储 负载均衡 网络协议
Cisco-动态路由(EIGRP)
Cisco-动态路由(EIGRP)
|
4月前
|
存储 网络协议 算法
OSPF路由 与 ISIS路由 与路由学习对比
OSPF路由 与 ISIS路由 与路由学习对比
48 0
|
网络架构
交换机与路由器技术-27-OSPF路由重分发
交换机与路由器技术-27-OSPF路由重分发
55 0
交换机与路由器技术-27-OSPF路由重分发
|
网络协议 网络架构
|
网络虚拟化 网络架构 Shell
|
网络协议 网络架构 数据库