设为首页收藏本站language→→ 语言切换

鸿鹄论坛

 找回密码
 论坛注册

QQ登录

先注册再绑定QQ

查看: 1431|回复: 0
收起左侧

CCIE-EIGRP经典实验(2)

[复制链接]
发表于 2015-1-20 11:56:25 | 显示全部楼层 |阅读模式
http://www.tklab.cn

CCIE-EIGRP经典实验(2)



思科培训需求:按照如下拓扑图配置好接口地址和EIGRP 100(R1到R5五个路由器都启用环回lo0,R1o0:1.1.1.1/24 R2o0:2.2.2.2/24以此类推)



我们来看一看R2和R5的路由表:
R2#shiproei
1.0.0.0/24issubnetted,1subnets
D1.1.1.0[90/2297856]via12.1.1.1,00:20:48,Serial1/0
3.0.0.0/24issubnetted,1subnets
D3.3.3.0[90/2300416]via12.1.1.1,00:00:26,Serial1/0
4.0.0.0/24issubnetted,1subnets
D4.4.4.0[90/2300416]via12.1.1.1,00:12:47,Serial1/0
5.0.0.0/24issubnetted,1subnets
D5.5.5.0[90/2812416]via12.1.1.1,00:12:28,Serial1/0
134.1.0.0/24issubnetted,1subnets
D134.1.1.0[90/2172416]via12.1.1.1,00:32:22,Serial1/0
45.0.0.0/24issubnetted,1subnets
D45.1.1.0[90/2684416]via12.1.1.1,00:12:47,Serial1/0
D*0.0.0.0/0[90/4171520]via23.1.1.3,00:00:31,Serial1/1
R5#shiproei
1.0.0.0/24issubnetted,1subnets
D1.1.1.0[90/2300416]via45.1.1.4,00:12:58,Serial1/0
2.0.0.0/24issubnetted,1subnets
D2.2.2.0[90/2812416]via45.1.1.4,00:12:58,Serial1/0
3.0.0.0/24issubnetted,1subnets
D3.3.3.0[90/2300416]via45.1.1.4,00:00:57,Serial1/0
4.0.0.0/24issubnetted,1subnets
D4.4.4.0[90/2297856]via45.1.1.4,00:12:58,Serial1/0
23.0.0.0/24issubnetted,1subnets
D23.1.1.0[90/2684416]via45.1.1.4,00:00:57,Serial1/0
12.0.0.0/24issubnetted,1subnets
D12.1.1.0[90/2684416]via45.1.1.4,00:12:58,Serial1/0
134.1.0.0/24issubnetted,1subnets
D134.1.1.0[90/2172416]via45.1.1.4,00:12:58,Serial1/0
D*0.0.0.0/0[90/5198080]via45.1.1.4,00:01:02,Serial1/0
R2#shipeito
IP-EIGRPTopologyTableforAS(100)/ID(2.2.2.2)
Codes-Passive,A-Active,U-Update,Q-Query,R-Reply,
r-replyStatus,s-siaStatus
P0.0.0.0/0,1successors,FDis2174976
via12.1.1.1(2174976/30720),Serial1/0
via23.1.1.3(4171520/28160),Serial1/1
P1.1.1.0/24,1successors,FDis2297856
via12.1.1.1(2297856/128256),Serial1/0
P2.2.2.0/24,1successors,FDis128256
viaConnected,Loopback0
P4.4.4.0/24,1successors,FDis2300416
via12.1.1.1(2300416/156160),Serial1/0
P5.5.5.0/24,1successors,FDis2812416
via12.1.1.1(2812416/2300416),Serial1/0
P12.1.1.0/24,1successors,FDis2169856
viaConnected,Serial1/0
P23.1.1.0/24,1successors,FDis4168960
viaConnected,Serial1/1
P45.1.1.0/24,1successors,FDis2684416
via12.1.1.1(2684416/2172416),Serial1/0
P134.1.1.0/24,1successors,FDis2172416
Codes-Passive,A-Active,U-Update,Q-Query,R-Reply,
r-replyStatus,s-siaStatus
via12.1.1.1(2172416/28160),Serial1/0
P172.16.0.0/21,1successors,FDis2300416
via12.1.1.1(2300416/156160),Serial1/0
这里,你会发现,R2到达5.5.5.0网络的路由没有出现CCIE培训负载均衡的情况,要出现可以在f0/0上做默认路由的重分发(这里要去掉R3的s1/0口的汇总)
R3的配置:
R3#shrunintf0/0
Buildingconfiguration...
Currentconfiguration:111bytes
!
interfaceFastEthernet0/0
ipaddressdhcp
ipsummary-addresseigrp1000.0.0.00.0.0.05
duplexhalf
end
R2#shipeito
IP-EIGRPTopologyTableforAS(100)/ID(2.2.2.2)
Codes-Passive,A-Active,U-Update,Q-Query,R-Reply,
r-replyStatus,s-siaStatus
P0.0.0.0/0,1successors,FDis2174976
via12.1.1.1(2174976/30720),Serial1/0
P1.1.1.0/24,1successors,FDis2297856
via12.1.1.1(2297856/128256),Serial1/0
via23.1.1.3(4299520/156160),Serial1/1
P2.2.2.0/24,1successors,FDis128256
viaConnected,Loopback0
P3.3.3.0/24,1successors,FDis2300416
via23.1.1.3(4296960/128256),Serial1/1
P4.4.4.0/24,1successors,FDis2300416
via12.1.1.1(2300416/156160),Serial1/0
via23.1.1.3(4299520/156160),Serial1/1
P5.5.5.0/24,1successors,FDis2812416
via12.1.1.1(2812416/2300416),Serial1/0
via23.1.1.3(4811520/2300416),Serial1/1
P12.1.1.0/24,1successors,FDis2169856
viaConnected,Serial1/0
P23.1.1.0/24,1successors,FDis4168960
Codes-Passive,A-Active,U-Update,Q-Query,R-Reply,
r-replyStatus,s-siaStatus
viaConnected,Serial1/1
P45.1.1.0/24,1successors,FDis2684416
via12.1.1.1(2684416/2172416),Serial1/0
via23.1.1.3(4683520/2172416),Serial1/1
P134.1.1.0/24,1successors,FDis2172416
via12.1.1.1(2172416/28160),Serial1/0
via23.1.1.3(4171520/28160),Serial1/1
P172.16.0.0/21,1successors,FDis2300416
via12.1.1.1(2300416/156160),Serial1/0
via23.1.1.3(4299520/156160),Seria
6:最小的命令增加地址用第二地址的命令来做,而要ccie实现上述的重分发的需求,要使用重分发直连网络
R4#shrunintlo0
Buildingconfiguration...
Currentconfiguration:390bytes
!
interfaceLoopback0
ipaddress172.16.1.1255.255.255.0secondary
ipaddress172.16.2.1255.255.255.0secondary
ipaddress172.16.3.1255.255.255.0secondary
ipaddress172.16.4.1255.255.255.0secondary
ipaddress172.16.5.1255.255.255.0secondary
ipaddress172.16.6.1255.255.255.0secondary
ipaddress172.16.7.1255.255.255.0secondary
ipaddress4.4.4.4255.255.255.0
end
R4#shrun|bre
routereigrp100
redistributeconnected
network4.4.4.40.0.0.0
network45.1.1.40.0.0.0
network134.1.1.00.0.0.255
noauto-summary
我们来看一看R5的路由表:
R5#shiproei
1.0.0.0/24issubnetted,1subnets
D1.1.1.0[90/2300416]via45.1.1.4,00:48:07,Serial1/0
2.0.0.0/24issubnetted,1subnets
D2.2.2.0[90/2812416]via45.1.1.4,00:48:07,Serial1/0
4.0.0.0/24issubnetted,1subnets
D4.4.4.0[90/2297856]via45.1.1.4,00:01:59,Serial1/0
23.0.0.0/24issubnetted,1subnets
D23.1.1.0[90/5195520]via45.1.1.4,00:06:47,Serial1/0
172.16.0.0/24issubnetted,7subnets
DEX172.16.4.0[170/2297856]via45.1.1.4,00:01:14,Serial1/0
DEX172.16.5.0[170/2297856]via45.1.1.4,00:01:14,Serial1/0
DEX172.16.6.0[170/2297856]via45.1.1.4,00:01:14,Serial1/0
DEX172.16.7.0[170/2297856]via45.1.1.4,00:01:14,Serial1/0
DEX172.16.1.0[170/2297856]via45.1.1.4,00:01:14,Serial1/0
DEX172.16.2.0[170/2297856]via45.1.1.4,00:01:14,Serial1/0
DEX172.16.3.0[170/2297856]via45.1.1.4,00:01:14,Serial1/0
12.0.0.0/24issubnetted,1subnets
D12.1.1.0[90/2684416]via45.1.1.4,00:29:36,Serial1/0
134.1.0.0/24issubnetted,1subnets
D134.1.1.0[90/2172416]via45.1.1.4,00:48:07,Serial1/0
D*0.0.0.0/0[90/2174976]via45.1.1.4,00:06:41,Serial1/0
7:要在另外几台路由器看一条汇总路由CCIE培训,只要在R4的s1/1和f0/0两个接口做汇总即可。
R4的配置:
R4#shrunintf0/0
Buildingconfiguration...
Currentconfiguration:139bytes
!
interfaceFastEthernet0/0
ipaddress134.1.1.4255.255.255.0
ipsummary-addresseigrp100172.16.0.0255.255.248.05
duplexhalf
end
R4#shrunints1/1
Buildingconfiguration...
Currentconfiguration:143bytes
!
interfaceSerial1/1
ipaddress45.1.1.4255.255.255.0
ipsummary-addresseigrp100172.16.0.0255.255.248.05
serialrestart-delay0
end
我们再来看一看R2和R5的CCIE培训路由表:
R2#shiproei
1.0.0.0/24issubnetted,1subnets
D1.1.1.0[90/2297856]via12.1.1.1,00:08:27,Serial1/0
4.0.0.0/24issubnetted,1subnets
D4.4.4.0[90/2300416]via12.1.1.1,00:00:26,Serial1/0
5.0.0.0/24issubnetted,1subnets
D5.5.5.0[90/2812416]via12.1.1.1,00:00:06,Serial1/0
172.16.0.0/21issubnetted,1subnets
D172.16.0.0[90/2300416]via12.1.1.1,00:00:26,Serial1/0
134.1.0.0/24issubnetted,1subnets
D134.1.1.0[90/2172416]via12.1.1.1,00:20:01,Serial1/0
45.0.0.0/24issubnetted,1subnets
D45.1.1.0[90/2684416]via12.1.1.1,00:00:26,Serial1/0
D*0.0.0.0/0[90/2174976]via12.1.1.1,00:08:10,Serial1/0
R5#shiproei
1.0.0.0/24issubnetted,1subnets
D1.1.1.0[90/2300416]via45.1.1.4,00:00:11,Serial1/0
2.0.0.0/24issubnetted,1subnets
D2.2.2.0[90/2812416]via45.1.1.4,00:00:11,Serial1/0
4.0.0.0/24issubnetted,1subnets
D4.4.4.0[90/2297856]via45.1.1.4,00:00:11,Serial1/0
23.0.0.0/24issubnetted,1subnets
D23.1.1.0[90/5195520]via45.1.1.4,00:00:11,Serial1/0
172.16.0.0/21issubnetted,1subnets
D172.16.0.0[90/2297856]via45.1.1.4,00:00:11,Serial1/0
12.0.0.0/24issubnetted,1subnets
D12.1.1.0[90/2684416]via45.1.1.4,00:00:11,Serial1/0
134.1.0.0/24issubnetted,1subnets
D134.1.1.0[90/2172416]via45.1.1.4,00:00:11,Serial1/0
D*0.0.0.0/0[90/2174976]via45.1.1.4,00:00:11,Serial1/0
8:配置Stub比较简单,不在多说!
R5的配置:
R5#shrun|bre
routereigrp100
network5.5.5.50.0.0.0
network45.1.1.50.0.0.0
noauto-summary
eigrpstubconnected
9:要实现这个需求,可以有多种方法,在此,ccie培训我使用NAT来实现:
R4的配置:
R4#shrunintf0/0
Buildingconfiguration...
Currentconfiguration:155bytes
!
interfaceFastEthernet0/0
ipaddress134.1.1.4255.255.255.0
ipnatoutside
ipsummary-addresseigrp100172.16.0.0255.255.248.05
duplexhalf
end
R4#shrunints1/1
Buildingconfiguration...
Currentconfiguration:158bytes
!
interfaceSerial1/1
ipaddress45.1.1.4255.255.255.0
ipnatinside
ipsummary-addresseigrp100172.16.0.0255.255.248.05
serialrestart-delay0
end
R4#shrun|bre
routereigrp100
redistributeconnected
network4.4.4.40.0.0.0
network45.1.1.40.0.0.0
network134.1.1.00.0.0.255
noauto-summary
!
ipnatinsidesourcestatic4.4.4.45.5.5.5
我们来在R2上telnet到R5:
R2#telnet5.5.5.5/source-interfaceloopback0
Trying5.5.5.5...Open
UserAccessVerification
Password:
R4#
10:配置不在多说,参见前面的配置案例
R2的配置:
R2#shrun|bre
routereigrp100
variance15
passive-interfaceLoopback0
network2.2.2.20.0.0.0
network12.1.1.20.0.0.0
network23.1.1.20.0.0.0
neighbor12.1.1.1Serial1/0
noauto-summary
我们再来看一看R2到达R4的路由:
R2#shipro4.4.4.0255.255.255.0
Routingentryfor4.4.4.0/24
Knownvia"eigrp100",distance90,metric2300416,typeinternal
Redistributingviaeigrp100
Lastupdatefrom23.1.1.3onSerial1/1,00:01:54ago
RoutingDescriptorBlocks:
*12.1.1.1,from12.1.1.1,00:01:54ago,viaSerial1/0
Routemetricis2300416,trafficsharecountis15
Totaldelayis25100microseconds,minimumbandwidthis1544Kbit
Reliability255/255,minimumMTU1500bytes
Loading1/255,Hops2
23.1.1.3,from23.1.1.3,00:01:54ago,viaSerial1/1
Routemetricis4299520,trafficsharecountis8
Totaldelayis25100microseconds,minimumbandwidthis700Kbit
Reliability255/255,minimumMTU1500bytes
Loading1/255,Hops2
R2#shiproei
4.0.0.0/24issubnetted,1subnets
D4.4.4.0[90/2300416]via12.1.1.1,00:02:17,Serial1/0
[90/4299520]via23.1.1.3,00:02:17,Serial1/1
欢迎大家继续关注CCIE培训的网站,希望大家能从泰克的网站学到更多的知识。



您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-1-23 11:29 , Processed in 0.055390 second(s), 11 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

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