网络方向实训-企业园区网络设计-Had Done

Posted Jucway

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了网络方向实训-企业园区网络设计-Had Done相关的知识,希望对你有一定的参考价值。

文章目录

网络实验课程设计

时间⏲事件🌍备注🇳🇦
2022.06.15 晚前6个需求Jucw
2022.06.16下午需求7-11Jucw
2022.06.16晚需求12-16jucw
2022.06.17晚需求17-18Jucw

直接将实验笔记导入博客导致部分图片链接失效,后续完成实验再修改;

资料

实验已经做完,由于还没上交作业,实验报告等交完作业再贴上来;
有需要的同学关注私信

能成大事的人总会做出很暖心的举动,比如给我点个赞

网络拓扑

备注:设备的编号和指导书上的编号不一样;我搭建的时候是按照自己的顺序给设备编号;

公司A

公司B

INTERNET

路由器

R 1 路由器

Router>enable
Router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int f0/0
Router(config-if)#ip address 24.1.1.1 255.255.255.0 # 给接口绑定ip地址和掩码
Router(config-if)#no shutdown # 开启物理接口 以下同理

Router(config-if)#
%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)#exit
Router(config)#int f0/1
Router(config-if)#ip address 12.1.1.1 255.255.255.0
Router(config-if)#no shutdown

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

Router(config-if)#exit

R2 路由器

Router>enable
Router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int f0/0
Router(config-if)#ip address 10.1.1.2 255.255.255.0
Router(config-if)#no shutdown

Router(config-if)#
%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)#exit
Router(config)#int f0/1
Router(config-if)#ip address 24.1.1.2 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#int f1/0
Router(config-if)#ip address 34.1.1.2 255.255.255.0
Router(config-if)#no shutdown

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up

Router(config-if)#exit
Router(config)#exit



R3 路由器

Router(config)#hostname R3
R3(config)#int f0/0
R3(config-if)#ip address 34.1.1.3 255.255.255.0
R3(config-if)#no shutdown

