实验题如图所示: 要求全网可达 R5为帧中继交换机 R6 和 R1之间为快速以太网接口

所使用的拓扑为CCNA标准版拓扑图,如下所示:

---------------------------------------------------------------------------------------------------------------------------------

1.首先在帧中继交换机上打通各条PVC

frsw#conf t
frsw(config)#no ip routing         // 关闭路由器的路由功能
frsw(config)#frame-relay switching      // 打开帧中继交换功能
frsw(config)#int s1/0
frsw(config-if)#encapsulation frame-relay
frsw(config-if)#frame-relay intf-type dce
frsw(config-if)#frame-relay route 102 interface s1/1 201
frsw(config-if)#frame-relay route 103 interface s1/2 301
frsw(config-if)#frame-relay route 104 interface s1/3 401

frsw(config-if)#int s1/1
frsw(config-if)#encapsulation frame-relay
frsw(config-if)#frame-relay intf-type dce
frsw(config-if)#frame-relay route 201 interface s1/0 102

frsw(config-if)#int s1/2
frsw(config-if)#encapsulation frame-relay
frsw(config-if)#frame-relay intf-type dce
frsw(config-if)#frame-relay route 301 interface s1/0 103
frsw(config-if)#frame-relay route 304 interface s1/3 403

frsw(config-if)#int s1/3
frsw(config-if)#encapsulation frame-relay
frsw(config-if)#frame-relay intf-type dce
frsw(config-if)#frame-relay route 403 interface s1/2 304
frsw(config-if)#frame-relay route 401 interface s1/0 104

目前为止,帧中继上的pvc都已经打通了,下面进行客户端的配置
-------------------------------------------------------------------------

2. 各个客户端接口的配置

R1(config)#int s1/2
R1(config-if)#encapsulation frame-relay
R1(config-if)#no shutdown

R1(config)#int s1/2.1 multipoint       // 多点子接口
R1(config-subif)#ip add 123.1.1.1 255.255.255.0
R1(config-subif)#frame-relay interface-dlci 102
R1(config-fr-dlci)#frame-relay interface-dlci 103  

R1(config)#int s1/2.2 point-to-point       // 点到点子接口
R1(config-subif)#ip add 14.1.1.1 255.255.255.0  
R1(config-subif)#frame-relay interface-dlci 104

R2(config)#int s1/2
R2(config-if)#encapsulation frame-relay
R2(config-if)#ip add 123.1.1.2 255.255.255.0
R2(config-if)#no shutdown

R3(config)#int s1/2
R3(config-if)#encapsulation frame-relay
R3(config-if)#no shutdown

R3(config)#int s1/2.1 point-to-point
R3(config-subif)#ip add 123.1.1.3 255.255.255.0
R3(config-subif)#frame-relay interface-dlci 301

R3(config)#int s1/2.2 multipoint
R3(config-subif)#ip add 34.1.1.1 255.255.255.0
R3(config-subif)#frame-relay interface-dlci 304

R4(config)#int s1/2
R4(config-if)#encapsulation frame-relay
R4(config-if)#no shutdown

R4(config)#int s1/2.1 point-to-point
R4(config-subif)#ip add 34.1.1.2 255.255.255.0
R4(config-subif)#frame-relay interface-dlci 403

R4(config)#int s1/2.2 point-to-point
R4(config-subif)#ip add 14.1.1.2 255.255.255.0
R4(config-subif)#frame-relay interface-dlci 401

目前为止所有客户端接口子接口都已经配置完成了,下面进行测试
用R1 分别ping R2 R3 R4
用R3 ping R4 应该都是可以ping 通的 若不行 请仔细检查前面的配置 和各接口是否开启

PS: 建议多点子接口和物理接口手写Map,因为多点子接口和物理接口自动生成Map速度太慢,而点对点子接口不能手写Map,就算写了,也没有作用,因为点对点不关注第三层的IP地址。
-----------------------------------------------------------------------------------

然后给每个路由器配环回 起eigrp协议

1.环回略

