可否幫小弟測試一下手上mikrotik產品本身是mirco usb的機種接手機分享3g或4g的問題
我目前遇到一個怪問題<就是我把手機LG G2開4g分享給mikrotik使用,連線方式是用
usb連線,目前遇到一個問題,目前接法是小轉大,然後再接手機傳輸線
問題就是在LTE頁面有出現介面出來,但是設定上dhcp clinet都無法取得到ip部分
我換過其他平板手機也不行,反而更殘介面出來也沒有出來
目前我手上試過crs109 ccr1036都有問題,因為它們都是mirco usb的頭
但我用rb951g-2hnd就非常正常使用,但它是標準usb的
所以想請有機種是mirco usb機種大大幫忙試一下,謝謝!!
但是nas我也只用了檔案管理功能,[之前有購入群輝的209+II]
家中成員不用拿隨身碟傳來傳去,
所以才想說是否routerOS是否可以加裝一顆硬碟方便使用。
其實,我最考量的是無線上網,
不然還要再接一台AP,有點畫蛇添足,
小弟我之前是用vigor 2910,然候外加一台asus n56u做AP使用,
這一開機就是好幾個月感覺不到2910的存在,
要不是2910無法提供較高的網速以及貪圖小米路由的硬碟,
想說一台可以解決所有問題,所以購入小米1TB版,
無奈小米的韌體跟無線能力實在很弱,
所有只好刷了番茄再外加N56U一台,
等於又回到了原來的老路.....
嗯,我再繼續研究看看......
jeremy9678 wrote:可以在Winbox上面直接做,但不見得會比較快.
gfx大做mikrotik...(恕刪)
OpenVPN Configuration Step by Step
gfx wrote:
取得PPPoE ip...(恕刪)
謝謝,底下是我參考他人的語法,經過修改
中文部分記得置換成自己的參數
# No-IP automatic Dynamic DNS update
#--------------- Change Values in this section to match your setup ------------------
# No-IP User account info
:local noipuser "登入帳號"
:local noippass "登入密碼"
# Set the hostname or label of network to be updated.
# Hostnames with spaces are unsupported. Replace the value in the quotations below with your host names.
# To specify multiple hosts, separate them with commas.
:local noiphost "網址,例如abc.noip.me"
# Change to the name of interface that gets the dynamic IP address
:local inetinterface "PPPOE撥號的介面名稱"
#------------------------------------------------------------------------------------
# No more changes need
:global previousIP [:resolve 網址]
:if ([/interface get $inetinterface value-name=running]) do={
# Get the current IP on the interface
:local currentIP [/ip address get [find interface="$inetinterface" disabled=no] address]
# Strip the net mask off the IP address
:for i from=( [:len $currentIP] - 1) to=0 do={
:if ( [:pick $currentIP $i] = "/") do={
:set currentIP [:pick $currentIP 0 $i]
}
}
:if ($currentIP != $previousIP) do={
:log info "No-IP: Current IP $currentIP is not equal to previous IP, update needed"
:set previousIP $currentIP
# The update URL. Note the "\3F" is hex for question mark (?). Required since ? is a special character in commands.
:local url "http://dynupdate.no-ip.com/nic/update\3Fmyip=$currentIP"
:local noiphostarray
:set noiphostarray [:toarray $noiphost]
:foreach host in=$noiphostarray do={
:log info "No-IP: Sending update for $host"
/tool fetch url=($url . "&hostname=$host") user=$noipuser password=$noippass mode=http dst-path=("no-ip_ddns_update-" . $host . ".txt")
:log info "No-IP: Host $host updated on No-IP with IP $currentIP"
}
} else={
:log info "No-IP: Previous IP $previousIP is equal to current IP, no update needed"
}
} else={
:log info "No-IP: $inetinterface is not currently running, so therefore will not update."
}
另外請教一個問題
我想把ETH5這個網路線的孔
設定成只要接上這個孔的PC,就會取得固定IP,例如192.168.1.10,而不是透過DHCP
並且透過PPPOE-OUT-2上網。
PPPOE-OUT-1則是ETH1-4的預設上網路徑且是DHCP,這部分已經設定完成
我應該要如何做?
https://dl.dropboxusercontent.com/u/34743921/noip.txt
ETH5這個網路線的孔很簡單,先將eth5的master-port設成none,與eth2(DHCP1)脫勾.
設定成只要接上這個孔的PC,就會取得固定IP,例如192.168.1.10,而不是透過DHCP
然後將eth5設成第DHCP2 ,Pool只設192.168.1.10這一個ip
所以日後DHCP2再怎麼配ip ,也只會有192.168.1.10這一組ip
但注意DHCP1-Pool不能含192.168.1.10 ,不然DHCP2就沒搞頭了

內文搜尋

X