子网划分路由配置

上传人:ni****g 文档编号:429895139 上传时间:2023-05-23 格式:DOC 页数:10 大小:478KB
返回 下载 相关 举报
子网划分路由配置_第1页
第1页 / 共10页
子网划分路由配置_第2页
第2页 / 共10页
子网划分路由配置_第3页
第3页 / 共10页
子网划分路由配置_第4页
第4页 / 共10页
子网划分路由配置_第5页
第5页 / 共10页
点击查看更多>>
资源描述

《子网划分路由配置》由会员分享,可在线阅读,更多相关《子网划分路由配置(10页珍藏版)》请在金锄头文库上搜索。

1、word理工学院实验报告系别计算机系班级B120503学号B12050316段浴课程名称计算机网络实验日期2014/11/8实验名称子网划分路由配置成绩实验目的:1、 了解如何配置路由器信息2、 了解如何划分子网实验条件:电脑一台,Cisco packet tracer模拟软件实验原理:在本实验中,为您指定了一个网络地址,您将对它划分子网,并为拓扑图中显示的网络分配IP 地址。路由器全部使用2621XM,交换机全部使用2960。该网络的编址需求如下:BRANCH1 的LAN 1 子网需要10 个主机IP 地址。BRANCH1 的LAN 2 子网需要10 个主机IP 地址。BRANCH2 的LA

2、N 1 子网需要10 个主机IP 地址。BRANCH2 的LAN 2 子网需要10 个主机IP 地址。HQ 的LAN 子网需要20 个主机IP 地址。从HQ 到BRANCH1 的链路的两端各需要一个IP 地址。从HQ 到BRANCH2 的链路的两端各需要一个IP 地址。注意:请记住,网络设备的接口也是主机IP 地址,已包括在上面的编址需求中。Fa0/0Fa0/1LAN1LAN2LAN2LAN1实验容:1. 设计子网子网编号说明子网地址子网掩码第一个可用地址最后一个可用地址1HQ 的 LAN2BRANCH1 的 LAN 13BRANCH1 的 LAN 24BRANCH2 的 LAN 15BRAN

3、CH2 的 LAN 26HQ 到 BRANCH17HQ 到 BRANCH22. 分配IP地址网关地址使用子网的第一个可用地址设备接口IP地址子网掩码默认网关HQFa0/1不适用S0/0不适用S0/1不适用BRANCH1Fa0/0不适用Fa0/1不适用S0/0不适用BRANCH2Fa0/0不适用Fa0/1不适用S0/1不适用PC1网卡PC2网卡PC3网卡PC4网卡PC5网卡3. 连接网络路由器之间使用DCE电缆连接到串行口3、 配置每个路由器的接口IP:5 配置每台计算机的IP地址6. 设置路由器中的路由表。【BRANCH1的配置】下面是配置BRANCH1的IP地址的过程,其它两个路由器的配置自

4、行完成1关闭路由器电源2安装模块WIT-2T。3进入CLI4进展以下操作蓝色文字是需要输入的命令,红色文字是说明Continue with configuration dialog? yes/no: nPress RETURN to get started!进入控制台模式Routeren进入全局配置模式Router#conf tEnter configuration mands, one per line. End with TL/Z.修改路由器名称Router(config)#hostname BRANCH1配置Fa0/0的IP地址BRANCH1(config)#int f0/0BRANCH

5、1(config-if)#BRANCH1(config-if)#no shutdown%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up配置Fa0/1的IP地址BRANCH1(config-if)#int f0/1BRANCH1(config-if)#BRANCH1(config-if)#no shutdown%LINK-5-CHANGED: Inter

6、face FastEthernet0/1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up配置S0/0的IP地址。因为BRANCH1是BRANCH1和HQ之间串行通信的DCE设备,所以需要配置时钟频率。BRANCH1(config-if)#int s0/0BRANCH1(config-if)#BRANCH1(config-if)#no shutdown%LINK-5-CHANGED: Interface Serial0/0, chang

7、ed state to upBRANCH1(config-if)#clock rate 64000%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up返回到控制台模式。Exit命令返回到上一层,使用Ctrl+Z可以直接返回控制台。BRANCH1(config-if)#exitBRANCH1(config)#exit%SYS-5-CONFIG_I: Configured from console by console查看IP地址配置情况。BRANCH1#show ip int briInter

8、face IP-Address OK? Method Status ProtocolFastEthernet0/0 192.168.9.33 YES manual up upFastEthernet0/1 192.168.9.49 YES manual up upSerial0/0 192.168.9.129 YES manual up upSerial0/1 unassigned YES manual administratively down down按此方法配置其它两个路由器,此时可以测试各个子网和网关的连通情况。5添加路由表。这里没有使用路由总结。BRANCH1#conf tEnter

9、 configuration mands, one per line. End with TL/Z.BRANCH1(config)#ip route 192.168.9.32 255.255.255.240 f0/0BRANCH1(config)#ip route 192.168.9.48 255.255.255.240 f0/1BRANCH1(config)#24BRANCH1(config)#BRANCH1(config)#40返回控制台BRANCH1(config)#Z%SYS-5-CONFIG_I: Configured from console by console查看路由表BRAN

10、CH1#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - IS-IS, L1 - IS-IS le

11、vel-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static routeGateway of last resort is not set 192.168.9.0/24 is variably subnetted, 6 subnets, 3 masksC 192.168.9.32/28 is directly connected, FastEthernet0/0C 192.168.9

12、.48/28 is directly connected, FastEthernet0/1C 192.168.9.128/30 is directly connected, Serial0/0【HQ的配置】1关闭路由器电源2安装模块WIT-2T。3进入CLI4进展以下操作红色文字是说明Continue with configuration dialog? yes/no: nPress RETURN to get started!RouterenRouter#conf tEnter configuration mands, one per line. End with TL/Z.Router(c

13、onfig)#hostname HQHQ(config)#int f0/1HQ(config-if)#no shutdown%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to upHQ(config-if)#int s0/0HQ(config-if)#no shutdown配置IP地址%LINK-5-CHANGED: Interface Serial0/0, changed state to upHQ(config-if)#%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to upHQ(config-if)#int s0/1HQ(config-if)#no shutdown配置DCE设备的时钟频率。HQ是HQ和BR

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 建筑/环境 > 施工组织

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号