江苏省吴江市双板桥路3号兴源网络

0512-63028342

ly@wjxy.net.cn

FAQ-AP3010DN-V2-FAT路由模式上网配置

问题描述

AP3010DN-V2-FAT接入公司内网当无线路由器使用

 

解决方案

客户对无线用户分配ip地址段192.168.1.1/24 ,原有线网络的ip地址段为:10.43.17.0/24

<Huawei>sys
[Huawei]vlan 2           //创建业务vlan
[Huawei-vlan2]quit
[Huawei]dhcp enable      //开启DHCP功能
[Huawei]interface Vlanif 2      //配置无线用户地址段
[Huawei-Vlanif2]ip address 192.168.1.1 24
[Huawei-Vlanif2]dhcp select interface
[Huawei-Vlanif2]dhcp server dns-list x.x.x.x //配置当地运营商DNS服务器地址
[Huawei-Vlanif2]quit
[Huawei]wlan
[Huawei-wlan-view]ssid-profile name wifi
[Huawei-wlan-ssid-prof-wifi]ssid 1271        //配置无线信号名称1271 这个地方请设置自己需要的名称
[Huawei-wlan-ssid-prof-wifi]quit
[Huawei-wlan-view]security-profile name wifi
[Huawei-wlan-sec-prof-wifi]security wpa2 psk pass-phrase 12711271 aes  //设置无线密码
[Huawei-wlan-sec-prof-wifi]quit
[Huawei-wlan-view]vap-profile name wifi2.4
[Huawei-wlan-vap-prof-wifi2.4]ssid-profile wifi
[Huawei-wlan-vap-prof-wifi2.4]security-profile wifi
[Huawei-wlan-vap-prof-wifi2.4]service-vlan vlan-id 2
[Huawei-wlan-vap-prof-wifi2.4]quit
[Huawei-wlan-view]vap-profile name wifi5
[Huawei-wlan-vap-prof-wifi5]ssid-profile wifi
[Huawei-wlan-vap-prof-wifi5]security-profile wifi
[Huawei-wlan-vap-prof-wifi5]service-vlan vlan-id 2
[Huawei-wlan-vap-prof-wifi5]quit
[Huawei-wlan-view]quit
[Huawei]interface Wlan-Radio 0/0/0                //配置发送2.4G信号
[Huawei-Wlan-Radio0/0/0]vap-profile wifi2.4 wlan 1  
[Huawei-Wlan-Radio0/0/0]quit
[Huawei]interface Wlan-Radio 0/0/1                //配置发送5G信号
[Huawei-Wlan-Radio0/0/1]vap-profile wifi5 wlan 1
[Huawei-Wlan-Radio0/0/1]quit
[Huawei]acl 2000                                  //配置ACL设置需要NAT转换的网段
[Huawei-acl-basic-2000]rule permit source any
[Huawei-acl-basic-2000]quit
[Huawei]interface Vlanif 1
[Huawei-Vlanif1]ip address 10.43.17.253 24       //配置与有线网络互联的IP地址
[Huawei-Vlanif1]nat outbound 2000                //配置源NAT
[Huawei-Vlanif1]quit
[Huawei]ip route-static 0.0.0.0 0.0.0.0 10.43.17.254      //配置静态默认路由下一跳指向路由器
[Huawei]quit
<Huawei>save                                               //保存配置文件

The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:y
It will take several minutes to save configuration file, please wait………
Configuration file has been saved successfully
Note: The configuration file will take effect after being activated

发表评论

邮箱地址不会被公开。 必填项已用*标注