华为ensp模拟器配置无线网络

华为ensp模拟器配置无线网络
1.拓扑图
在这里插入图片描述
其中的两个圈圈信号圈,得完成后使用STA连接ssid才会出现
2.cloud1配置
在这里插入图片描述
3.LSW2配置
sys

[Huawei]sysname SW2
[SW2]vlan batch 3 1003
[SW2]inter GigabitEthernet 0/0/3
[SW2-GigabitEthernet0/0/3]port link-type trunk
[SW2-GigabitEthernet0/0/3]port trunk pvid vlan 1003
[SW2-GigabitEthernet0/0/3]port trunk allow-pass vlan 3 1003
[SW2-GigabitEthernet0/0/2]quit
[SW2]inter GigabitEthernet 0/0/4
[SW2-GigabitEthernet0/0/4]port link-type trunk
[SW2-GigabitEthernet0/0/4]port trunk pvid vlan 1003
[SW2-GigabitEthernet0/0/4]port trunk allow-pass vlan 3 1003
[SW2-GigabitEthernet0/0/4]quit
[SW2]inter GigabitEthernet 0/0/1
[SW2-GigabitEthernet0/0/1]port link-type trunk
[SW2-GigabitEthernet0/0/1]port trunk allow-pass vlan 3 1003

4.LSW1配置

<Huawei>sys
[Huawei]sysname SW1
[SW1]vlan batch 3 1002 1003
[SW1]interface GigabitEthernet 0/0/1
[SW1-GigabitEthernet0/0/1]port link-type trunk
[SW1-GigabitEthernet0/0/1]port trunk allow-pass vlan 3 1003
[SW1-GigabitEthernet0/0/1]quit
[SW1]interface GigabitEthernet 0/0/4
[SW1-GigabitEthernet0/0/4]port link-type trunk
[SW1-GigabitEthernet0/0/4]port trunk allow-pass vlan 3 1003
[SW1-GigabitEthernet0/0/4]quit
[SW1]interface GigabitEthernet 0/0/3
[SW1-GigabitEthernet0/0/3]port link-type access
[SW1-GigabitEthernet0/0/3]port default vlan 1002
[SW1-GigabitEthernet0/0/3]quit
[SW1]dhcp enable
[SW1]interface Vlanif 3
[SW1-Vlanif3]ip address 172.16.3.1 24
[SW1-Vlanif3]dhcp select interface
[SW1-Vlanif3]dhcp server dns-list 114.114.114.114 223.5.5.5
[SW1-Vlanif3]quit
[SW1]inter Vlanif 1002
[SW1-Vlanif1002]ip address 192.168.2.1 24
[SW1-Vlanif1002]quit
[SW1]ip route-static 0.0.0.0 0 192.168.2.2

5.AR1配置

<Huawei>sys
[Huawei]sysname R1
[R1]inter GigabitEthernet 0/0/1
[R1-GigabitEthernet0/0/1]ip address 192.168.2.2 24
[R1-GigabitEthernet0/0/1]quit
[R1]inter GigabitEthernet 0/0/2
[R1-GigabitEthernet0/0/2]ip address 192.168.5.2 24
[R1-GigabitEthernet0/0/2]quit
[R1]ip route-static 0.0.0.0 0 192.168.5.1
[R1]ip route-static 172.16.3.0 255.255.255.0 192.168.2.1

6.FW1配置

<SRG>sys
[SRG]sysname FW1
[FW1]firewall zone trust
[FW1-zone-trust]add interface GigabitEthernet 0/0/2
[FW1-zone-trust]quit
[FW1]firewall zone untrust
[FW1-zone-untrust]add inter GigabitEthernet 0/0/1
[FW1-zone-untrust]quit
[FW1]interface GigabitEthernet 0/0/2
[FW1-GigabitEthernet0/0/2]ip address 192.168.5.1 24
[FW1-GigabitEthernet0/0/2]quit
[FW1]interface GigabitEthernet 0/0/1
[FW1-GigabitEthernet0/0/1]ip address 192.168.174.2 24
[FW1-GigabitEthernet0/0/1]quit
[FW1]ip route-static 0.0.0.0 0 192.168.5.2
[FW1]policy interzone trust untrust outbound
[FW1-policy-interzone-trust-untrust-outbound]policy 0
[FW1-policy-interzone-trust-untrust-outbound-0]action permit
[FW1-policy-interzone-trust-untrust-outbound-0]policy source 172.16.3.0 0.0.0.255
[FW1-policy-interzone-trust-untrust-outbound-0]quit
[FW1-policy-interzone-trust-untrust-outbound]quit
[FW1]nat-policy interzone trust untrust outbound
[FW1-nat-policy-interzone-trust-untrust-outbound]policy 1
[FW1-nat-policy-interzone-trust-untrust-outbound-1]action source-nat
[FW1-nat-policy-interzone-trust-untrust-outbound-1]policy source 172.16.3.0 0.0.0.255
[FW1-nat-policy-interzone-trust-untrust-outbound-1]easy-ip  GigabitEthernet 0/0/1

7.配AC1