R1的环回1.1.1.1    R2的环回2.2.2.2      ……

2.分别在每个路由器上起eigrp协议

R1(config)#router eigrp 90
R1(config-router)#no auto-summary
R1(config-router)#network 123.0.0.0
R1(config-router)#network 1.0.0.0
R1(config-router)#network 14.0.0.0

R2(config)#router eigrp 90
R2(config-router)#no auto-summary
R2(config-router)#network 123.0.0.0
R2(config-router)#network 2.0.0.0

R3(config)#router eigrp 90
R3(config-router)#no auto-summary
R3(config-router)#network 123.0.0.0
R3(config-router)#network 34.0.0.0
R3(config-router)#network 3.0.0.0

R4(config)#router eigrp 90
R4(config-router)#no auto-summary
R4(config-router)#network 14.0.0.0
R4(config-router)#network 34.0.0.0

目前为止,等待路由条目收敛完成后R1 R3 R4 的路由条目应该收敛齐全(除了R6)
而R2 没有34.0.0.0/24 和 3.0.0.0/24 这两天路由条目
-----------------------------------------------------------------------

内网访问外网 缺省和Nat

1.缺省
R1(config)#ip route 0.0.0.0 0.0.0.0 16.1.1.2
R1(config)#router eigrp 90
R1(config-router)#redistribute static      // 重发布

2.Nat
R1(config)#access-list 1 permit any
R1(config)#ip nat inside source list 1 interface f0/0 overload

R1(config)#int f0/0
R1(config-if)#ip nat outside

R1(config)#int s1/2.1
R1(config-subif)#ip nat inside

R1(config)#int s1/2.2
R1(config-subif)#ip nat inside

PS: 1.ip nat inside时,必须把每个子接口当做一个物理接口而不能把 s1/2当做inside

  2.有缺省和汇总的时候为了安全起见,应该防止路由黑洞的出现,所以该在所有做过汇总的路由器R2-R6上写一条空接口路由条目

   eg: R2(config)# ip router 192.168.1.0 255.255.255.240 null 0

      ……

       R6(config)# ip router 192.168.1.0 255.255.255.0 null 0    // 因为R6在s1/1上做过一次对R2-R6上的/24位的汇总

看到这里您辛苦了,谢谢 : )

—————————————————————————————————————————————————————————————————————————————

声明:

  本文为 大Yi巴狼 对自己所学的知识整理和实现。

  本文档欢迎自由转载,但请务必保持本文档完整或注明来之本文档。本文档未经 大Yi巴狼 同意,不得用于商业用途。最后,如果您能从这个简单文档里获得些许帮助,大Yi巴狼 将对自己的一点努力感到非常高兴;由于作者本人水平有限,如果本文档中包含的错误给您造成了不便,在此提前说声抱歉。

  祝身体健康,工作顺利。

