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 123.1.1.1 102 broadcast ietf
frame-relay map 123.1.1.2 102 broadcast ietf
frame-relay map 123.1.1.3 103 broadcast ietf
no sh
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
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
r1:
router eigrp 100
no au
net 123.1.1.1 0.0.0.0
r2:
router eigrp 100
no au
net 123.1.1.2 0.0.0.0
r3:
router eigrp 100
no au
net 123.1.1.3 0.0.0.0
r1:
int lo0
ip add 1.1.1.1 255.255.255.0
router eigrp 100
net 1.1.1.1 0.0.0.0
r2:
int lo0
ip add 2.2.2.2 255.255.255.0
router eigrp 100
net 2.2.2.2 0.0.0.0
r3:
int lo0
ip add 3.3.3.3 255.255.255.0
router eigrp 100
net 3.3.3.3 0.0.0.0
帧中继多点子接口,常出现路由问题,没法办学全路由,水平分割问题。eigrp工作在物理接口上水平分割是起作用的。rip是多点子接口会有水平分割问题。
r1:
关闭水平分割
no ip split-horizon eigrp 100
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将重置邻居关系。
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双向冲发布
手工汇总:
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条链路等价负载均衡:
使用命令delay 1修改r3的f0/0的接口延迟
不能删除r3上delay 1,要求在r1上能看到不等价负载均衡
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
默认路由:
r3启用loopback 1:100.1.1.1/24,不通告进eigrp 100进程去,要求全网都能访问这个r3换回l1.(ip default-network来做)