routeros後端的無線ap選擇?


norickabe wrote:
Hi 您好,只要看server...(恕刪)


謝謝您的提示, Log還是看不出發生的原因:


1. 筆電於內網, 可控管AC-LR時的Log紀錄:
[2016-03-17 21:55:56,288] <launcher-ui> INFO launcher - Initializing UniFi Controller ...
[2016-03-17 21:56:04,492] <launcher-monitor> INFO launcher - Starting UniFi Controller ...
[2016-03-17 21:56:14,250] <launcher> WARN system - cannot load native lib - ubnt_webrtc_jni
[2016-03-17 21:56:16,076] <launcher-ui> INFO launcher - UniFi Controller (4.8.14) started.
[2016-03-17 21:56:16,997] <discover> INFO dev - [state] dev[44:d9:e7:f2:e4:0d] UNKNOWN->ADOPTING, state_expire=1458223006
[2016-03-17 21:56:17,001] <discover> INFO dev - [Try Adopt] dev[44:d9:e7:f2:e4:0d], dev_ip=192.168.1.14, url=http://192.168.1.105:8080/inform
[2016-03-17 21:56:17,617] <ssh> INFO event - [event] AP[44:d9:e7:f2:e4:0d] was automatically readopted
[2016-03-17 21:56:17,853] <inform-7> INFO inform - from [44:d9:e7:f2:e4:0d](FTTH, U7LR, 3.4.16.3435): state=ADOPTING, ext/stun_ip=192.168.1.14, dev_ip=192.168.1.14, up=864327
[2016-03-17 21:56:17,861] <inform-7> INFO inform - inform url or ip changed (http://192.168.1.110:8080/inform/192.168.1.110 -> http://192.168.1.105:8080/inform/192.168.1.105), update mgmt
[2016-03-17 21:56:17,862] <inform-7> INFO dev - saveDeviceAttr(): device[44:d9:e7:f2:e4:0d][inform_url]=http://192.168.1.105:8080/inform (orig=http://192.168.1.110:8080/inform)
[2016-03-17 21:56:17,863] <inform-7> INFO dev - saveDeviceAttr(): device[44:d9:e7:f2:e4:0d][inform_ip]=192.168.1.105 (orig=192.168.1.110)
[2016-03-17 21:56:17,876] <inform-7> INFO dev - [state] dev[44:d9:e7:f2:e4:0d] ADOPTING->CONNECTED, state_expire=0
[2016-03-17 21:56:17,878] <inform-7> INFO event - [event] AP[44:d9:e7:f2:e4:0d] was connected
[2016-03-17 21:56:17,882] <inform-7> INFO inform - <<< [setparam] dev[44:d9:e7:f2:e4:0d]: [_type, blocked_sta, server_time_in_utc]
[2016-03-17 21:56:19,333] <inform-12> INFO inform - from [44:d9:e7:f2:e4:0d](FTTH, U7LR, 3.4.16.3435): state=CONNECTED, ext/stun_ip=192.168.1.14, dev_ip=192.168.1.14, up=864329
[2016-03-17 21:56:19,394] <inform-13> INFO inform - from [44:d9:e7:f2:e4:0d](FTTH, U7LR, 3.4.16.3435): state=CONNECTED, ext/stun_ip=192.168.1.14, dev_ip=192.168.1.14, up=864329
[2016-03-17 21:56:19,455] <inform_stat-1> INFO event - [event] User[34:23:87:af:aa:1b] has connected to AP[44:d9:e7:f2:e4:0d] with ssid "FTTH" on "channel 11(ng)"
[2016-03-17 21:56:30,462] <inform-36> INFO inform - from [44:d9:e7:f2:e4:0d](FTTH, U7LR, 3.4.16.3435): state=CONNECTED, ext/stun_ip=192.168.1.14, dev_ip=192.168.1.14, up=864340
[2016-03-17 21:56:44,538] <inform-65> INFO inform - from [44:d9:e7:f2:e4:0d](FTTH, U7LR, 3.4.16.3435): state=CONNECTED, ext/stun_ip=192.168.1.14, dev_ip=192.168.1.14, up=864354
[2016-03-17 21:56:54,620] <inform-86> INFO inform - from [44:d9:e7:f2:e4:0d](FTTH, U7LR, 3.4.16.3435): state=CONNECTED, ext/stun_ip=192.168.1.14, dev_ip=192.168.1.14, up=864364
[2016-03-17 21:57:06,680] <inform-111> INFO inform - from [44:d9:e7:f2:e4:0d](FTTH, U7LR, 3.4.16.3435): state=CONNECTED, ext/stun_ip=192.168.1.14, dev_ip=192.168.1.14, up=864376


2. 筆電於網外以PPTP連回內網, 無法控管AC-LR時的Log紀錄:
[2016-03-17 22:50:29,159] <launcher-ui> INFO launcher - Initializing UniFi Controller ...
[2016-03-17 22:50:37,438] <launcher-monitor> INFO launcher - Starting UniFi Controller ...
[2016-03-17 22:50:46,547] <launcher> WARN system - cannot load native lib - ubnt_webrtc_jni
[2016-03-17 22:50:47,966] <launcher-ui> INFO launcher - UniFi Controller (4.8.14) started.




Sabrina111185 wrote:
謝謝您的提示, Log...(恕刪)


這是我找到的有關UAP與Controller的溝通方式,供您及各位高手參考...
如果照您的方式要使用,可以參考Layer 3 adoption
簡單說就是透過ssh連進UAP後強迫指定controller的IP位置

UniFi - AP-Controller Management Protocol
Options
05-20-2011 12:50 AM

Overview
AP discovery is done with L2 multicast/broadcast in order for controller to see it.
The adoption is done by controller SSH into AP to tell the AP where the controller is.
After that, it's all AP calling home to perform tasks controller asks it to do.
All the AP-controller management traffic goes un-tagged.
The design has L3-management in mind where you can set up controller in the clouds.
Adoption
Initial Handshake

When an AP is in factory default (LED shows steady amber/orange), it will obtain IP from DHCP server and send out beacons - "I'm in factory default. Who can manage me?"
Controller hears the beacon. As this device is in default state, shows the AP as PENDING.
When the user decides to adopt the AP, controller will adopt the AP via SSH (using the IP information in the beacon and the default username/password)
AP sends initial inform to controller_ip:8080/inform, the binding of controller-AP is now completed

When the AP was already adopted

When an AP has been adopted (LED shows steady green) but the controller is not present, the AP sends a slightly different beacon - "I'm here. When you (the controller) are up/ready. Come pick me up."
When the original controller comes up, it hears the AP's beacon and finds that the AP is under its management. It will readopt the AP automatically via SSH (using the IP information in the beacon and with the non-default credential).

norickabe wrote:
這是我找到的有關UAP...(恕刪)


我試著用L3方式設定, 還是一樣無法連到AC-LR. 我IP用筆電上網取得的IP 或 筆電執行PPTP VPN所取得的內網IP, 結果都一樣. Log也與先前相同, 真是頭痛, 謝謝您的幫忙.
Sabrina111185 wrote:
我試著用L3方式設...(恕刪)


參考看看http://help.ros.tw/wp/?p=1055


你的UAP跟軟AC必須在同一個L2環境才能主動發現,

PPTP VPN進去後就不會是同個L2了,

如果你的路由器支援OVPN或是SSTP的話,
用這二種方式搭配橋接就可以在同一個L2環境去跑。

YAWPYNG wrote:
參考看看http:...(恕刪)


謝謝大大的指導,
想請問所提Layer 3的方式是UAP將訊息往雲伺服器送, 請問UBNT Cloud可支援嗎? 還是一定要買Unifi Cloud Key才可使用UBNT Cloud?
有其他免費Cloud可安裝Unifi Controller?

另有一個問題是我有2個Site, Site A有一個VLAN(有2台AC-LR), Site B有三個VLAN(每個VLAN有2台AC-LR), 請問要幾台Unifi Cloud Key才可管理Site A & Site B 的8台AC-LR?

又Unifi Cloud Key可透過UBNT Cloud集中管理外, 請問可以直接連到Unifi Cloud Key(如用HTTP存取), 直接看該Unifi Cloud Key所管理的AP嗎? 還是用了Unifi Cloud Key, 一定要到UBNT Cloud才可看到Unifi Cloud Key所管理的AP?

Sabrina111185 wrote:
想請問所提Layer 3的方式是UAP將訊息往雲伺服器送, 請問UBNT Cloud可支援嗎? 還是一定要買Unifi Cloud Key才可使用UBNT Cloud?
有其他免費Cloud可安裝Unifi Controller?..(恕刪)


UBNT Cloud 我試過只能看到連上來的AC控制器極少的訊息而已,沒辦法透過UBNT Cloud去管理UAP.

新版的控制器都可以連到UBNT Cloud.

免費的Cloud 不清楚,一年USD4塊錢便宜的VPS倒是有。

Sabrina111185 wrote:
另有一個問題是我有2個Site, Site A有一個VLAN(有2台AC-LR), Site B有三個VLAN(每個VLAN有2台AC-LR), 請問要幾台Unifi Cloud Key才可管理Site A & Site B 的8台AC-LR? .(恕刪)

只要網路能互通,一台控制器就夠了。


Sabrina111185 wrote:
又Unifi Cloud Key可透過UBNT Cloud集中管理外, 請問可以直接連到Unifi Cloud Key(如用HTTP存取), 直接看該Unifi Cloud Key所管理的AP嗎? 還是用了Unifi Cloud Key, 一定要到UBNT Cloud才可看到Unifi Cloud Key所管理的AP?..(恕刪)

如同第一個問題回覆的。

YAWPYNG wrote:
UBNT Cloud...(恕刪)


不懂為何只要一台Unifi Cloud Key就可以管理Site A & B共8台AC LR(分布於4 VLAN上).
以下我的認知不知是否正確,
若是使用原始設定方式是L2, 有4個VLAN 則要4台Unifi Cloud Key
如改用L3 adoption, 則只要1台Unifi Cloud Key即可
文章分享
評分
評分
複製連結
請輸入您要前往的頁數(1 ~ 7)

今日熱門文章 網友點擊推薦!