首页 > 其他分享 >(路由卷1)-15-CCIE_EIGRP综合实验

(路由卷1)-15-CCIE_EIGRP综合实验

时间:2024-08-15 22:49:08浏览次数:7  
标签:15 relay int ip frame eigrp EIGRP 0.0 CCIE

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

相关文章

  • 2024.8.15随笔
    上午今天自习!写题写爽了!本来说复习顺序为PAM、后缀相关,但是hfu今天在早读完后给我们聊了一些学习的方法、给我们提供了一些学习思路。在思考了一会后,我还是决定不任性去重拾九级难度以上的后缀数组(自动机),而是回过头去复习图论。写了三道紫色的二分图,写爽了!二分图我已经很熟悉......
  • 2024.8.15
    2024.8.15【这雨生于天,死于地,中间的过程就是人生。】Thursday七月十二动态DP(DDP)我们选择从一道模板题讲起[P4719【模板】"动态DP"&动态树分治](P4719[模板]"动态DP"&动态树分治-洛谷|计算机科学教育新生态(luogu.com.cn))【模板】"动态DP"&动态树分治题目描......
  • 栈与计算—— 150、227、224※
    150.逆波兰表达式求值(中等)给你一个字符串数组 tokens ,表示一个根据 逆波兰表示法 表示的算术表达式。请你计算该表达式。返回一个表示表达式值的整数。注意:有效的算符为 '+'、'-'、'*' 和 '/' 。每个操作数(运算对象)都可以是一个整数或者另一个表达式。两个整数......
  • 高级java每日一道面试题-2024年8月15日-设计模式篇-设计模式与面向对象原则的关系是什
    如果有遗漏,评论区告诉我进行补充面试官:设计模式与面向对象原则的关系是什么?我回答:在设计模式与面向对象原则的关系中,两者紧密相连且相互促进。面向对象的原则为设计模式的形成提供了理论基础和指导思想,而设计模式则是这些原则在特定问题域中的具体实践和实现方式。下......
  • [lnsyoj4029/luoguP4109/HEOI2015]定价
    题意记\(x'\)为\(x\)去除后导零的值,则定义\(f(x)=2(\lfloor\log_{10}x'\rfloor+1)-[x'\equiv5\pmod{10}]\),给定区间\([L,R]\),求该区间中最小的\(f(x)\)值。sol一道贪心题,思想比较好想,我们需要使得前面的非0数字部分长度最小,且末尾尽可能为\(5\)。具体实现中,我......
  • 20240815有名管道双端线程通信
    //端1#include<stdio.h>#include<stdlib.h>#include<sys/types.h>#include<sys/stat.h>#include<fcntl.h>#include<unistd.h>#include<string.h>#include<pthread.h>#include<errno.h>#include<......
  • 8.15
    不太想写,想起了一些以前的事情,但没鱼可摸了……早起,学姐讲了一些廿四的学风,突然就不想去了,我卷不动啊qwq,据说廿四人中午,体活,体育和副科课都在教室里卷作业,可我只想摆……,想去打羽毛球高一比高二晚去食堂10分钟,因此肯定抢不到炸鸡,甜甜圈,慕斯蛋糕,炸紫薯甜点,鸭腿和自助餐等美味了......
  • 【问题解决】PageOffice打开word文档报错:Office运行时错误,部分系统文件可能丢失或已损
    打开wps,右上角配置和修复工具取消勾选,确定再打开,重新勾选,确定,退出重启电脑,验证。--PS:本人自测成功,有些人的机器安装有MicrosoftOffice,取消之后(不需要重新勾选)就可以了;本人机器只安装了WPS适合这种操作。......
  • 24.08.15
    day131.C语言本质操作内存命令行参数intmain(intargc,char*argv[])argc:参数的个数argv:参数存放的指针数组intmain(intargc,char*argv[]){inti;for(i=0;i<argc;i++){printf("%s\n",ar......
  • 2024-08-15 财富负面信念的破开迷思
    2024-08-15  上了自由蓝图课,从里面拷贝出来的。盘点一下自己的负面信念,              我自己可以觉知到的总共命中了18条,分别是1,2,3,4,6:7,8,9,10,13,15,18,22,26,27,28,29,30。其他的可能也有,但是没有觉知到。破除信念的一个简单方法就是问一......