文章簡(jiǎn)介:本文做了一個(gè)中型企業(yè)無(wú)線(xiàn)網(wǎng)絡(luò)的設(shè)計(jì),課題重點(diǎn)突出無(wú)線(xiàn)網(wǎng)絡(luò)和高安全性,除了基礎(chǔ)的功能要通,還需要實(shí)現(xiàn)無(wú)線(xiàn)AP,防火墻功能,VLAN技術(shù),ACL訪(fǎng)問(wèn)控制實(shí)現(xiàn)過(guò)濾,生成樹(shù)協(xié)議,負(fù)載分擔(dān),NAT技術(shù)實(shí)現(xiàn)私有網(wǎng)絡(luò)IP地址轉(zhuǎn)換為公有網(wǎng)絡(luò)IP地址,無(wú)線(xiàn)技術(shù),加密技術(shù)。GRE over IPSec VPN技術(shù),部門(mén)的話(huà)設(shè)置為可以按樓層劃分,總裁辦,IT部門(mén),市場(chǎng)發(fā)展部,行政部,財(cái)務(wù)部,人力資源部,工程技術(shù)部,外來(lái)人員辦公室(外來(lái)人員辦公使用外網(wǎng),可通過(guò)VPN驗(yàn)證登錄內(nèi)網(wǎng))
作者簡(jiǎn)介:網(wǎng)絡(luò)工程師,希望能認(rèn)識(shí)更多的小伙伴一起交流,可私信或QQ號(hào):1686231613
-------------------------------------------------------------------------------------------------------------------
一、拓?fù)鋱D
二、地址規(guī)劃
配置思路與過(guò)程
1、接入層實(shí)現(xiàn)
?對(duì)于接入層根據(jù)規(guī)劃,分別設(shè)置為vlan10、vlan20、vlan30、vlan40、vlan50、vlan60,接入用戶(hù)的端口加入相關(guān)VLAN,上行trunk口允許相關(guān)vlan通過(guò)。
[Cw-access]vlan ?batch ?10 20 30 40 50?60???//創(chuàng)建vlan
//接入用戶(hù)接口
[Cw-access-Ethernet0/0/1]port link-type access
[Cw-access-Ethernet0/0/1]port default vlan 10
//上行口
[Cw-access]port-group group-member ?GigabitEthernet 0/0/1 to ?GigabitEthernet 0/0/2
[Cw-access-port-group]port link-type trunk
[Cw-access-port-group]port trunk allow-pass vlan 10 20 30 40 50?60
(其他接入配置相同)
另在接入層交換機(jī)、匯聚交換機(jī)上配置MSTP多實(shí)例生成樹(shù),將相關(guān)vlan加入不同的實(shí)例。
stp region-configuration ???//進(jìn)入MSTP模式
region-name huawei????????????//配置域名為huawei
instance 1 vlan 10?20?30??????//將vlan10?、20、30加入實(shí)例1中
instance 2 vlan 40?50?60????????//將vlan40、50、60加入實(shí)例2中
active region-configuration ?//激活配置
2、匯聚層實(shí)現(xiàn)
(1)DHCP實(shí)現(xiàn)
核心交換機(jī)上部署DHCP
配置DHCP:
dhcp enable ?????????//打開(kāi)DHCP功能
ip pool vlan10???????//創(chuàng)建 IP 地址池取名為vlan10
network 10.0.10.0 mask 255.255.255.0 ?//配置地址池網(wǎng)段
gateway-list 10.0.10.254 ????????//配置該地址池地址的網(wǎng)關(guān)地址
dns-list 114.114.114.114 ??//DNS網(wǎng)關(guān)??
[SW-A-Vlanif10]dhcp select global ????????//定義dhcp為全局模式
(2)MSTP+VRRP:
stp instance 1 root primary ????//指定本交換機(jī)為主根橋
stp instance 2 root secondary ??//指定本交換機(jī)為備份根橋
3)VRRP關(guān)鍵代碼,其他網(wǎng)關(guān)配置同理:
以后勤部門(mén)vlan為例
interface Vlanif20 ?//后勤vlan?網(wǎng)關(guān)
ip address 10.0.20.1?255.255.255.0 ??//配置ip地址
//創(chuàng)建VRRP備份組20,并配置VRRP備份組的虛擬IP地址10.0.20.254
vrrp vrid 20 virtual-ip 10.0.20.254
//設(shè)置主交換機(jī)在VRRP備份組20中的優(yōu)先級(jí)為120,高于備份交換機(jī)的優(yōu)先級(jí)100
vrrp vrid 20 priority 120
(備份交換機(jī)配置相同)
(4)鏈路聚合
在兩個(gè)核心交換機(jī)間設(shè)置鏈路聚合,關(guān)鍵代碼如下:
interface eth-trunk 0?????//創(chuàng)建ID為0的Eth-Trunk接口
trunkport GigabitEthernet 0/0/23 to 0/0/24 ???將 23??24號(hào)口加入到聚合組中
(對(duì)端配置完全相同)
3、網(wǎng)絡(luò)出口實(shí)現(xiàn)
(1)部署NAT:
NAT關(guān)鍵代碼如下:
//創(chuàng)建內(nèi)網(wǎng)需要上網(wǎng)的源地址到外網(wǎng)的安全策略:
security-policy
rule name nat
source-zone trust
destination-zone untrust
action permit
//創(chuàng)建需要上網(wǎng)的源地址的安全NAT策略:
nat-policy
?rule name nat
??source-zone trust
??destination-zone untrust
??action source-nat easy-ip
//創(chuàng)建NAT server?映射 ?使外網(wǎng)用戶(hù)訪(fǎng)問(wèn)內(nèi)部特殊服務(wù)器
nat server 0 protocol tcp global 100.100.100.100 www inside 192.168.100.1 www
?nat server 1 protocol tcp global 100.100.100.100 ftp inside 192.168.100.2 ftp
4、路由協(xié)議實(shí)現(xiàn)
核心交換機(jī)通過(guò)雙上行與出口設(shè)備相連,通過(guò)三層OSPF路由技術(shù)
//此配置 其他設(shè)備 均相同 宣告各自直連網(wǎng)段即可
[Core-A-ospf-1]area 0
[Core-A-ospf-1-area-0.0.0.0]network 10.0.0.0 0.0.255.255
5、WLan
[AC6605]vlan ?200
[AC6605-vlan200]int vlan 200
[AC6605-Vlanif200]ip address ?10.0.200.200 24
[AC6605]capwap source interface Vlanif 200
[AC6605-wlan-view]ssid-profile ?name ?wlan
[AC6605-wlan-ssid-prof-wlan]ssid wlan
[AC6605-wlan-view]security-profile name ?wlan
[AC6605-wlan-sec-prof-wlan]security ?wpa2 psk ?pass-phrase ?a1234567 aes
[AC6605-wlan-view]vap-profile ?name ?wlan
[AC6605-wlan-vap-prof-wlan]ssid-profile ?wlan
[AC6605-wlan-vap-prof-wlan]security-profile wlan
[AC6605-wlan-vap-prof-wlan]service-vlan vlan-id 30
[AC6605-wlan-view]ap-group ?name ?aps
[AC6605-wlan-ap-group-aps]vap-profile ?wlan wlan 1 radio ?all
5、VPN配置
(1) GRE over IPsec
interface Tunnel0 ?//配置隧道 ?
?ip address unnumbered interface GigabitEthernet1/0/0 ?
?tunnel-protocol gre
?source 1.1.1.2 ?//隧道源
?destination 4.4.4.2 ?//隧道終結(jié)點(diǎn)
ike proposal 1 ?//ike安全提議
?encryption-algorithm aes-256
?dh group14
?authentication-algorithm sha2-256
?authentication-method pre-share
?integrity-algorithm hmac-sha2-256
?prf hmac-sha2-256
ike peer fwc ??//ike對(duì)等體
?undo version 1
?pre-shared-key %^%#CT>/P"t8FF%ir#Q%+|y3uM147GeyFAr0)GD<iU%;%^%# ?//建立對(duì)等體使用的預(yù)共享密鑰 =?admin@123
?ike-proposal 1 ?//綁定ike提議
?remote-address 4.4.4.2 ??//協(xié)商的對(duì)端地址
ipsec proposal 1 ??//ipsec?安全提議
?esp authentication-algorithm sha2-256
?esp encryption-algorithm aes-256
ipsec policy p1 1 isakmp
?security acl 3000 ?//需要加密的流量
?ike-peer fwc ?//綁定ike對(duì)等體
?proposal 1 ?//ipsec?安全提議
?tunnel local 1.1.1.2 ?//隧道本端地址
//配置去往分部的路由 ?指向GRE隧道
HRP_M[FW-A]ip route-static 10.1.10.0 24 Tunnel ?0
HRP_M[FW-A]ip route-static 10.1.11.0 24 Tunnel ?0
//分部同理
ip route-static 10.0.0.0 255.255.0.0 Tunnel0
(3)SSL vpn
測(cè)試結(jié)果截圖請(qǐng)私信作者獲取?文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-403739.html
?文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-403739.html
到了這里,關(guān)于華為ensp模擬校園網(wǎng)/企業(yè)網(wǎng)實(shí)例--中型企業(yè)無(wú)線(xiàn)網(wǎng)絡(luò)的設(shè)計(jì)的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!