W60G
本页记录 MikroTik RouterOS W60G 无线接口配置,涵盖 60GHz 点对点/点对多点链路设置、ARP/MAC 设置、加密,以及带有详细状态监控的 station 管理。
W60G
本节涵盖 60 GHz 无线示例和指南。使用它来配置 W60G 点对点和点对多点链路、故障转移以及与距离相关的设置。
Summary
Packages: system、wireless
802.11ad 实现,能够在无线网络上提供千兆以太网速度。
通过透明的 AES 加密无线 60GHz 链路扩展您的千兆网络,而无需面对常见的有线或无线网络问题。
General interface properties
Sub-menu: /interface/w60g
警告
Wireless Wire 套件设备出厂即为预配置、已连接的成对设备。手动配置是可选的 | Property | Description | | :-- | :-- | | arp (disabled | enabled | proxy-arp | reply-only; Default: enabled) |
Read more >>| | arp-timeout (auto | integer; Default: auto) | ARP 超时是指在没有从 IP 接收到数据包后,ARP 记录在 ARP 表中保留的时间。值 auto 等于/ip/settings中 arp-timeout 的值,默认为 30s | | comment (string; Default: ) | 接口的简短描述 | | disabled (yes | no; Default: yes) | 接口是否被禁用 | | frequency (58320 | 60480 | 62640 | 64800 | 66000 | auto; Default: auto) | 通信中使用的频率(仅在 bridge 设备上有效) | | isolate-stations (yes | no; Default: yes) | 不允许已连接的客户端之间通信(自 RouterOS 6.41 起) | | l2mtu (integer [0..7882]; Default: 1600) | 二层最大传输单元 | | mac-address (MAC; Default: ) | 无线电接口的 MAC 地址 | | mdmg-fix (yes | no; Default: no) | 实验性功能,仅在 wAP60Gx3 设备上工作,在某些情况下提供更好的点对多点稳定性 | | mode (ap-bridge | bridge | sniff | station-bridge; Default: bridge) | 运行模式 | | mtu (integer [32..8192]; Default: 1500) | 三层最大传输单元 | | name (string; Default: wlan60-1) | 接口名称 | | password (string; Default: randomly generated) sensitive | 用于 AES 加密的密码 | | put-stations-in-bridge (; Default: ) | 将新建的 station 设备接口放入此 bridge | | region (asia | australia | canada | china | eu | japan | no-region-set | usa; Default: no-region-set) | 用于限制频率使用的参数 | | scan-list (58320,60480,62640,64800,66000; Default: 58320,60480,62640,64800) | 用于限制 station 模式下频率连接的扫描列表 | | ssid (string (0..32 chars); Default: value of System Identity) | SSID(service set identifier)是标识无线网络的名称 | | tx-sector (integer [0..63] | auto; Default: auto) | 禁用波束成形并锁定到选定的辐射方向图 |
Sub-menu: /interface/w60g/print/stats
提供有关波束成形发生次数的更详细信息以及一些调试信息:
/interface w60g print stats name: wlan60-1
beamforming-event: 310
tx-io-msdu: 0
tx-sw-msdu: 154 663
tx-fw-msdu: 102
tx-ppdu: 220 147
tx-ppdu-from-q: 40 327
tx-mpdu-new: 154 663
tx-mpdu-total: 184 759
tx-mpdu-retry: 30 096
rx-ppdu: 166 636
rx-mpdu-crc-err: 4 817
rx-mpdu-crc-ok: 285 649
Station 接口属性:
警告
ap-bridge 设备需要 License level 4 (点击了解更多信息) 才能支持多个已连接的客户端 已连接的客户端被视为单独的接口,连接成功后会创建一个新的 station 接口。
更新后默认配置仍然有效——新建的 station 接口会被移动到默认 bridge。
Sub-menu: /interface/w60g/station
| Property | Description |
|---|---|
| parent (string; Default: wlan60-*) | 父接口名称 |
| put-in-bridge (none | parent | bridge-name; Default: parent) | 将 station 设备接口添加到特定的 bridge |
| remote-address (MAC; Default: matches bridge interface MAC) | station 所连接的 bridge 接口的 MAC 地址 |
Scan
Sub-menu: /interface/w60g/scan
/interface w60g scan wlan60-1
Scan 命令在 W60G 接口支持的频率范围内搜索并显示可用的 AP。
使用 scan 命令时接口操作会被禁用(扫描操作期间无线链路会断开)
目前无法进行后台扫描。
Monitor
Sub-menu: /interface/w60g/monitor
/interface w60g monitor wlan60-1
connected: yes frequency: 58320
remote-address: 04:D6:AA:AA:AA:AA
mcs: 8
phy-rate: 2.3Gbps
signal: 80 rssi: -68
tx-sector: 28
tx-sector-info: center
distance: 160.9m
Monitor 显示活动连接的当前状态。Distance 测量工具提供非常精确的距离测量。"tx-sector-info"(处于测试阶段的功能)提供来自当前使用的波束成形方向图的信息,并显示指向中心的方向——理论上的最高功率输出点。
Align
Sub-menu: /interface/w60g/align
/interface w60g align wlan60-1
connected: yes
frequency: 58320
remote-address: 04:D6:AA:AA:AA:AB
tx-mcs: 6
tx-phy-rate: 1540.0Mbps
signal: 70
rssi: -62
10s-average-rssi: -63.1
tx-sector: 62
tx-sector-info: left 19 degrees, up 26.6 degrees
rx-sector: 96
distance: 220.88m
tx-packet-error-rate: 5%
在 align 模式下,两台设备之间的帧交换更频繁,信号质量信息的显示也更频繁。使用 "rssi"、"10s-average-rssi" 和 "tx-sector-info" 值进行更精确的链路对准。当设备进入 align 模式时——链路会丢失几秒钟。
Sniff
Sniff 模式允许捕获附近的 802.11ad 帧。要使用 sniff 模式,需要使用相同的频率,并将接口运行模式设置为 sniff:
/interface w60g set wlan60-1 mode=sniff
现在此接口可以在 Tools/Packet Sniffer 中用于数据包捕获。Sniffer 模式不能与常规接口工作模式一起使用。
Point to Multi Point setup example
所有 MikroTik 设备都可以互连。目前有四种不同版本的 wAP60G 设备可用:
- Wireless Wire kit
- wAP 60G
- SXTsq60 Lite60
- wAP 60G AP
以及
- Wireless Wire Dish
在硬件方面 wAP 设备是相同的,但有一些软件限制:
wAP 60G AP 专为 PtMP(Point to Multi Point)设置中的 Access Point 使用而设计,但也可以用作 PtP(Point to Point)或作为 Station 设备。它已经配备了 level4 许可证以支持多个已连接的客户端。更多信息请参见 RouterOS License Key Levels。
Wireless Wire kit、Wireless Wire Dish、SXTsq Lite60 和 wAP60G 设备附带 level3 许可证。由于其较窄的辐射方向图,Wireless wire dish 应仅用作 Client 设备。
需要升级许可证才能在 Access Point 模式下解锁多个同时连接的客户端,但设备可以作为常规 Station 设备连接到 Access Point。
警告
配置前,请确保设备运行最新的软件版本: How to upgrade 透明无线链路的最小配置是匹配 SSID、正确的模式(bridge || station-bridge),以及将 Wireless 和 Ethernet 接口放入同一个 bridge。
在当前示例中,我们将查看一个使用案例:wAP60G AP 用作 Access Point,wAP60G 和 Wireless Wire kit 设备用作 Station 设备,形成一个 4 单元网络。
警告
建议更改默认 IP 地址,以避免与设备的连接问题 wAP60G AP 单元预配置了 WISP Bridge default configuration。
SSID 以及 Wireless 和 Ethernet 接口之间的 bridge 已经配置好。建议设置 Wireless 密码并更改 SSID。如果设备已被重置,您还可以设置正确的模式并启用接口。
完成前面提到的所有步骤的一行命令:
/interface w60g set wlan60-1 password="put_your_safe_password_here" ssid="put_your_new_ssid_here" disabled=no mode=ap-bridge
Wireless Wire 和 wAP60G 单元预配置了 PTP Bridge 默认配置。
Wireless Wire 设备已经随机生成了匹配的 SSID 和 Wireless 密码。
Bridge 设备(Bridge 或支持一个连接客户端的 Access point 设备)需要将 Wireless 模式更改为 station-bridge。
可用于将设备设置为客户端模式的一行命令:
/interface w60g set wlan60-1 password="put_your_safe_password_here" ssid="put_your_new_ssid_here" disabled=no mode=station-bridge
如果从空配置开始配置(重置且不带默认配置):
需要创建一个包含 Wireless 和 Ethernet 接口的新 bridge,并应添加一个 IP 地址以便于访问。
{ /interface bridge
add name=bridge1
/interface bridge port
add bridge=bridge1 interface=ether1
add bridge=bridge1 interface=wlan60-1
/ip address add address=192.168.88.1/24 interface=bridge1
}
对于 Access Point,添加此行以确保所有已连接的 station 都会被放入同一个 bridge。
/interface w60g set wlan60-1 put-stations-in-bridge=bridge1
成功连接后,每台 Client 设备都会在 Access Point 设备的以下位置出现一个新条目:
/interface w60g station print
Flags: X - disabled, R - running
0 name="wlan60-station-1" parent=wlan60-1 remote-address=AA:AA:AA:AA:AA:AA mtu=1500 mac-address=AA:AA:AA:AA:AA:AB arp=enabled arp-timeout=auto put-in-bridge=parent
1 name="wlan60-station-2" parent=wlan60-1 remote-address=AA:AA:AA:AA:AB:AA mtu=1500 mac-address=AA:AA:AA:AA:AA:AC arp=enabled arp-timeout=auto put-in-bridge=parent
2 name="wlan60-station-3" parent=wlan60-1 remote-address=AA:AA:AA:AA:AC:AA mtu=1500 mac-address=AA:AA:AA:AA:AA:AD arp=enabled arp-timeout=auto put-in-bridge=parent
3 name="wlan60-station-4" parent=wlan60-1 remote-address=AA:AA:AA:AA:AD:AA mtu=1500 mac-address=AA:AA:AA:AA:AA:AE arp=enabled arp-timeout=auto put-in-bridge=parent
可以为每个客户端应用单独的设置(queues、VLAN、Firewall 规则等),提供更大的配置灵活性。
要限制同一 bridge 中客户端之间的通信,可以在 Access Point 设备上使用 isolate-stations 选项:
/interface w60g set wlan60-1 isolate-stations=yes
Point to Point GUI configuration example
Point to Point GUI configuration example
Troubleshooting and Recommendations
MikroTik 60GHz 解决方案的功能包括对 ATPC(Adaptive Transmit Power Control)的支持
Physical Properties
802.11ad 标准中使用的无线频率的大气衰减非常高。在部署链路之前应考虑到这一点。
Wireless Wire 套件已在最长 200 米的距离上进行了测试。
Wireless Wire dish 套件已在最长 2500 米的距离上进行了测试。为了稳定性和全速可用性,建议此套件用于最长 1500 米的距离。
wAP60G 设备配备了相控阵 60° 波束成形天线,可以在短距离内帮助信号绕过物体找到路径,但在较远距离上保持清晰的视线仍然至关重要。
LHG60G 设备的单一辐射方向图小于 1 度(水平和垂直方向均如此)。所有方向图组合起来在水平面和垂直面上提供接近 3 度的覆盖。每个情况下的最佳方向图通过波束成形算法计算得出。波束宽度和方向取决于所使用的预定义校准扇区。
Device RF characteristics
60 GHz 设备
| Device | Width of single antenna pattern and full span in degrees | EIRP | Tx-power | Center sectors* |
|---|---|---|---|---|
| wAP 60G | 15-20 degrees single pattern and full span 60 degrees over horizontal and 30 degrees over vertical plane | < 40 dBm | 27,28,35,36 | |
| wAP 60G AP | 15-20 degrees single pattern and full span 60 degrees over horizontal and 30 degrees over vertical plane | < 40 dBm | 27,28,35,36 | |
| Wireless Wire | 15-20 degrees single pattern and full span 60 degrees over horizontal and 30 degrees over vertical plane | < 40 dBm | 27,28,35,36 | |
| wAP 60Gx3 AP | 15-20 degrees single pattern and full span 180 degrees over horizontal and 30 degrees over vertical plane | < 40 dBm | 27,28,35,36 | |
| SXTsq Lite 60 | 15-20 degrees single pattern and full span 60 degrees over horizontal and 30 degrees over vertical plane | < 40 dBm | 27,28,35,36 | |
| Cube Lite 60 | 4-8 degrees single pattern and full span 12 degrees over horizontal and 12 degrees over vertical plane | < 40 dBm | < 10 dBm | 27,28,35,36 |
| Cube 60G ac | 4-8 degrees single pattern and full span 12 degrees over horizontal and 12 degrees over vertical plane | < 40 dBm | < 10 dBm | 27,28,35,36 |
| Cube 60Pro ac | 4-8 degrees single pattern and full span 11 degrees over horizontal and 11 degrees over vertical plane | < 40 dBm | < 10 dBm | 27,28,35,36 |
| CubeSA 60Pro ac | 15 degrees single pattern and full span 60 degrees over horizontal and 30 degrees over vertical plane | < 40 dBm | < 10 dBm | 27,28,35,36 |
| LHG Lite 60 | < 1 degree single pattern and full span 3 degrees over horizontal and 3 degrees over vertical plane | < 55 dBm | < 10 dBm | 27,28,35,36 |
| LHG 60G | {< 1} degree single pattern and full span 3 degrees over horizontal and 3 degrees over vertical plane | {< 55} dBm | {< 10} dBm | 27,28,35,36 |
| Wireless Wire Dish | {< 1} degree single pattern and full span 3 degrees over horizontal and 3 degrees over vertical plane | {< 55} dBm | {< 10} dBm | 27,28,35,36 |
| Wireless Wire nRAY | {< 1} degree single pattern and full span 3 degrees over horizontal and 3 degrees over vertical plane | {< 55} dBm or {<40} dBm with EU region | {< 10} dBm | 31 |
*center sector 是波束成形阵列的校准中心
Regions
MikroTik 802.11ad 设备支持频率范围:57240 MHz - 67080 MHz,如果使用 "region" 参数,可以限制频率和信道的使用。
| Region | lower frequency | upper frequency | usable channels |
|---|---|---|---|
| USA | 57.24 GHz | 70.20 GHz | 1, 2, 3, 4, 5, 6 |
| Canada | 57.24 GHz | 63.72 GHz | 1, 2, 3 |
| Asia | 57.24 GHz | 63.72 GHz | 1, 2, 3 |
| EU | 57.24 GHz | 65.88 GHz | 1, 2, 3, 4 |
| Japan | 57.24 GHz | 65.88 GHz | 1, 2, 3, 4 |
| Australia | 57.24 GHz | 65.88 GHz | 1, 2, 3, 4 |
| China | 59.40 GHz | 63.72 GHz | 2, 3 |
Connection issues
为了连接设备,它们需要处于直接可见状态,客户端设备上的 "scan-list" 需要包含 AP 设备上使用的 "frequency"。LHG60 设备需要非常精确的对准,以便在较远距离上获得最佳性能。
SNMP OIDs for monitoring
从 RouterOS>=6.42rc6 起,添加了对 W60G 接口监控的 SNMP 支持。 对于主接口:
1.3.6.1.4.1.14988.1.1.1.8.1.2.1 integer Mode
1.3.6.1.4.1.14988.1.1.1.8.1.3.1 string SSID
1.3.6.1.4.1.14988.1.1.1.8.1.4.1 integer Connected status
1.3.6.1.4.1.14988.1.1.1.8.1.5.1 string Remote MAC
1.3.6.1.4.1.14988.1.1.1.8.1.6.1 integer Frequency
1.3.6.1.4.1.14988.1.1.1.8.1.7.1 integer MCS
1.3.6.1.4.1.14988.1.1.1.8.1.8.1 integer Signal quality
1.3.6.1.4.1.14988.1.1.1.8.1.9.1 integer tx-sector
1.3.6.1.4.1.14988.1.1.1.8.1.11.1 string Sector info
1.3.6.1.4.1.14988.1.1.1.8.1.12.1 integer RSSI
1.3.6.1.4.1.14988.1.1.1.8.1.13.1 gauge32 PHY rate
Station 接口将编号在另一个表下:
1.3.6.1.4.1.14988.1.1.1.9.1.2.(interfaceID) = integer Connected status
1.3.6.1.4.1.14988.1.1.1.9.1.3.(interfaceID) = Hex-STRING mac-address
1.3.6.1.4.1.14988.1.1.1.9.1.4.(interfaceID) = INTEGER: MCS
1.3.6.1.4.1.14988.1.1.1.9.1.5.(interfaceID) = INTEGER: Signal Quality Index
1.3.6.1.4.1.14988.1.1.1.9.1.6.(interfaceID) = INTEGER: tx-sector
1.3.6.1.4.1.14988.1.1.1.9.1.8.(interfaceID) = Gauge32: data-rate [Mbps]
1.3.6.1.4.1.14988.1.1.1.9.1.9.(interfaceID) = INTEGER: RSSI
1.3.6.1.4.1.14988.1.1.1.9.1.10.(interfaceID) = INTEGER: distance [cm]
InterfaceID 从 3 开始,每连接一个 station 增加 +1。有关 SNMP 功能和 MIB 文件的更多信息,请参见 SNMP manual
Configuration Reset For Wireless Wire kits
Reset 按钮的功能与其他设备上的相同,详见 here
启动时按住按钮 5 秒(USR LED 灯开始闪烁) - 重置为受密码保护状态。
启动时按住按钮 10 秒(USR LED 在闪烁后常亮) - 完全移除配置。
警告
完全移除配置后,只能建立 mac-telnet 连接