您好,欢迎来到华佗健康网。
搜索
您的当前位置:首页h3cne大综合实验规划

h3cne大综合实验规划

来源:华佗健康网
组名:SUNRISE

小组成员:孙弋伦,钟良引,吴淑敏,陈师伟,韩纬光 一. 实验名称:OSPF路由多区域 二. 实验需求及应用环境: 需求及背景描述

公司分布在3个不同的城市,分别在北京,上海,海南,全网使用OSPF互联 三. 网络拓朴: 1、

Lo1:10.1.1.0/24Lo2:10.1.2.0/24Lo3:10.1.3.0/24E0/4/3E0/1/0SW110.1.0.8/30E0/1/2E0/1/0E0/1/110.4.0.0/30R110.1.0.12/30E0/1/0S0/2/1R2S0/2/010.4.0.8/3010.1.0.0/30E0/1/0SW2E0/4/3Lo1:10.1.1.0/24Lo2:10.1.2.0/24Lo3:10.1.3.0/24Area 0北京10.1.0.4/30E0/1/1Area 2上海E0/1/010.4.0.4/30Area 1海南S0/2/0E0/1/1E0/1/0S0/2/110.2.0.4/30E0/1/2R3Rip10.2.0.0/30R4E0/1/0R6Lo1:10.3.1.0/24Lo2:10.3.2.0/24Lo3:10.3.3.0/24R5Lo1:10.2.1.0/24Lo2:10.2.2.0/24Lo3:10.2.3.0/24

图 3-1 网络拓扑图

2、IP分配表

我们使用10.0.0.0/8网段的的私网地址来进行规划。 Ip地址的9-16位代表地区。 1 代表北京 例如:10.1.0.0/24 2 代表上海 例如:10.2.0.0/24 3 代表海南 例如:10.3.0.0/24 4 代表链路地址 例如:10.4.0.0/30

Ip地址的17-24位代业务网段。 0 代表接口ip地址 例如:10.0.0.0/30 1 代表财务处ip地址 例如:10.0.1.0/24 2 代表销售部ip地址 例如:10.0.2.0/24 3 代表网络中心ip地址 例如:10.0.3.0/24

表3-1 北京地区ip地址规划

北京 配置名称 财务处 销售部 网络中心 接口ip地址 IP地址 10.1.1.0 10.1.2.0 10.1.3.0 10.1.0.0 子网掩码 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0 表3-1 上海地区ip地址规划

上海 配置名称 财务处 销售部 网络中心 接口ip地址 IP地址 10.2.1.0 10.2.2.0 10.2.3.0 10.2.0.0 子网掩码 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0 表3-1 海南地区ip地址规划

默认网关 10.2.1.1 10.2.2.1 10.2.3.1 \\ 默认网关 10.1.1.1 10.1.2.1 10.1.3.1 \\ 上海 配置名称 财务处 销售部 网络中心 接口ip地址 IP地址 10.3.1.0 10.3.2.0 10.3.3.0 10.3.0.0 子网掩码 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0 3、交换机IP配置

表2-2 交换机IP配置

设备名称 设备接口 Vlan1 Lo1 Lo2 SW1 Lo3 E0/4/3 E0/1/0 Vlan1 Lo1 Sw2 Lo2 Lo3 E0/1/0 E0/4/3

4、路由器IP配置

表2-3 路由器IP配置

设备名称 设备接口 E0/1/0 R1 E0/1/1 E0/1/2 R2 E0/1/0 E0/1/1 IP地址 10.1.0.12/30 10.4.0.0/30 10.1.0.8/30 10.1.0.12/30 10.1.0.4/30 IP地址 10.1.0.0/30 10.1.1.1/24 10.1.2.1/24 10.1.3.1/24 / 10.1.0.8/30 10.1.0.0/30 10.1.1.2/24 10.1.2.2/24 10.1.3.2/24 10.1.0.4/30 / 默认网关 10.3.1.1 10.3.2.1 10.3.3.1 \\ S0/2/0 S0/2/1 E0/1/0 R3 E0/1/1 E0/1/2 R4 E0/1/0 E0/1/0 R5 Lo1 Lo2 Lo3 S0/2/0 S0/2/1 R6 Lo1 Lo2 Lo3 10.4.0.8/30 10.4.0.4/30 10.2.0.4/30 10.4.0.0/30 10.2.0.0/30 10.2.0.4/30 10.2.0.0/30 10.2.1.1/24 10.2.2.1/24 10.2.3.1/24 10.4.0.8/30 10.4.0.4/30 10.3.1.1/24 10.3.2.1/24 10.3.3.1/24 四. 预期要达到的实验结果: (一)、需求分析 1、工程化的ip地址分配 2、实现全网互通。 3、OSPF多区域的划分

