小型企业网络设计

小型企业网络设计


在这里插入图片描述

1. *需求分析*

1.1. 路由器R2作为企业网与互联网相通的路由器。在R2配置NAT地址转换技术将企业私网地址转为公网地址,实现企业网络与互联网相互通信功能。

1.2. 在路由器R2、R3,交换机SW1和SW2配置动态路由ospf,R4和R6配置rip。

1.3. R3设置为ASBR路由,向area0骨干网络区域引入rip动态路由。使骨干网area0的网络区域能与R4和R6相通。

1.4. R4配置单臂路由使PC3和PC4互通。

1.5. Server服务的http映射一个公网地址202.2.12.3地址。企业网络内部http服务连接互联网。

2. *路由器和交换机配置信息*


## (一)R1配置

interface GigabitEthernet0/0/0
ip address 202.2.2.1 255.255.255.0 
interface GigabitEthernet0/0/1
ip address 202.2.12.1 255.255.255.0 

## (二)R2配置

interface GigabitEthernet0/0/0
ip address 202.2.12.2 255.255.255.0 
nat server protocol tcp global 202.2.12.3 www inside 10.1.100.100 www
nat outbound 2000
acl 2000   //新建策略
rule 5 permit source 10.1.0.0 0.0.255.255       //easy-ip NAT转换,私网转公网,之后去接口g0/0/0输入nat outbound 2000
interface GigabitEthernet0/0/1
ip address 10.1.113.2 255.255.255.0 
interface GigabitEthernet0/0/2
ip address 10.1.111.1 255.255.255.0 
interface GigabitEthernet6/0/0
ip address 10.1.112.1 255.255.255.0 
interface LoopBack0
ip address 2.2.2.2 255.255.255.255 
ospf 1 router-id 2.2.2.2 
default-route-advertise     // 到ospf中设置默认指向路由,使area0中的路由能够学习到R2指向R1的默认路由
default-route-advertise 命令意思是将本路由器发布一条0.0.0.0/0.0.0.0的路由到域内其他路由器到其他路由器学习到这条默认路由后,其他路由器下一个跳就是指向发布这条路由的路由器。
area 0.0.0.0 
network 2.2.2.2 0.0.0.0    //area0网络号网络号宣告LSA
network 10.1.111.0 0.0.0.255 
network 10.1.112.0 0.0.0.255 
network 10.1.113.0 0.0.0.255 
ip route-static 0.0.0.0 0.0.0.0 202.2.12.1   //设置指向R1的默认路由
(三)R3配置
interface LoopBack0
ip address 3.3.3.3 255.255.255.255 
ospf 1 router-id 3.3.3.3 
import-route rip 1 cost 5 type 1   //引入rip路由cost零梢默认为5
area 0.0.0.0 
network 3.3.3.3 0.0.0.0 
network 10.1.113.0 0.0.0.255
interface GigabitEthernet0/0/0
ip address 10.1.113.1 255.255.255.0 
interface GigabitEthernet0/0/1
ip address 10.1.134.2 255.255.255.0 
rip 1               //配置动态路由
default-route originate   //rip中引入默认路由
version 2
network 10.0.0.0
import-route ospf 1     //引入ospf路由
(四)R4配置
interface GigabitEthernet0/0/0
ip address 10.1.134.1 255.255.255.0 
interface GigabitEthernet0/0/1
ip address 10.1.135.1 255.255.255.0 
interface GigabitEthernet0/0/2
interface GigabitEthernet0/0/2.21
dot1q termination vid 21
ip address 10.1.21.1 255.255.255.0 
arp broadcast enable
interface GigabitEthernet0/0/2.22
dot1q termination vid 22
ip address 10.1.22.1 255.255.255.0 
arp broadcast enable
interface LoopBack0
ip address 4.4.4.4 255.255.255.255 
rip 1
version 2
network 10.0.0.0    //rip 宣告网络号
network 4.0.0.0
(五)R5配置
interface GigabitEthernet0/0/0
ip address 10.1.135.2 255.255.255.0 
interface GigabitEthernet0/0/1
ip address 10.1.100.1 255.255.255.0 
interface GigabitEthernet0/0/2
interface LoopBack0
ip address 5.5.5.5 255.255.255.255 
rip 1
undo summary
version 2
network 10.0.0.0
network 5.0.0.0
(六)SW1配置
sysname SW1
vlan batch 11 to 12 1000 to 1001
interface Vlanif11
ip address 10.1.11.1 255.255.255.0
interface Vlanif12
ip address 10.1.12.1 255.255.255.0
interface Vlanif1000
ip address 10.1.122.11 255.255.255.0
interface Vlanif1001
ip address 10.1.111.12 255.255.255.0
interface Eth-Trunk1
port link-type access
port default vlan 1000
interface GigabitEthernet0/0/1
port link-type access
port default vlan 11
interface GigabitEthernet0/0/2
port link-type access
port default vlan 1001
interface GigabitEthernet0/0/3
eth-trunk 1
interface GigabitEthernet0/0/4
port link-type access
port default vlan 12
interface GigabitEthernet0/0/5
eth-trunk 1
interface LoopBack0
ip address 11.11.11.11 255.255.255.255
ospf 1 router-id 11.11.11.11
area 0.0.0.0
network 10.1.11.0 0.0.0.255
network 10.1.12.0 0.0.0.255
network 10.1.122.0 0.0.0.255
network 10.1.111.0 0.0.0.255
network 11.11.11.11 0.0.0.0
(七)SW2配置
vlan batch 13 to 14 1000 1002
interface Vlanif13
ip address 10.1.13.1 255.255.255.0
interface Vlanif14
 ip address 10.1.14.1 255.255.255.0