R3(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

R3(config-if)#exit
R3(config)#int f0/1
R3(config-if)#ip address 13.1.1.3 255.255.255.0
R3(config-if)#no shutdown

R3(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

R3(config-if)#exit
R3(config)#int f1/0
R3(config-if)#ip address 200.100.36.3 255.255.255.0
R3(config-if)#no shutdown

R3(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up

R3(config-if)#exit

R4 路由器

Router(config)#hostname R4
R4(config)#int f0/0
R4(config-if)#ip address 12.1.1.4 255.255.255.0
R4(config-if)#no shutdown

R4(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

R4(config-if)#exit
R4(config)#int f0/1
R4(config-if)#ip address 13.1.1.4 255.255.255
                                  ^
% Invalid input detected at '^' marker.
	
R4(config-if)#ip address 13.1.1.4 255.255.255.0
R4(config-if)#no shutdown

R4(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

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

R4(config-if)#exit
R4(config)#int f1/0
R4(config-if)#ip address 192.168.1.4 255.255.255.0
R4(config-if)#no shutdown

R4(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to up

R4(config-if)#exit

R5路由器

R5(config)#int f0/0
R5(config-if)#ip address 202.100.36.5 255.255.255.0
R5(config-if)#no shutdown

R5(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

R5(config-if)#exit
R5(config)#int f0/1
R5(config-if)#ip address 202.100.68.5 255.255.255.0
R5(config-if)#no shutdown

R5(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

R5(config-if)#exit
R5(config)#int s
R5(config)#int serial 0/3/0
R5(config-if)#ip address 202.100.67.5 255.255.255.0
R5(config-if)#no shutdown

R6 路由器

Router>enable
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname R6
R6(config)#int f0/0
R6(config-if)#ip address 202.100.78.6 255.255.255.0
R6(config-if)#no shutdown

R6(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

R6(config-if)#exit
R6(config)#int f0/1
R6(config-if)#ip address 202.100.3.6 255.255.255.0
R6(config-if)#no shutdown

R6(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

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

R6(config-if)#exit
R6(config)#int se
R6(config)#int serial 0/3/0
R6(config-if)#ip address 202.100.67.6 255.255.255.0
R6(config-if)#no shutdown

R6(config-if)#
%LINK-5-CHANGED: Interface Serial0/3/0, changed state to up

R6(config-if)#exit

R7 路由器

Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname R7
R7(config)#int f0/0
R7(config-if)#ip address 202.100.78.7 255.255.255.0
R7(config-if)#no shutdown

R7(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

R7(config-if)#exit
R7(config)#int f0/1
R7(config-if)#ip address 202.100.89.7 255.255.255.0
R7(config-if)#no shutdown

R7(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

R7(config-if)#eixt
               ^
% Invalid input detected at '^' marker.
	
R7(config-if)#exit
R7(config)#int f1/0
R7(config-if)#ip address 202.100.58.7 255.255.255.0
R7(config-if)#no shutdown

R7(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up

R7(config-if)#exit
R7(config)#
R7(config)#exit

R8 路由器

R8(config)#int f0/0
R8(config-if)#ip address 202.100.68.8 255.255.255.0
R8(config-if)#no shutdown

R8(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

R8(config-if)#exit
R8(config)#int f0/1
R8(config-if)#ip address 202.100.89.8 255.255.255.0
R8(config-if)#no sh

R8(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

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

R8(config-if)#exit
R8(config)#int f1/0
R8(config-if)#ip address 202.100.109.8 255.255.255.0
R8(config-if)#no sh


R9 路由器

Router(config)#hostname R9
R9(config)#int f0/0
R9(config-if)#ip address 202.100.109.9 255.255.255.0
R9(config-if)#no sh

R9(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

R9(config-if)#exit
R9(config)#int f0/1
R9(config-if)#ip address 202.100.4.9 255.255.255.0
R9(config-if)#no sh

R10 路由器

Router(config)#hostname R10
R10(config)#int f0/1
R10(config-if)#ip add 202.100.58.10 255.255.255.0
R10(config-if)#no shutdown









R10(config)#int f0/0.3
R10(config-subif)#
%LINK-5-CHANGED: Interface FastEthernet0/0.3, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.3, changed state to up

R10(config-subif)#en
R10(config-subif)#encapsulation d
R10(config-subif)#encapsulation dot1Q 30
R10(config-subif)#ip add 172.16.30.254 255.255.255.0
R10(config-subif)#exit
R10(config)#int f0/0.1   # r10 作为单臂路由器,要进入子接口将vlan进行封装成802.1q t同时绑定ip地址
R10(config-subif)#en
R10(config-subif)#encapsulation d
R10(config-subif)#encapsulation dot1Q 10
R10(config-subif)#ip add 172.16.10.254 255.255.255.0
R10(config-subif)#exi
R10(config-subif)#exit 
R10(config)#int f0/0.2
R10(config-subif)#en
R10(config-subif)#encapsulation di
R10(config-subif)#encapsulation d
R10(config-subif)#encapsulation dot1Q 20
R10(config-subif)#ip add 172.16.20.254 255.255.255.0
R10(config-subif)#exit
R10(config)#ip routing

交换机

三层交换机

SW1(config)#
SW1(config)#vlan 10 # 三层交换机先创建vlan 
SW1(config-vlan)#vlan 20
SW1(config-vlan)#vlan 30
SW1(config-vlan)#vlan 40
SW1(config-vlan)#exit
SW1(config)#int vlan 10
SW1(config-if)#
%LINK-5-CHANGED: Interface Vlan10, changed state to up

SW1(config-if)#ip add 192.168.10.254 255.255.255.0   #  进入每个vlan绑定ip,这个ip 会作为主机的网关
SW1(config-if)#no sh
SW1(config-if)#int vlan 20
SW1(config-if)#
%LINK-5-CHANGED: Interface Vlan20, changed state to up

SW1(config-if)#ip add 192.168.20.254 255.255.255.0
SW1(config-if)#no sh
SW1(config-if)#int vlan 30
SW1(config-if)#
%LINK-5-CHANGED: Interface Vlan30, changed state to up

SW1(config-if)#ip add 192.168.30.254 255.255.255.0
SW1(config-if)#no sh
SW1(config-if)#int vlan 40
SW1(config-if)#
%LINK-5-CHANGED: Interface Vlan40, changed state to up

SW1(config-if)#ip add 192.168.40.254 255.255.255.0
SW1(config-if)#no sh
SW1(config-if)#


SW1(config)#int range f0/1-3
SW1(config-if-range)#switchport trunk encapsulation dot1q 
SW1(config-if-range)#switchport mode trunk 
SW1(config-if-range)#switchport trunk allowed vlan all


Enter configuration commands, one per line.  End with CNTL/Z.
SW1(config)#int f0/4    # 与路由去连接的接口要开启路由模型,绑定ip
SW1(config-if)#no sw
SW1(config-if)#no switchport 
SW1(config-if)#ip add 192.168.1.1 255.255.255.0
SW1(config-if)#exit
SW1(config)#
SW1(config)#exit
SW1#
%SYS-5-CONFIG_I: Configured 
SW1(config)#ip routing  # 启动路由

查看路由

SW1#show ip route

二层交换机

SW 2
SW2(config)#vlan 10
SW2(config-vlan)#vlan 20 # 开启链路状态
SW2(config-vlan)#
SW2(config-vlan)#int f0/3 # 进入接口
SW2(config-if)#swit 
SW2(config-if)#switchport mode tr
SW2(config-if)#switchport mode trunk  # 与三层交换机连接的用trunk 模式
SW2(config-if)#sw
SW2(config-if)#switchport tr
SW2(config-if)#switchport trunk all
SW2(config-if)#switchport trunk allowed vl
SW2(config-if)#switchport trunk allowed vlan all # 运行所有vlan 通过
SW2(config-if)#int f0/1 # 与主机连接的使用access ,只允许当前vlan 通过
SW2(config-if)#sw
SW2(config-if)#switchport mode access
SW2(config-if)#sw
SW2(config-if)#switchport acc
SW2(config-if)#switchport access vlan 10
SW2(config-if)#int f0/2
SW2(config-if)#sw
SW2(config-if)#switchport mode a
SW2(config-if)#switchport mode access 
SW2(config-if)#sw
SW2(config-if)#switchport acc
SW2(config-网络方向实训-企业园区网络设计-Doing,,,

基于华为eNSP的中小企业办公园区网络规划与设计

基于华为eNSP的中小企业办公园区网络规划与设计

基于华为eNSP的中小企业办公园区网络规划与设计

整理园区网络综合考量设计

200人 500人规模园区网设计(中小企业网络)