机房网络规划与配置实验

Posted 张夷陵

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了机房网络规划与配置实验相关的知识,希望对你有一定的参考价值。

目录

题目

实操环境

要求

效果图

网络配置文件


题目

现有光端机房1,光端机房2,光端机房3三个光端机房,假设每个机房需要14个IP地址,可用网段为9.125.2.0/24, 请根据各个机房的需求,完成IP地址规划,并使用OSPF协议实现各网段的互联互通。

实操环境

思科Packet Tracer模拟器

要求

1.计算子网掩码
2.分析每个网段的IP地址范围

效果图

 

网络配置文件

  以Router4为例 

Router>enable
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip addr 9.125.2.193 255.255.255.224
Router(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

Router(config-if)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int se0/1/0
Router(config-if)#ip addr 9.125.2.66 255.255.255.224
Router(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/1/0, changed state to up

Router(config-if)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1/0, changed state to up

Router#con t
% Ambiguous command: "con t"
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int se0/1/1
Router(config-if)#ip addr 9.125.2.130 255.255.255.224
Router(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/1/1, changed state to up

Router(config-if)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1/1, changed state to up

Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int se0/1/0
Router(config-if)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#router ospf 1
Router(config-router)#network 9.125.2.192 0.0.0.31 area 1
Router(config-router)#network 9.125.2.64 0.0.0.31 area 1
Router(config-router)#network 9.125.2.128 0.0.0.31 area 1
Router(config-router)#
00:05:49: %OSPF-5-ADJCHG: Process 1, Nbr 9.125.2.161 on Serial0/1/1 from LOADING to FULL, Loading Done

Router(config-router)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int se0/1/0
Router(config-if)#clock rate 64000
Router(config-if)#encap hdlc
Router(config-if)#bandwidth 64
Router(config-if)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int se0/1/1
Router(config-if)#encap hdlc
Router(config-if)#bandwidth 64
Router(config-if)#clock rate 64000
Router(config-if)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - 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 - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     9.0.0.0/27 is subnetted, 6 subnets
O       9.125.2.32 [110/3125] via 9.125.2.129, 00:01:47, Serial0/1/1
C       9.125.2.64 is directly connected, Serial0/1/0
O       9.125.2.96 [110/3124] via 9.125.2.129, 00:01:47, Serial0/1/1
C       9.125.2.128 is directly connected, Serial0/1/1
O       9.125.2.160 [110/1563] via 9.125.2.129, 00:01:47, Serial0/1/1
C       9.125.2.192 is directly connected, FastEthernet0/0

以上是关于机房网络规划与配置实验的主要内容,如果未能解决你的问题,请参考以下文章

软考网络规划设计师冲刺阶段重要考点学习

Kubernetes Calico BGP RR网络规划

基于eNSP的IPv6校园网络规划与设计_综合实验

基于eNSP的IPv6校园网络规划与设计_综合实验

软考 系统架构设计师计算机网络② 网络规划与设计

基于MPLS-V**多分部互访的ensp企业网络规划与设计_ensp综合实验