eigrp综合实验
fr:
ip地址分配情况:r1-r2-r3=123.1.1.0/24,r2-r3-r4=10.1.234.0/24,r4-r5=45.1.1.0/24
如:r2-f0/0=10.1.234.2/24,r5-s1/3=45.1.1.5/24
其他网段ip地址配置同理,每台路由器各有一个lo0
其他网段ip地址配置同理,每台路由器各有一个lo0,
地址分配是:x.x.x.x/24(x是你的路由器号),在r1上添加4个换回接口,模拟r1连接内网4个部门网关:
lo4:172.16.4.1/24
lo5:172.16.5.1/24
lo6:172.16.6.1/24
lo7:172.16.7.1/24
use the following requirements to configure r1 and r2 and r3 for frame relay and r4(r4作为帧中继交换机,r1,r2,r3连入到这个帧中继交换机)
as the frame relay switch.(r4_s1/0,s1/1,s1/2,s1/3为dce端)
use ansi lmi on frame relay switch and auto-sensing on r1 and r2
do not use inverse address resolutions protocol and after finishing your lab you haven't got any dynamlc maps and maps of 0.0.0.0
use rfc1490/rfc2427 encapsulation
use the data-link connection identifier(dlci)assignments from the top
r1使用frame-relay接口ip地址,而r2/r3使用frame-relay点到点子接口建立连接,要求完成此配置后能。
ping通各自的frame-relay接口ip地址(r2/r3 do not use any static frame relay maps)
r4:
frame-relay switching
int s1/0
encap frame-relay ietf
clock rate 64000
frame-relay lmi-type ansi
frame-relay intf-type dce
frame-relay route 102 int s1/1 201
frame-relay route 103 int s1/2 301
no sh
int s1/1
en frame-relay ietf
clock rante 64000
frame-relay lmi-type ansi
frame-relay intf-type dce
frame-relay route 201 int s1/0 102
no sh
int s1/2
en frme-relay ietf
clock rate 64000
frame-relay lmi-type ansi
frame-relay intf-type dce
frame-relay route 301 interface s1/0 103
no sh
r1:
int s1/0
ip add 123.1.1.1 255.255.255.0
en frame-relay ietf
no arp frame-relay
no frame-relay inverse-arp
frame-relay map ip 123.1.1.1 102 broadcast ietf
frame-relay map ip 123.1.1.2 102 broadcast ietf
frame-relay map ip 123.1.1.3 103 broadcast ietf
no sh
int lo0
ip add 1.1.1.1 255.255.255.0
int lo4
ip add 172.16.4.1 255.255.255.0
int lo5
ip add 172.16.5.1 255.255.255.0
int lo6
ip add 172.16.6.1 255.255.255.0
int lo7
ip add 172.16.7.1 255.255.255.0
r2:
int s1/1
en frame-relay ietf
no arp frame-relay
no frame-relay inverse-arp
no sh
int s1/1.123 point-to-point
frame-relay interface-dlci 201 ietf
ip add 123.1.1.2 255.255.255.0
int lo
ip add 2.2.2.2 255.255.255.0
int f0/0
ip add 10.1.234.2 255.255.255.0
no sh
r3:
int s1/2
en frame-relay ietf
no ar frame-relay
no frame-relay inverse-arp
no sh
int s1/2.123 point-to-point
frame-relay interface-dlci 301 ietf
iip add 123.1.1.3 255.255.255.0
no sh
int lo0
ip add 3.3.3.3 255.255.255.0
int f0/0
ip add 10.1.234.3 255.255.255.0
no sh
r4:
int lo0
ip add 4.4.4.4 255.255.255.0
int f0/0
ip add 10.1.234.4 255.255.255.0
no sh
int s1/3
encap ppp
no peer neighbor-route(不能出现32位主机路由)
no shut
ip add 45.1.1.4 255.255.255.0
r5:
int lo0
ip add 5.5.5.5 255.255.255.0
int s1/3
en ppp
no peer neighbor-route
no sh
ip add 45.1.1.5 255.255.255.0
clock rate 64000
eigrp100:
根据top图做以下配置
r1、r2、r3、r4运行eigrp 100,的设备全部关闭自动汇总
specify the eigrp router-id using the loopback 0 ip address
r1上,不能从loopback接口接收到发送任何eigrp更新信息
运行eigrp 100路由协议的设备,hop count超过10,eigrp路由信息将无效
configure r1 throough r2/r3 so that eigrp hellos are sent every 10 seconds
these devices should inform their neighbors to declare them down if subsequent hellos are not received within 30 seconds.
use a key-chain named=killccie, authenticate the eigrp adjacencies on the frame relay network
between r1,r2 and r3 using key 10 and the password=killccie 10
当r2连接switch链路或者r3连接switch链路出现断开时,保证r2的lo0还能ping通r3的lo0
如果r1-l0路由条目丢失,发出的query包,在等待2分钟后没有收到reply将重置邻居关系。
r1:
router eigrp 100
no auto
eigrp router-id 1.1.1.1
network 1.1.1.1 0.0.0.0
network 172.16.4.0 0.0.3.255
network 123.1.1.1 0.0.0.0
passive-interface default
no passive-interface s 1/0
metric maximum-hops 10(运行eigrp100路由协议的设备,hop count超过10,eigrp路由信息将无效)
r2:
router eigrp 100
no auto
net 123.1.1.2 0.0.0.0
net 10.1.234.2 0.0.0.0
net 2.2.2.2 0.0.0.0
eigrp router-id 2.2.2.2
metric maximum-hop 10
r3:
router eigrp 100
no auto
eigrp router-id 3.3.3.3
net 123.1.1.3 0.0.0.0
net 3.3.3.3 0.0.0.0
net 10.1.234.3 0.0.0.0
metric maxmum-hop 10
r4:
router eigrp 100
no au
eigrp router-id 4.4.4.4
net 10.1.234.4 0.0.0.0
net 4.4.4.4 0.0.0.0
meric maxmum-hop 10
r1:
int s1/0
ip hello-interval eigrp 100 10
ip hold-time 100 30
r2:
int s1/1.123
ip hello-interval eigrp 100 10
ip hold-time eigrp 100 30
r3:
int s1/2.123
ip hello-interval eigrp 100 10
ip hold-time eigrp 100 30
r1:
key chain killccie
key 10
key-string killccie10
int s1/0
ip authentication mode eigrp 100 md5
ip authentication key-chain eigrp 100 killccie
r2:
key chain killccie
key 10
key-string killccie10
int s1/1.123
ip authentication key-chain eigrp 100 killccie
ip authentication mode eigrp 100 md5
r3:
ip authentication key-chanin eigrp 100 killccie
ip authentication mode eigrp 100 md5
key chain killccie
key 10
key-string killccie10
int s1/0
no ip split-horizon eigrp 100(关闭水平分割)
r1:
router eigrp 100
timers active-time 2(当丢失一条路由,默认3分钟收不到查询包的回复就会重置邻居关系)
eigrp200:
根据top图做以下配置
r4,r5串行链路封装ppp-chap认证且使用单播来建立eigrp 200邻居
运行eigrp 200的设备全部关闭自动汇总且不能出现/32的主机路由
r4在eigrp 200里只要使用贷款决定metric值
修改r4,r5之间的带宽为700k,当r4/r5建立eigrp邻居时,保证eigrp至少使用70k的带宽
ip bandiwidth-percent eigrp 200 修改链路的eigrp流量的百分比
在r4上做eigrp 100和eigrp 200双向冲发布
r4:
router eigrp 200
no auto
net 45.1.1.4 0.0.0.0
neighbro 45.1.1.5 s1/3
r5:
router eigrp 200
no auto
net 45.1.1.5 0.0.0.0
net 5.5.5.5 0.0.0.0
neighbor 45.1.1.4 s1/3
r4:
metric weights 0 1 0 0 0 0(修改k值,只用带宽来衡量metric)
r5:
metric weights 0 1 0 0 0 0
r4:
int s1/3
bandwidth 700
ip bandwidth-percent eigrp 200 10(修改接口最低eigrp的带宽占用为70k)
r5:
int s1/3
bandwidth 700
ip bandwidth-percent eigrp 200 10(占接口带宽的百分比)
r4:
router eigrp 100
redistribute eigrp 200
router eigrp 200
redistribute eigrp 100
手工汇总:
r1的l4下使用命令delay 100,要求在r2/r3看到一个172.16.4.0的汇总路由(证明汇总路由是否使用明细路由中的那条最小的metric)
用字少的命令行在r5添加l 198.1.1.5/30(198.2.1.1/24,198.2.3.1/24,198.2.5.1/24)且这些ip地址都通告进ripv2
要求在r4上能看到dex198.z.z.z,而r2/r3能看到d198.z.z.z/8(z代表=任意值)
负载均衡
r4通过r2,r4通过r3形成等价负载均衡,保证加入有超过3条等价负载均衡,最多只能使用3条链路等价
r1:
int lo4
delay 100
int s1/0
ip summary-address eigrp 100 172.16.4.0 255.255.252.0(汇总后的metric取没汇总前路由metric最小的)
r5:
int lo198
ip add 198.1.1.5 255.255.255.252
ip add 198.2.1.1 255.255.255.0 secondary
ip add 198.2.3.1 255.255.255.0 secondary
ip add 198.2.5.1 255.255.255.0 secondary
router rip
ver 2
no au
net 198.1.1.0
net 198.2.1.0
net 198.2.3.0
net 198.2.5.0
router eigrp 200
redistribute rip metric 1000 1000 255 1 1500
router rip
redistribute eigrp 200 metric 1
r4:
int f0/0
ip summary-address eigrp 100 198.0.0.0 255.0.0.0
负载均衡:
r4通过r2,r4通过r3形成等价负载均衡,保证假如有超过3条等价负载均衡,最多也只能使用3条链路等价负载均衡。
使用命令delay 1修改r3的f0/0的接口延迟
不能删除r3上delay 1,要求在r1上能看到不等价负载均衡
r4:
router eigrp 100
maxmum-paths 3 (设置最大负载均衡条数)
r3:
int f0/0
delay 1
r1:
router eigrp 100
variance 2
telnet/stub:
delay 1(修改接口延迟)
在r5上只允许r1的lo0来进行telnet 5.5.5.5
configure r5 such that it will not receive any eigrp 200 queries.
r5 should also send out connected/redistributed/summary information about it's routes to the eigrp 200 neighbors.
r5:
access-list 110 permit tcp host 1.1.1.1 host 5.5.5.5 eq 23
access-list 110 deny tcp any host 5.5.5.5 eq 23
access-list 110 permit ip any any
int s1/3
ip access-grou 110 in
r1:
ip telnet source-interface lo 0(更改telnet的源接口)
r5:
router eigrp 200
eigrp stub connected red summary
默认路由:
r5 should also send out connected/redistributed/summary information about it's
r3启用loopback 1:100.1.1.1/24,不通告进eigrp 100进程去,要求全网都能访问这个r3换回l1.(ip default-network来做)
r3:
int lo1
ip add 100.1.1.1 255.255.255.0
ip default-network 100.0.0.0
ip route 100.0.0.0 255.0.0.0 lo1
router eigrp 100
net 100.0.0.0
标签:15,relay,int,ip,frame,eigrp,EIGRP,0.0,CCIE From: https://www.cnblogs.com/smoke520/p/18361989