大家好,今天小编关注到一个比较有意思的话题,就是关于局域网搭建网站教程的问题,于是小编就整理了3个相关介绍局域网搭建网站教程的解答,让我们一起看看吧。
办公室无线局域网该如何搭建,需要哪些硬件和软件?
首先,你需要规划你的无线局域网允许接入多少设备,以及分配给每个接入设备的带宽是多少。然后你才能确定你需要接入的运营商的宽带带宽是多少,需要购买哪种无线路由器(或者是交换机)。
我们只实际工作中遇到过在一台100M的电信宽带后面,接一台路由器平时接入五个无线终端,可以正常上网(包括视频),但是当无线终端数达到8个的时候,如果有一台终端在看视频,其他终端就很难打开网页的情况,后来换了一个路由,情况就有改善。所以还是要看你接入的宽带带宽和路由器
小型内网路由交换机怎么搭建?
小型内网路由交换机首先选择端口与运营商网络链路连接,配置公网IP地址,然后选择路由交换机端口连接内网,将所有内网设备接入,配置内部ip地址,让后开通路由交换机nat功能,然后配置路由交换机的路由。这样内部小局域网内部正常通信,也可借助路由交换机访问外网。
大概有10台电脑,怎么组建小型公司局域网?
买台24口交换机,买10台电脑,电脑设好IP ,掩码,没有网关。组好了。
可简陋,可复杂。
防火墙,网关,交换机,冗余,VLAN ,acl 都整上,也算一个局域网。
客户需求:
1. 公司有6个部门,高管部门、设计部、财务部、生产部、采购部、其他部门。
2. 公司有4台服务器:财务服务器、生产ERP服务器、文件存储服务器、web服务器。
3. 各部门之间可以互相通信。
4. 高管部门可以访问所有公司服务器,可以访问互联网资源。
5. 设计部门可以访问文件服务器、web服务器,可以访问互联网。
6. 财务部可以访问财务服务器、文件服务器、web服务器,可以访问互联网资源。
7. 生产部可以访问ERP服务器、文件服务器、web服务器,不能访问互联网。
8. 采购部可以访问文件服务器、web服务器,可以访问互联网资源。
9. 其他部门可以访问文件服务器、web服务器,不可以访问互联网。
10. 财务服务器、生产ERP服务器、文件存储服务器不能访问外网。
11. 外网可以通过http://202.101.100.3:8080,访问web服务器。
12. 公司从电信服务商购买202.101.100.0/29固定IP,可用固定公网IP为:202.101.100.2-202.101.100.6
13. ISP和公司连接的网关接口为202.101.100.1/29
网络设备拓扑图
设计概述:
1. 用两台二层交换机做汇聚和冗余备份及负载分担,并且:
192.168.200.0/24,192.168.4.0/24,192.168.1.0/24,192.168.255.0/24的流量优先从交换机SW-FR1-CVG走;
192.168.2.0/24,192.168.3.0/24,192.168.5.0/24,192.168.6.0/24的流量优先从交换机SW-FR1-CVG-BACK走。
2. 交换机SW-FR1、SW-FR2、SW-FR3分布在办公楼的1、2、3层,连接各楼层PC。
3. 按部门划分VLAN:高管部门属于vlan10、设计部属于vlan20、财务部属于vlan30、生产部属于vlan40、采购部属于vlan50、其他部门都划到vlan60、服务器属于vlan200、网络设备的管理vlan设为255。各交换机的telnet密码:123456
4. 路由器RT-GW fa0/0口起子接口做单臂路由,管理各vlan之间通信。
5. 路由器RT-GW fa0/0.200 接口挂ACL out,控制PC对服务器的流量。
6. 路由器RT-GW s1/0接口分配一个固定ip,起PPP协议,与服务商的网关用pap认证连接。用户名:ISP 密码:123456
7. 路由器RT-GW 做NAT,支持局域网中PC访问互联网。
8. 路由器RT-GW做静态NAT,实现广域网通过http://202.101.100.3:8080访问web服务器。
仓促而就,其中肯定有很多错误,再检查太麻烦了。就这样吧。
网络设备配置:(懒得整理了,都直接复制过来就得了。)
SW-FR1#sh run
Building configuration...
Current configuration : 2305 bytes
!
version 15.0
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname SW-FR1
!
boot-start-marker
boot-end-marker
!
!
logging discriminator EXCESS severity drops 6 msg-body drops EXCESSCOLL
logging buffered 50000
logging console discriminator EXCESS
!
no aaa new-model
no ip routing
no ip icmp rate-limit unreachable
!
no ip cef
no ip domain-lookup
!
no ipv6 cef
!
!
!
spanning-tree mode rapid-pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
ip tcp synwait-time 5
!
!
!
!
!
!
interface Ethernet0/0
switchport access vlan 200
switchport mode access
duplex auto
spanning-tree portfast edge
!
interface Ethernet0/1
switchport access vlan 200
switchport mode access
duplex auto
spanning-tree portfast edge
!
interface Ethernet0/2
switchport access vlan 200
switchport mode access
duplex auto
spanning-tree portfast edge
!
interface Ethernet0/3
switchport access vlan 200
switchport mode access
duplex auto
spanning-tree portfast edge
!
interface Ethernet1/0
switchport access vlan 40
switchport mode access
duplex auto
spanning-tree portfast edge
!
interface Ethernet1/1
switchport access vlan 40
switchport mode access
duplex auto
spanning-tree portfast edge
!
interface Ethernet1/2
switchport access vlan 40
switchport mode access
duplex auto
spanning-tree portfast edge
!
interface Ethernet1/3
switchport access vlan 40
switchport mode access
duplex auto
spanning-tree portfast edge
!
interface Ethernet2/0
duplex auto
!
interface Ethernet2/1
duplex auto
!
interface Ethernet2/2
duplex auto
!
interface Ethernet2/3
duplex auto
!
interface Ethernet3/0
duplex auto
!
interface Ethernet3/1
duplex auto
!
interface Ethernet3/2
switchport trunk encapsulation dot1q
switchport mode trunk
duplex auto
!
interface Ethernet3/3
switchport trunk encapsulation dot1q
switchport mode trunk
duplex auto
!
interface Vlan1
no ip address
no ip route-cache
shutdown
!
interface Vlan255
ip address 192.168.255.3 255.255.255.0
no ip route-cache
!
ip default-gateway 192.168.255.254
!
ip forward-protocol nd
no ip http server
!
!
!
!
!
control-plane
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
password 123456
login
transport input all
!
End
===========================================================
SW-FR2#sh run
Building configuration...
Current configuration : 2246 bytes
!
version 15.0
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname SW-FR2
!
boot-start-marker
boot-end-marker
!
!
logging discriminator EXCESS severity drops 6 msg-body drops EXCESSCOLL
logging buffered 50000
logging console discriminator EXCESS
!
no aaa new-model
no ip icmp rate-limit unreachable
!
ip cef
no ip domain-lookup
!
no ipv6 cef
!
!
!
spanning-tree mode rapid-pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
ip tcp synwait-time 5
!
!
!
!
!
!
interface Ethernet0/0
switchport access vlan 20
switchport mode access
duplex auto
spanning-tree portfast edge
!
interface Ethernet0/1
switchport access vlan 20
switchport mode access
duplex auto
spanning-tree portfast edge
!
interface Ethernet0/2
switchport access vlan 20
switchport mode access
duplex auto
spanning-tree portfast edge
!
interface Ethernet0/3
switchport access vlan 20
switchport mode access
duplex auto
spanning-tree portfast edge
!
interface Ethernet1/0
switchport access vlan 10
switchport mode access
duplex auto
spanning-tree portfast edge
!
interface Ethernet1/1
switchport access vlan 10
switchport mode access
duplex auto
spanning-tree portfast edge
!
interface Ethernet1/2
switchport access vlan 10
switchport mode access
duplex auto
spanning-tree portfast edge
!
interface Ethernet1/3
switchport access vlan 10
switchport mode access
duplex auto
spanning-tree portfast edge
!
interface Ethernet2/0
duplex auto
!
interface Ethernet2/1
duplex auto
!
interface Ethernet2/2
duplex auto
!
interface Ethernet2/3
duplex auto
!
interface Ethernet3/0
switchport trunk encapsulation dot1q
switchport mode trunk
duplex auto
!
interface Ethernet3/1
switchport trunk encapsulation dot1q
switchport mode trunk
duplex auto
!
interface Ethernet3/2
duplex auto
!
interface Ethernet3/3
duplex auto
!
interface Vlan1
no ip address
shutdown
!
interface Vlan255
ip address 192.168.255.4 255.255.255.0
!
ip default-gateway 192.168.255.254
!
ip forward-protocol nd
no ip http server
!
!
!
!
!
control-plane
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
password 123456
login
transport input all
!
End
=========================================================
SW-FR3#sh run
Building configuration...
Current configuration : 2566 bytes
!
version 15.0
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname SW-FR3
!
boot-start-marker
boot-end-marker
!
!
logging discriminator EXCESS severity drops 6 msg-body drops EXCESSCOLL
logging buffered 50000
logging console discriminator EXCESS
!
no aaa new-model
no ip icmp rate-limit unreachable
!
ip cef
no ip domain-lookup
!
no ipv6 cef
!
!
!
spanning-tree mode rapid-pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
ip tcp synwait-time 5
!
!
!
!
!
!
interface Ethernet0/0
switchport access vlan 50
switchport mode access
duplex auto
spanning-tree portfast edge
!
interface Ethernet0/1
switchport access vlan 50
switchport mode access
duplex auto
spanning-tree portfast edge
!
interface Ethernet0/2
switchport access vlan 50
switchport mode access
duplex auto
spanning-tree portfast edge
!
interface Ethernet0/3
switchport access vlan 50
switchport mode access
duplex auto
spanning-tree portfast edge
!
interface Ethernet1/0
switchport access vlan 30
switchport mode access
duplex auto
spanning-tree portfast edge
!
interface Ethernet1/1
switchport access vlan 30
switchport mode access
duplex auto
spanning-tree portfast edge
!
interface Ethernet1/2
switchport access vlan 30
switchport mode access
duplex auto
spanning-tree portfast edge
!
interface Ethernet1/3
switchport access vlan 30
switchport mode access
duplex auto
spanning-tree portfast edge
!
interface Ethernet2/0
switchport access vlan 60
switchport mode access
duplex auto
spanning-tree portfast edge
!
interface Ethernet2/1
switchport access vlan 60
switchport mode access
duplex auto
spanning-tree portfast edge
!
interface Ethernet2/2
switchport access vlan 60
switchport mode access
duplex auto
spanning-tree portfast edge
!
interface Ethernet2/3
switchport access vlan 60
switchport mode access
duplex auto
spanning-tree portfast edge
!
interface Ethernet3/0
switchport trunk encapsulation dot1q
switchport mode trunk
duplex auto
!
interface Ethernet3/1
switchport trunk encapsulation dot1q
switchport mode trunk
duplex auto
!
interface Ethernet3/2
duplex auto
!
interface Ethernet3/3
duplex auto
!
interface Vlan1
no ip address
shutdown
!
interface Vlan255
ip address 192.168.255.5 255.255.255.0
!
ip default-gateway 192.168.255.254
!
ip forward-protocol nd
no ip http server
!
!
!
!
!
control-plane
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
password 123456
login
transport input all
!
End
==========================================================
SW-FR1-CVG#sh run
Building configuration...
Current configuration : 1887 bytes
!
version 15.0
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname SW-FR1-CVG
!
boot-start-marker
boot-end-marker
!
!
logging discriminator EXCESS severity drops 6 msg-body drops EXCESSCOLL
logging buffered 50000
logging console discriminator EXCESS
!
no aaa new-model
no ip icmp rate-limit unreachable
!
ip cef
no ip domain-lookup
!
no ipv6 cef
!
!
!
spanning-tree mode rapid-pvst
spanning-tree extend system-id
spanning-tree vlan 10,40,200,255 priority 24576
spanning-tree vlan 20,30,50,60 priority 28672
!
vlan internal allocation policy ascending
!
ip tcp synwait-time 5
!
!
!
!
!
!
interface Ethernet0/0
duplex auto
!
interface Ethernet0/1
duplex auto
!
interface Ethernet0/2
duplex auto
!
interface Ethernet0/3
duplex auto
!
interface Ethernet1/0
duplex auto
!
interface Ethernet1/1
duplex auto
!
interface Ethernet1/2
duplex auto
!
interface Ethernet1/3
duplex auto
!
interface Ethernet2/0
duplex auto
!
interface Ethernet2/1
duplex auto
!
interface Ethernet2/2
duplex auto
!
interface Ethernet2/3
switchport trunk encapsulation dot1q
switchport mode trunk
duplex auto
!
interface Ethernet3/0
switchport trunk encapsulation dot1q
switchport mode trunk
duplex auto
!
interface Ethernet3/1
switchport trunk encapsulation dot1q
switchport mode trunk
duplex auto
!
interface Ethernet3/2
switchport trunk encapsulation dot1q
switchport mode trunk
duplex auto
!
interface Ethernet3/3
switchport trunk encapsulation dot1q
switchport mode trunk
duplex auto
!
interface Vlan1
no ip address
shutdown
!
interface Vlan255
ip address 192.168.255.1 255.255.255.0
!
ip default-gateway 192.168.255.254
!
ip forward-protocol nd
no ip http server
!
!
!
!
!
control-plane
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
password 123456
login
transport input all
!
End
===========================================================
SW-FR1-CVG-BACK#sh run
Building configuration...
Current configuration : 1831 bytes
!
version 15.0
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname SW-FR1-CVG-BACK
!
boot-start-marker
boot-end-marker
!
!
logging discriminator EXCESS severity drops 6 msg-body drops EXCESSCOLL
logging buffered 50000
logging console discriminator EXCESS
!
no aaa new-model
no ip icmp rate-limit unreachable
!
ip cef
no ip domain-lookup
!
no ipv6 cef
!
!
!
spanning-tree mode rapid-pvst
spanning-tree extend system-id
spanning-tree vlan 10,40,200,255 priority 28672
spanning-tree vlan 20,30,50,60 priority 24576
!
vlan internal allocation policy ascending
!
ip tcp synwait-time 5
!
!
!
!
!
!
interface Ethernet0/0
duplex auto
!
interface Ethernet0/1
duplex auto
!
interface Ethernet0/2
duplex auto
!
interface Ethernet0/3
duplex auto
!
interface Ethernet1/0
duplex auto
!
interface Ethernet1/1
duplex auto
!
interface Ethernet1/2
duplex auto
!
interface Ethernet1/3
duplex auto
!
interface Ethernet2/0
duplex auto
!
interface Ethernet2/1
duplex auto
!
interface Ethernet2/2
duplex auto
!
interface Ethernet2/3
duplex auto
!
interface Ethernet3/0
switchport trunk encapsulation dot1q
switchport mode trunk
duplex auto
!
interface Ethernet3/1
switchport trunk encapsulation dot1q
switchport mode trunk
duplex auto
!
interface Ethernet3/2
switchport trunk encapsulation dot1q
switchport mode trunk
duplex auto
!
interface Ethernet3/3
switchport trunk encapsulation dot1q
switchport mode trunk
duplex auto
!
interface Vlan1
no ip address
shutdown
!
interface Vlan255
ip address 192.168.255.2 255.255.255.0
!
ip default-gateway 192.168.255.254
!
ip forward-protocol nd
no ip http server
!
!
!
!
!
control-plane
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
password 123456
login
transport input all
!
End
==========================================================
RT-GW#sh run
Building configuration...
Current configuration : 2941 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname RT-GW
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
no ip icmp rate-limit unreachable
!
!
ip cef
no ip domain lookup
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
!
!
!
!
archive
log config
hidekeys
!
!
!
!
ip tcp synwait-time 5
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.10
encapsulation dot1Q 10
ip address 192.168.1.254 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface FastEthernet0/0.20
encapsulation dot1Q 20
ip address 192.168.2.254 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface FastEthernet0/0.30
encapsulation dot1Q 30
ip address 192.168.3.254 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface FastEthernet0/0.40
encapsulation dot1Q 40
ip address 192.168.4.254 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface FastEthernet0/0.50
encapsulation dot1Q 50
ip address 192.168.5.254 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface FastEthernet0/0.60
encapsulation dot1Q 60
ip address 192.168.6.254 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface FastEthernet0/0.200
encapsulation dot1Q 200
ip address 192.168.200.254 255.255.255.0
ip access-group ACL-2SERVER out
ip nat inside
ip virtual-reassembly
!
interface FastEthernet0/0.255
encapsulation dot1Q 255
ip address 192.168.255.254 255.255.255.0
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
ip address 202.101.100.2 255.255.255.248
ip nat outside
ip virtual-reassembly
encapsulation ppp
serial restart-delay 0
clock rate 64000
ppp pap sent-username ISP password 0 123456
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
!
no ip http server
no ip http secure-server
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 Serial1/0
!
!
ip nat inside source list ACL-NAT-1 interface Serial1/0 overload
ip nat inside source static tcp 192.168.200.4 80 202.101.100.3 8080 extendable
!
!
ip access-list extended ACL-2SERVER
permit ip 192.168.1.0 0.0.0.255 192.168.200.0 0.0.0.255
permit ip any host 192.168.200.3
permit ip 192.168.3.0 0.0.0.255 host 192.168.200.1
permit ip 192.168.4.0 0.0.0.255 host 192.168.200.2
permit ip any host 192.168.200.4
ip access-list extended ACL-NAT-1
permit ip 192.168.1.0 0.0.0.255 any
permit ip 192.168.2.0 0.0.0.255 any
permit ip 192.168.3.0 0.0.0.255 any
permit ip 192.168.5.0 0.0.0.255 any
access-list 1 permit any
no cdp log mismatch duplex
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
no login
!
!
End
===========================================================
组建网络首先要明白需求。比如预算,带宽,数量,扩展性,有无自己的内部服务器等。已知该公司有10台电脑。并且不需要有自己的内部服务器,对未来扩展性也要求一般。
首先要确定一个中心点这个中心点一般摆放路由器,交换机这样的设备。确定好这个位置后之后再确定各个电脑和中心点之间的距离和走向我们这里假设10台电脑都在一个办公室内。最近的电脑距离交换机5米,最远距离交换机有20米,故我们需要大约150米的的超5类网线,每根网线有两个水晶头。再加上损耗,大约需要25个左右的水晶头。
每一个电脑需要连接交换机的一个端口,所以我们需要至少大于10个端口的交换机,已知目前交换机有8口16口32口48口,故我们可以选择16口交换机。为了保证内网速度和稳定性我们可以选择企业级16口的千兆交换机。
之后是网络的逻辑部分,我们需要规划连接网络所需要的ip地址和子网掩码,由于只有10台电脑,我们采用C类地址192.168.1.0/24。该地址段可以容纳255个设备!其中192.168.1.0是网端号192.168.1.255是广播号不能分配给设备使用,可用的IP地址是192.168.1.1~192.168.1.254,子网掩码是255.255.255.0。其中192.168.1.254保留给网关。
我们的硬件需求有
- 企业级16口千兆交换机一台。
- 机柜(选购,用来放置交换机等,如果为了节省预算如果为了节省预算,十人的局域网可以暂时不用机柜)
- 路由器(选购,用来连接外网+IP地址分配)
- 超五类网线一百五十米
- 水晶头二十五个
- 制作水晶头的网线钳一把。
- 线槽7根,塑料,胀管螺丝若干。
首先从交换机处根据规划好的线路铺设线槽并给每一台电脑都布设网线。之后制作水晶头并连接电脑和交换机,这样局域网硬件就敷设完毕后。
如果网络中没有路由器,需要手动为各个电脑分配IP地址,从192.168.1.1~192.168.1.253!为了可以使各个电脑能自动获得IP地址,减少工作量和IP地址冲突的可能,建议增加一台带有dhcp功能的路由器。把路由器的管理IP地址更改为192.168.1.254,并把路由器的dhcp地址池更改为192.168.1.1~192.168.1.253,由路由器进行IP地址的自动分配。
所有工作做完以后,局域网就可以正常工作了。在没有外网的情况下可以进行类似文件,打印机共享等内网办公操作!
两种方案,一种直接用无线wifi,好处是免去布线的烦恼。买好一点的路由器(华为就不错)和无线Wifi接收器,交换机都免了。坏处是没有线稳定。(可以写几路由器和wifi接收器的优缺点)。另一种就是有线了,有线与无线的区别是多了个交换机和网线,少了Wifi接收器。好处是网速稳定,坏处是布线麻烦。(可以写几种交换机的优缺点)。最主要还是深入写这两种方案的优缺点。其实叫我写我也不会写[呲牙]
作为毕业设计,不能太简陋。
首先,确定自己的选题,以及论证自己选题的重要性。
然后,给出设计思路,确定公司局域网所处环境,比如几层,几个办公室,每个办公室几台电脑,做好平面图或立体图。
接着,确定组建局域网的方案,怎样走线,怎样做节点,中间需要用到多少个交换机或者路由器。毕业设计请画好设计图,常规来说,公司最起码有普通办公区和领导办公室两个地方,一个机柜,里面准备机柜插排,然后准备一个路由器,一个16或者24口交换机,可以选择带防火墙的,也可以用普通的,从机柜开始布线一直到工位,然后网线如何入领导办公室等等,这些请在方案中描述清楚。
最后,局域网组建完成,写出结束语
比较整洁,首先三大运营商随便选一个,光猫ppoe拨号,DHCP地址→交换机24口(可傻瓜式,也可网管型号)→电脑
简易的局域网联机的拓扑图就显示了,如果还要全面一点,可在光猫后面加一台防火墙
到此,以上就是小编对于局域网搭建网站教程的问题就介绍到这了,希望介绍关于局域网搭建网站教程的3点解答对大家有用。
还没有评论,来说两句吧...