CCNP第二天 帧中继综合实验的更多相关文章

  1. CCNP第一天 Rip综合实验

    实验题如图所示 R2--R6之间是RipV2, R7和R8是RipV1, 除了R2到R6是快速以太网线,其他均为串线. 所用的拓扑图为CCNP标准版拓扑 如下: ------------------- ...

  2. CCNP第四天 OSPF综合实验(1)

    ospf综合实验(1) 本实验主要考察ospf中的接口上的多种工作方式 实验如图所示: 所用拓扑为CCNP标准版,如图: --------------------------------------- ...

  3. 【Linux程序设计】之环境系统函数综合实验

    这个系列的博客贴的都是我大二的时候学习Linux系统高级编程时的一些实验程序,都挺简单的.贴出来纯粹是聊胜于无. 实验题目:Linux环境下系统函数综合实验 实验目的:熟悉并掌握Linux环境下数学函 ...

  4. (6综合实验)从零开始的嵌入式图像图像处理(PI+QT+OpenCV)实战演练

    从零开始的嵌入式图像图像处理(PI+QT+OpenCV)实战演练 1综述http://www.cnblogs.com/jsxyhelu/p/7907241.html2环境架设http://www.cn ...

  5. 华为路由交换综合实验 ---IA阶段

    目录 华为路由交换综合实验 ---IA阶段 实验拓扑 实验需求 华为路由交换综合实验 ---IA阶段 实验拓扑 实验需求 根据拓扑合理规划IP地址以及VLANIf地址(PC1属于运营部,PC2属于市场 ...

  6. CCNA 之 综合实验

    CCNA 综合实验 需要:根据下列图中的网路拓扑,搭建环境; PC1属于VLAN10:PC2属于VLAN20:网关均在OR_C2811: VLAN10.20对应的网段分别为192.168.10.0.2 ...

  7. OSPF与ACL综合实验

    OSPF与ACL综合实验 1.实验内容 (1)企业内网运行OSPF路由协议,区域规划如拓扑图所示(见3.实验拓扑图): (2)财务和研发所在的区域不受其他区域链路不稳定性影响: (3)R1.R2.R3 ...

  8. ACL与OSPF综合实验

    OSPF与ACL 综合实验   拓扑图如下: 分析: 配置基本配置: R1: R2: R3: 2.配置OSPF: R1: R2: R3: IT: 设置IT的ip 并划分到ospf2区域 3.配置ACL ...

  9. LVS综合实验

    LVS综合实验 1.环境准备 提前准备:Mysql8.0.30安装包.Mysql安装脚本.shopxo2.3.0安装包.DNS脚本 服务器 IP地址 作用 系统版本 Mysql-master 10.0 ...

随机推荐

  1. [JavaEE,MVC] Struts工作原理

    基本概念 Struts是Apache 基金会Jakarta 项目组的一个Open Source 项目,它采用MVC模式,能够很好地帮助java 开发者利用J2EE开发Web应用.和其他的java架构一 ...

  2. PHP中使用kindeditor

    KindEditor是一套开源的HTML可视化编辑器,主要用于让用户在网站上获得所见即所得编辑效果,兼容IE.Firefox.Chrome. Safari.Opera等主流浏览器.KindEditor ...

  3. Mac Yosemite OS10.10 Apache 虚拟主机设置

    昨天睡觉前开始挂机下载OS10.10 Yosemite,早上6点半就很兴奋地起来安装新系统了.安装完成后打开界面,感觉真的大不一样了,很优很美,很喜欢. 在下载各种更新,体验各种新功能的同时,我也不忘 ...

  4. JMS笔记(一)

    1.jms概念 Java Message Service为 Java程序提供一种访问企业消息系统的方法,JMS应用由JMS生产者.JMS Provider.JMS消费者构成 1.1. 一条Messag ...

  5. 每天一个Linux命令(2):cd

    转自:http://www.cnblogs.com/peida/archive/2012/10/24/2736501.html Linux cd命令可以说是Linux中最基本的命令语句,其他的命令语句 ...

  6. Tamperdata工具使用(登陆时就修改用户名),篡改post数据

    Tamperdata是firefox上的一款插件,它可以实现篡改数据的功能,这样可以做一些安全的测试验证,他的原理就是在发出请求前,在本地就开始改动数据,下面修改post请求 1.安装Tamperda ...

  7. Nginx - HTTP Configuration, Module Variables

    The HTTP Core module introduces a large set of variables that you can use within the value of direct ...

  8. JavaScript之图片轮换

    <!doctype html> <title>javascript图片轮换</title> <meta charset="utf-8"/& ...

  9. centos6.5下逻辑卷操作

    1.将两块独立磁盘分别分区 2.创建物理卷-pvcreate 3.创建卷组 4.创建逻辑卷 5.格式化逻辑卷 6.扩展逻辑卷 7.缩小逻辑卷

  10. Oracle中NVARCHAR2字符集不匹配问题

    Oracle中在做字符匹配时 遇到 NVARCHAR2 类型时报错,提示 字符集不匹配. 对使用 NVARCHAR2 的地方,需要对字段进行字符转换,加上 to_char(nvarchar2 字段) ...