interface Vlanif1000
ip address 10.1.122.12 255.255.255.0
interface Vlanif1002
ip address 10.1.112.12 255.255.255.0
interface MEth0/0/1
interface Eth-Trunk1
port link-type access
port default vlan 1000
interface GigabitEthernet0/0/1
port link-type access
port default vlan 1002
interface GigabitEthernet0/0/2
port link-type access
port default vlan 13
interface GigabitEthernet0/0/3
eth-trunk 1
interface GigabitEthernet0/0/4
port link-type access
port default vlan 14
interface LoopBack0
ip address 22.22.22.22 255.255.255.255
ospf 1 router-id 22.22.22.22
area 0.0.0.0
network 10.1.13.0 0.0.0.255
network 10.1.14.0 0.0.0.255
network 10.1.112.0 0.0.0.255
network 10.1.122.0 0.0.0.255
network 22.22.22.22 0.0.0.0
(八)SW5配置
vlan batch 21 to 22
interface Ethernet0/0/21
port link-type access
port default vlan 22
interface Ethernet0/0/22
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 21 to 22
interface GigabitEthernet0/0/2
port link-type access
port default vlan 21
(九)Sw3配置
interface GigabitEthernet0/0/1
port link-type access
port default vlan 11
interface GigabitEthernet0/0/2
port link-type access
port default vlan 11
(十)SW4配置
interface GigabitEthernet0/0/1
port link-type access
port default vlan 12
interface GigabitEthernet0/0/2
port link-type access
port default vlan 12
(十一)SW6配置
interface GigabitEthernet0/0/1
port link-type access
port default vlan 13
interface GigabitEthernet0/0/2
port link-type access
port default vlan 13
(十二)SW8配置
interface GigabitEthernet0/0/1
port link-type access
port default vlan 14
interface Ethernet0/0/4
port link-type access
port default vlan 14

3.** *网络中PC手工配置ip地址*

PC机ip地址子网掩码网关
PC1202.2.2.100/24255.255.255.0202.2.2.1/24
PC210.1.12.100/24255.255.255.010.1.12.1/24
PC310.1.21.100/24255.255.255.010.1.21.1/24
PC410.1.22.100/24255.255.255.010.1.22.1/24
PC510.1.11.100/24255.255.255.010.1.11.1/24
PC610.1.14.100/24255.255.255.010.1.14.1/24
PC910.1.13.100/24255.255.255.010.1.13.1/24

4. *Server服务配置*****

在这里插入图片描述5.PC5pingPC1,在R2接口g0/0/0抓包查看,私网地址转换公网地址情况。PC机之间互通。其他PC机与PC1也互通最终实现全网通。
在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述

  • 5
    点赞
  • 45
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
随着小型企业的高速发展,对络处理和传输性能提出了新的要求。由于点接入路由器和终端接入设备年代较久,性能和扩展能力都出现了瓶颈,严重影响点业务的发展和客户服务质量。为此本论文设计了一个小型企业络工程,从而解决了由于设备性能低下出现瓶颈的问题,而且提高了企业网络工程的扩展能力。 本论文首先讨论了小企业的背景、意义、应用现状以及研究与开发现状,然后对OSPF协议、DHCP协议、VLAN的划分、静态路由以及数据流控制等相关技术理论作了简单的论述,其次结合工程项目,论述了企业网络的需求分析、整体设计,其包括对IP地质的划分,络拓扑图等做了分析和描述。接下来,论文着重讨论了基于OSPF协议的络工程的设计和实现,详细地论述了各个协议的运用和实现方法。最后,对整个络进行了测试。 关键词:络工程;协议;性能;扩展 ABSTRACT With the rapid development of small and medium enterprises, this network processing and network transmission performance and scalability of terminal smooth raised new demands. As the network access routers and terminal access device's longer, performance and scalability bottlenecks have appeared, it affect the network business development and customer service. To this end this paper, an application of existing small and medium enterprises in network engineering, to solve the poor performance bottleneck because the equipment problems, and improve the ability of the corporate network expansion project. This paper first discusses the background of small and medium networks, meaning, application status, and research and development status, Then on the OSPF protocol, DHCP protocol, VLAN classification, static routing and data flow control and other related technology theory briefly discussed, Secondly, combined with the project, specifically addressing the needs of the corporate network analysis, overall design, including the division of IP addresses, network topology maps were analyzed and described. Next, the paper focused on the OSPF protocol-based network engineering design and implementation. Discussed in detail in the paper the use of various agreements and implementation methods. Finally, test the entire network. Keywords: Network engineering; protocol; performance; expansion

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值