4、将Area 1区域设置成Stub区域。 5、通过修改cost值实现链路的备份。 6、业务端口设置为禁默端口。 7、远程接入的设备需要做认证。 8、实现rip的路由汇总。 9、实现OSPF的区域路由的汇总。 10、路由重发布

地域图如下

北京上海图4-1 公司地理位置分布图

海南

五. 配置思路步骤:(工程配置思想) 1、接口的配置

表5-1 设备接口配置

interface e0/1/0 ip address 10.1.0.9 30 interface vlan 1 ip address 10.1.0.1 30 undo shutdown SW1 interface lo1 ip address 10.1.1.1 24 interface lo2 ip address 10.1.2.1 24 interface lo3 ip address 10.1.3.1 24 interface e0/1/0 ip address 10.1.0.5 30 interface vlan 1 ip address 10.1.0.2 30 undo shutdown SW2 interface lo1 ip address 10.1.1.2 24 interface lo2 ip address 10.1.2.2 24 interface lo3 ip address 10.1.3.2 24 interface e0/1/2 ip address 10.1.0.10 30 R1 interface e0/1/0 ip address 10.1.0.13 30 interface e0/1/1 ip address 10.4.0.1 30 interface e0/1/0 ip address 10.1.0.14 30 interface e0/1/1 R2 ip address 10.1.0.6 30 interface s0/2/0 ip address 10.4.0.9 30 interface s0/2/1 ip address 10.4.0.5 30 interface e0/1/1 ip address 10.4.0.2 30 R3 interface e0/1/0 ip address 10.2.0.5 30 interface e0/1/2 ip address 10.2.0.1 30 R4 interface e0/1/0 ip address 10.2.0.6 30 interface e0/1/0 ip address 10.2.0.2 30 interface lo1 R5 ip address 10.2.1.1 24 interface lo2 ip address 10.2.2.1 24 interface lo3 ip address 10.2.3.1 24 interface s0/2/0 ip address 10.4.0.10 30 interface s0/2/1 R6 ip address 10.4.0.6 30 interface lo1 ip address 10.3.1.1 24 interface lo2 ip address 10.3.2.1 24 interface lo3 ip address 10.3.3.1 24

2、OSPF技术

表5-2 OSPF技术实现 router id 11.11.11.11 ospf area 0 SW1 network 10.1.0.8 0.0.0.3 network 10.1.0.0 0.0.0.3 network 10.1.1.0 0.0.0.255 network 10.1.2.0 0.0.0.255 network 10.1.3.0 0.0.0.255 router id 22.22.22.22 ospf area 0 SW2 network 10.1.0.4 0.0.0.3 network 10.1.0.0 0.0.0.3 network 10.1.1.0 0.0.0.255 network 10.1.2.0 0.0.0.255 network 10.1.3.0 0.0.0.255 router id 1.1.1.1 ospf area 0 R1 network 10.1.0.8 0.0.0.3 network 10.1.0.12 0.0.0.3 area 2 network 10.4.0.0 0.0.0.3 router id 2.2.2.2 ospf area 0 R2 network 10.1.0.4 0.0.0.3 network 10.1.0.12 0.0.0.3 area 1 network 10.4.0.4 0.0.0.3 network 10.4.0.8 0.0.0.3 router id 3.3.3.3 ospf R3 area 2 network 10.4.0.0 0.0.0.3 network 10.2.0.4 0.0.0.3 router id 4.4.4.4 R4 ospf area 2 network 10.2.0.4 0.0.0.3 router id 5.5.5.5 ospf R6 area 1 network 10.4.0.4 0.0.0.3 network 10.4.0.8 0.0.0.3 3、RIP技术

