D-link R605 作为无线AP

文章介绍了如何将一台原本用于公司的D-link R605路由器转换为接入点模式,使其在更换网关服务器后仍能提供无线和有线网络连接。特别关注了在不同安全模式下,使用苹果设备连接时的稳定性差异,并提供了优化建议。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

本来公司使用的是一台D-link R605路由器,后来买了专门的dell服务器用来做网关服务器,但是就没有无线用了。后来发现可以把这台路由器转到接入点模式来用,这样这台路由器就成了无线交换机来用。
只需开启路由器的接入点模式即可。然后把路由器的wan口设置为DHCP,接到新网关服务器的交换机上,就可以无线,有线互联了。
[img]http://dl.iteye.com/upload/picture/pic/119884/de299763-d3f7-3428-bc70-d5a47d6abf79.jpg[/img]
并且我发现了个奇怪的现象,这个AP的安全模式为“启用WEB无线安全(基本)”时,用苹果机的airport连接总是掉线,连接不稳定,后来改成了“启用WPA/WPA2无线安全(增强)”时,反而好用多了。
[V200R007C10SPC300] # set memory-usage threshold 0 # ssl renegotiation-rate 1 # vlan batch 10 20 30 100 200 300 # stp enable # authentication-profile name default_authen_profile authentication-profile name dot1x_authen_profile authentication-profile name mac_authen_profile authentication-profile name portal_authen_profile authentication-profile name macportal_authen_profile # dhcp enable # diffserv domain default # radius-server template default # pki realm default rsa local-key-pair default enrollment self-signed # ike proposal default encryption-algorithm aes-256 dh group14 authentication-algorithm sha2-256 authentication-method pre-share integrity-algorithm hmac-sha2-256 prf hmac-sha2-256 # free-rule-template name default_free_rule # portal-access-profile name portal_access_profile # aaa authentication-scheme default authentication-scheme radius authentication-mode radius authorization-scheme default accounting-scheme default domain default authentication-scheme radius radius-server default domain default_admin authentication-scheme default local-user admin password irreversible-cipher $1a$2}a<$e&TMI$jRkU7:6dEY4B4[-NM5A=sdHJ)'*0)YN)OUYKx[4J$ local-user admin privilege level 15 local-user admin service-type http # interface Vlanif30 ip address 10.0.3.1 255.255.255.0 dhcp select interface dhcp server excluded-ip-address 10.0.3.250 10.0.3.254 dhcp server lease day 1 hour 8 minute 0 dhcp server dns-list 114.114.114.114 # interface Vlanif300 # interface MEth0/0/1 undo negotiation auto duplex half # interface GigabitEthernet0/0/1 port link-type trunk port trunk allow-pass vlan 2 to 4094 # interface GigabitEthernet0/0/2 port link-type trunk port trunk allow-pass vlan 2 to 4094 # interface GigabitEthernet0/0/3 # interface GigabitEthernet0/0/4 # interface GigabitEthernet0/0/5 # interface GigabitEthernet0/0/6 # interface GigabitEthernet0/0/7 # interface GigabitEthernet0/0/8 # interface GigabitEthernet0/0/9 # interface GigabitEthernet0/0/10 # interface GigabitEthernet0/0/11 # interface GigabitEthernet0/0/12 # interface GigabitEthernet0/0/13 # interface GigabitEthernet0/0/14 # interface GigabitEthernet0/0/15 # interface GigabitEthernet0/0/16 # interface GigabitEthernet0/0/17 # interface GigabitEthernet0/0/18 # interface GigabitEthernet0/0/19 # interface GigabitEthernet0/0/20 # interface GigabitEthernet0/0/21 undo negotiation auto duplex half # interface GigabitEthernet0/0/22 undo negotiation auto duplex half # interface GigabitEthernet0/0/23 undo negotiation auto duplex half # interface GigabitEthernet0/0/24 undo negotiation auto duplex half # interface XGigabitEthernet0/0/1 # interface XGigabitEthernet0/0/2 # interface NULL0 # snmp-agent local-engineid 800007DB03000000000000 snmp-agent # ssh server secure-algorithms cipher aes256_ctr aes128_ctr ssh server key-exchange dh_group14_sha1 ssh client secure-algorithms cipher aes256_ctr aes128_ctr ssh client secure-algorithms hmac sha2_256 ssh client key-exchange dh_group14_sha1 # capwap source interface vlanif30 # user-interface con 0 authentication-mode password user-interface vty 0 4 protocol inbound all user-interface vty 16 20 protocol inbound all # wlan traffic-profile name default security-profile name ap1 security wpa-wpa2 psk pass-phrase %^%#!r7[Pn*jtC1DDJ(<*WE":%T:Usz2ZMRQgN"L`]L)%^%# aes security-profile name default security-profile name default-wds security-profile name default-mesh ssid-profile name ap1 ssid XYW ssid-profile name default vap-profile name ap1 forward-mode tunnel service-vlan vlan-id 300 ssid-profile ap1 security-profile ap1 vap-profile name default wds-profile name default mesh-handover-profile name default mesh-profile name default regulatory-domain-profile name defalt regulatory-domain-profile name default air-scan-profile name default rrm-profile name default radio-2g-profile name default radio-5g-profile name default wids-spoof-profile name default wids-profile name default wireless-access-specification ap-system-profile name default port-link-profile name default wired-port-profile name default serial-profile name preset-enjoyor-toeap ap auth-mode no-auth ap-group name ap1 radio 0 vap-profile ap1 wlan 1 radio 1 vap-profile ap1 wlan 1 ap-group name default ap-id 0 type-id 35 ap-mac 00e0-fc53-73e0 ap-sn 2102354483100C778B2A ap-name ap1 ap-group ap1 ap-id 1 type-id 35 ap-mac 00e0-fcdb-4bd0 ap-sn 21023544831085424456 ap-name ap2 ap-group ap1 ap-id 2 type-id 69 ap-mac 00e0-fcd2-2b50 ap-sn 210235448310D75D835D ap-name SYL ap-group ap1 ap-id 3 type-id 69 ap-mac 00e0-fcb2-4b90 ap-sn 210235448310D81E4141 ap-name SUSL ap-group ap1 ap-id 4 type-id 69 ap-mac 00e0-fc18-6510 ap-sn 2102354483106372B76B ap-name SuShe-2 ap-group ap1 ap-id 5 type-id 69 ap-mac 00e0-fc32-34a0 ap-sn 2102354483107B567725 ap-name Sushe-3 ap-group ap1 ap-id 6 type-id 69 ap-mac 00e0-fc54-77c0 ap-sn 210235448310E274B004 ap-name JXL-2 ap-group ap1 ap-id 7 type-id 69 ap-mac 00e0-fcaa-1a20 ap-sn 210235448310D1184F1E ap-name JXL-3 ap-group ap1 ap-id 8 type-id 69 ap-mac 00e0-fc9f-0690 ap-sn 210235448310E249004D ap-name ShiTang-1 ap-group ap1 ap-id 9 type-id 69 ap-mac 00e0-fcfa-3e40 ap-sn 2102354483101439FF15 ap-name ShiTang-2 ap-group ap1 provision-ap # dot1x-access-profile name dot1x_access_profile # mac-access-profile name mac_access_profile # return 详细解释这些代码
06-03
AC: [AC6605]sysname AC1 [AC1]interface GigabitEthernet 0/0/19 [AC1-GigabitEthernet0/0/19]port link-type trunk [AC1-GigabitEthernet0/0/19]port trunk allow-pass vlan all [AC1-GigabitEthernet0/0/19]q [AC1]vlan batch 100 101 Info: This operation may take a few seconds. Please wait for a moment...done. [AC1]dhcp enable Info: The operation may take a few seconds. Please wait for a moment.done. [AC1]interface vlan100 [AC1-Vlanif100]ip address 192.168.100.1 24 使用接口模式给AP地址池 [AC1-Vlanif100]dhcp select interface [AC1-Vlanif100]display this # interface Vlanif100 ip address 192.168.100.1 255.255.255.0 dhcp select interface # return [AC1-Vlanif100]q [AC1]capwap source interface vlanif 100 [AC1]wlan [AC1-wlan-view]security-profile name sec [AC1-wlan-sec-prof-sec]security wpa-wpa2 psk pass-phrase zz1234567 aes [AC1-wlan-sec-prof-sec]q [AC1-wlan-view]ssid-profile name ssid [AC1-wlan-ssid-prof-ssid]ssid wlan-2024 Info: This operation may take a few seconds, please wait.done. [AC1-wlan-ssid-prof-ssid]q [AC1-wlan-view]vap-profile name vap [AC1-wlan-vap-prof-vap]security-profile sec Info: This operation may take a few seconds, please wait.done. [AC1-wlan-vap-prof-vap]ssid-profile ssid Info: This operation may take a few seconds, please wait.done. [AC1-wlan-vap-prof-vap]service-vlan vlan-id 101 Info: This operation may take a few seconds, please wait.done. [AC1-wlan-vap-prof-vap]dis this # service-vlan vlan-id 101 ssid-profile ssid security-profile sec # return [AC1-wlan-vap-prof-vap]q [AC1-wlan-view]ap-group name ap Info: This operation may take a few seconds. Please wait for a moment.done. [AC1-wlan-ap-group-ap]q [AC1-wlan-view]ap-id 1 ap-mac 00e0-fc0e-18d0 ap1:display arp [AC1-wlan-ap-1]ap-name ap1 [AC1-wlan-ap-1]ap-group ap 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 c ontinue? [Y/N]:y Info: This operation may take a few seconds. Please wait for a moment.. done. [AC1-wlan-ap-1]ap-id 2 ap-mac 00e0-fc2f-7070 ap2:display arp [AC1-wlan-ap-2]ap-name ap2 [AC1-wlan-ap-2]ap-group ap 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 c ontinue? [Y/N]:y Info: This operation may take a few seconds. Please wait for a moment.. done. [AC1-wlan-ap-2]q [AC1-wlan-view]ap-group name ap [AC1-wlan-ap-group-ap]vap-profile vap wlan 1 radio 0 Info: This operation may take a few seconds, please wait...done. [AC1-wlan-ap-group-ap]vap-profile vap wlan 1 radio 1 Info: This operation may take a few seconds, please wait...done. 配置完APAP连接不上STA,然后在AP的配置界面无论输入什么只会输入#,在AC上dis ap all ,显示ap1和ap2状态为故障,将Ap设备重启后,在在AC上dis ap all ,显示ap1和ap2状态为配置状态
06-18
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值