<AC6005>sys
[AC6005]sysname AC1
[AC1]vlan batch 3 1003
[AC1]inter GigabitEthernet 0/0/1
[AC1-GigabitEthernet0/0/1]port link-type trunk
[AC1-GigabitEthernet0/0/1]port trunk allow-pass vlan 3 1003
[AC1-GigabitEthernet0/0/1]quit
[AC1]dhcp enable
[AC1]inter Vlanif 1003
[AC1-Vlanif1003]ip address 192.168.3.1 24
[AC1-Vlanif1003]dhcp select interface
[AC1-Vlanif1003]quit
[AC1]wlan
[AC1-wlan-view]ap-group name ap-group1
[AC1-wlan-ap-group-ap-group1]regulatory-domain-profile default
Warning: Modifying the country code will clear channel,  power and antenna gain configurations of the radio and reset the AP.  Continue?[Y/N]:y
[AC1-wlan-ap-group-ap-group1]quit
[AC1-wlan-view]quit
[AC1]capwap source interface Vlanif 1003
[AC1]wlan
[AC1-wlan-view]ap auth-mode mac-auth
[AC1-wlan-view]ap-id 0 ap-mac 00e0-fca0-16a0
[AC1-wlan-ap-0]ap-name area_1
[AC1-wlan-ap-0]ap-group ap-group1
Warning: This operation may cause AP reset. If the country  code changes, it will clear channel, power and antenna gain configurations of the  radio, Whether to continue? [Y/N]:y
[AC1-wlan-ap-0]quit
[AC1-wlan-view]ap-id 1 ap-mac 00e0-fc4f-46e0
[AC1-wlan-ap-1]ap-name area_2
[AC1-wlan-ap-1]ap-group ap-group1
Warning: This operation may cause AP reset. If the country  code changes, it will clear channel, power and antenna gain configurations of the  radio, Whether to continue? [Y/N]:y
[AC1-wlan-ap-1]quit
[AC6005]display ap all
Info: This operation may take a few seconds. Please wait for a moment.done.
Total AP information:
nor  : normal          [2]
--------------------------------------------------------------------------------
------------------
ID   MAC            Name   Group     IP            Type            State STA Upt
ime
--------------------------------------------------------------------------------
------------------
0    00e0-fc8c-5180 area_1 ap-group1 192.168.3.208 AP2050DN        nor   1   2H:
30M:59S
1    00e0-fccf-2140 area_2 ap-group1 192.168.3.150 AP2050DN        nor   1   2H:
30M:22S
--------------------------------------------------------------------------------
------------------
Total: 2
[AC1-wlan-view]security-profile name template
[AC1-wlan-sec-prof-template]security wpa-wpa2 psk  pass-phrase 12345678 aes
Warning: The current password is too simple. For the sake of  security, you are advised to set a password containing at least two of the  following: lowercase letters a to z, uppercase letters A to Z, digits, and special  characters. Continue? [Y/N]:y
[AC1-wlan-sec-prof-template]quit
[AC1-wlan-view]ssid-profile name template
[AC1-wlan-ssid-prof-template]ssid wifi
[AC1-wlan-ssid-prof-template]quit
[AC1-wlan-view]vap-profile name template
[AC1-wlan-vap-prof-template]forward-mode direct-forward
[AC1-wlan-vap-prof-template]service-vlan vlan-id 3
[AC1-wlan-vap-prof-template]security-profile template
[AC1-wlan-vap-prof-template]ssid-profile template
[AC1-wlan-vap-prof-template]quit
[AC1-wlan-view]ap-group name ap-group1
[AC1-wlan-ap-group-ap-group1]vap-profile template wlan 1 radio 0
[AC1-wlan-ap-group-ap-group1]vap-profile template wlan 1 radio 1

查看STA2,STA1
在这里插入图片描述
在这里插入图片描述
使用STA1,2 ping192.168.10.1
在这里插入图片描述
在这里插入图片描述

  • 13
    点赞
  • 135
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
华为模拟器eNSP可以用来进行无线网络实验。通过eNSP模拟器,你可以学习如何组建WLAN网络,并且能够配置VLAN、路由、DHCP、NAT、无线AC控制器以及QOS限速等功能。你还可以通过配置来实现不同用户的无线上网,掌握接入交换机、汇聚交换机、出口路由器、无线AC控制器的配置方法。\[1\] 在实际部署无线网络时,可以使用eNSP模拟器来模拟网络环境。例如,当信科公司部署无线网络后出现网络故障时,可以使用eNSP模拟器来分析和研究问题,并采取相应的解决方案。比如,可以通过隔离办公无线接入和来宾接入,使用两个SSID标识,实现负载均衡和提高网络安全性。具体的操作可以参考相关的网络拓扑图和配置命令。\[2\]\[3\] 总之,华为模拟器eNSP是一个非常有用的工具,可以帮助你学习和实践无线网络配置和故障排除。 #### 引用[.reference_title] - *1* [eNSP模拟不同用户无线上网实验(AC+AP)](https://blog.csdn.net/mutou_8316/article/details/125309809)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item] - *2* *3* [项目四 无线网络配置(使用华为模拟器eNSP)](https://blog.csdn.net/qq_24526483/article/details/127041288)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item] [ .reference_list ]

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值