表5-3 RIP 技术的实现 rip R3 version 2 undo summary network 10.2.0.0 rip R4 version 2 undo summary network 10.2.0.0

4、路由表重发布

表5-4 路由重发布 rip import-route ospf cost 5 //将OSPF的路由表放进RIP,R3 开销为5 ospf import-route rip cost 10 //将RIP的路由表放进OSPF,开销为10

5、OSPF的接入认证

表 5-5 OSPF的接入认证 ospf area 2 R1 authentication-mode simple interface e0/1/1 ospf authentication-mode simple plain bjtosh ospf area 2 authentication-mode simple R3 interface e0/1/1 ospf authentication-mode simple plain bjtosh interface e0/1/0 ospf authentication-mode simple plain shtosh ospf area 2 R4 authentication-mode simple interface e0/1/0 ospf authentication-mode simple plain shtosh ospf area 1 authentication-mode simple R2 interface s0/2/0 ospf authentication-mode simple plain bjtohn interface s0/2/1 ospf authentication-mode simple plain bjtohn ospf area 1 R6 authentication-mode simple interface s0/2/0 ospf authentication-mode simple plain bjtohn interface s0/2/1 ospf authentication-mode simple plain bjtohn

6、静默端口

表5-6静默端口的设置 ospf SW1 SW2 R6 silent-interface lo1 silent-interface lo2 silent-interface lo3 rip R5 silent-interface lo1 silent-interface lo2 silent-interface lo3

7、链路备份

表5-7 修改cost达到链路备份

R2 R6

8、Stub区域

表5-8 Stub区域的设置 ospf R2 R6 area 1 stub interface s0/2/0 ospf cost 2000 9、RIP 路由汇聚

表5-9 RIP 的路由汇聚

R5 interface e0/1/0 rip summary-address 10.2.0.0 22 interface e0/1/2 rip summary-address 10.0.0.0 13 R3

10、OSPF区域的路由汇聚

表5-10 OSPF 区域1的路由汇聚 ospf R2 area 1 abr-summary 10.3.0.0 22 表5-11 OSPF 区域0的路由汇聚 ospf R1 R2 area 0 abr-summary 10.1.0.0 22

六. 实验调试过程: 1、

图6-1 :R1路由表条目

链路备份前

备份后

2、

Stub 区域后效果

Rip 汇聚前

Rip汇聚后

区域1聚合前

区域1 聚合后

区域0的路由汇总前

区域0路由汇总后

Rip 汇总前

Rip捆绑后 4、

图6-5链路捆绑

5、

图6-6SW1 MSTP 实例0和实例1根桥

6、

图6-7SW1 MSTP实例2根桥

7、

图6-8DHCP地址池范围

8、

七. 实验调试结果:1、

2、

3、

4、

5、

图6-9FTP server的搭建

图7-1 非网络中心不能登录

图7-42Console 密码认证

7-3 测试分公司的连通性,

图7-4到两个部门的连通性

图7-5非网络中心telnet测试

6、

图7-6部门到的连通性

八. 实验总结:

1、通过实验串通所有学过的知识点,懂得怎样融合知识点到一个项目中; 2、根据分析客户的需求进行技术上的分析,然后就可以清晰的实现项目;

3、实验运用到了:vlan、telnet、ftp、ppp、acl、nat、dhcp、mstp、rip、ospf、静态路由、链路捆绑技术、路由重发布,静默端口、rip的接入认证、svi、trunk; 4、实验中我们做了路由重发布,为了将rip的路由表发布到ospf中里;

5、实验过程中进行捆绑时已显示配置成功,但验证过程没有成功,后来通过几番的检查才得以解决;

6、做这个实验虽然有点辛苦,但体味到一个组团结的力量,也体味到做项目的一点点艰辛;

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- huatuo0.com 版权所有 湘ICP备2023021991号-1

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务