• 860

[研究所] MikroTik RouterOS 學習 (持續更新)


eavictor wrote:
有人跟我一樣遇到固...(恕刪)

我自己目前使用非固定制是沒這狀況
eavictor wrote:
有人跟我一樣遇到固...(恕刪)


目前我的也沒這個問題我固二還自己切ipv6子網做dhcp server來配
IPv6 都沒有問題都可以取得ip
奇怪 我沒V6 dhcp server

但是後端都可以拿到IPV6的IP

從6.1 多版 就沒有設定過 V6 DHCP
jeremy9678 wrote:
目前我的也沒這個問...(恕刪)
mpta wrote:
奇怪 我沒V6 dhcp...(恕刪)


我是把中華給的 LAN port ipv6 /56放入pool內然後在dhcp server配ipv6
沒有ipv6dhcp因該會吃中華的吧?
池跟dhcp 裡面我也沒放 中華電信給的ipv6 ip 可以用!

但是ipv6 平常沒有再開,申請好看的!


jeremy9678 wrote:
我是把中華給的 LAN...(恕刪)

jeremy9678 wrote:
我想你要的因該是這個...(恕刪)


謝謝, 我也是這樣操作的, 今天再試了一下, 發現問題出在我修改了 client-id

我是按造網頁上有人分享的綁定方式, 上面寫可以自行修改 client-id

沒想到竟然不行, 現在可以正常綁定了

不過最後又遇到一個問題, 就是我在雙線負載均衡下, 無法 port mapping

今天試了好久還是找不到方法


以下是我目前的設定, 雙線負載均衡, 一路是IP, 一路是 PPPOE 撥接IP
想要外部連線兩路都 FTP 可以對應到 192.168.0.112 port:21 NAS 上
希望有人能夠, 謝謝
----------------------------------------------------------------
# mar/29/2015 22:12:25 by RouterOS 6.27
# software id = 6A1T-IN9R
#
/interface ethernet
set [ find default-name=ether3 ] name=lan1
set [ find default-name=ether4 ] master-port=lan1 name=lan2
set [ find default-name=ether5 ] master-port=lan1 name=lan3
set [ find default-name=ether1 ] name=wan1
set [ find default-name=ether2 ] name=wan2
/interface pppoe-client
add add-default-route=yes disabled=no interface=wan2 keepalive-timeout=\
disabled name=pppoe-out2 password=xxxxxxxx user=xxxxxxx@hinet.net
/ip neighbor discovery
set wan1 discover=no
/ip pool
add name=dhcp ranges=192.168.0.10-192.168.0.250
add name=dhcp_pool1 ranges=192.168.0.10-192.168.0.250
/ip dhcp-server
add address-pool=dhcp_pool1 disabled=no interface=lan1 lease-time=3d name=\
dhcp1
/port
set 0 name=serial0
/ip address
add address=192.168.0.1/24 interface=lan1 network=192.168.0.0
add address=59.125.XX.109/24 interface=wan1 network=59.125.XX.0
/ip dhcp-client
add comment="default configuration" dhcp-options=hostname,clientid disabled=\
no interface=lan1
/ip dhcp-server lease
add address=192.168.0.112 client-id=DS1551+_1 mac-address=00:11:32:3D:94:2D
add address=192.168.0.113 client-id=DS1515+_2 mac-address=00:11:32:3D:94:2E
add address=192.168.0.114 client-id=DS1515+_3 mac-address=00:11:32:3D:94:2F
add address=192.168.0.115 client-id=DS1515+_4 mac-address=00:11:32:3D:94:30
add address=192.168.0.151 client-id=Work01 mac-address=E0:3F:49:44:73:FC
add address=192.168.0.152 client-id=Work02 mac-address=14:DA:E9:EA:D1:12
add address=192.168.0.153 client-id=Work03 mac-address=14:DA:E9:EA:C8:EC
add address=192.168.0.154 client-id=Work04 mac-address=14:DA:E9:EA:D1:10
add address=192.168.0.155 client-id=Work05 mac-address=14:DA:E9:EA:D1:11
add address=192.168.0.156 client-id=Work06 mac-address=14:DA:E9:EA:CF:3A
add address=192.168.0.157 client-id=Work07 mac-address=14:DA:E9:EA:D1:15
add address=192.168.0.218 client-id=test_2 mac-address=00:15:17:8A:C6:85 \
server=dhcp1
add address=192.168.0.219 client-id=test mac-address=BC:5F:F4:47:35:0C server=\
dhcp1
add address=192.168.0.116 client-id=QNAP mac-address=00:08:9B:C5:66:17
/ip dhcp-server network
add address=192.168.0.0/24 comment="default configuration" dns-server=\
168.95.1.1,8.8.8.8 gateway=192.168.0.1 netmask=24
/ip dns
set allow-remote-requests=yes servers=168.95.1.1
/ip dns static
add address=192.168.88.1 name=router
/ip firewall filter
add chain=input comment="default configuration" protocol=icmp
add chain=input comment="default configuration" connection-state=\
established,related
add action=drop chain=input comment="default configuration" in-interface=wan1
add chain=forward comment="default configuration" connection-state=\
established,related
add action=drop chain=forward comment="default configuration" \
connection-state=invalid
add action=drop chain=forward comment="default configuration" \
connection-nat-state=!dstnat connection-state=new in-interface=wan1
/ip firewall mangle
add action=mark-connection chain=input in-interface=wan1 new-connection-mark=\
WAN1_conn
add action=mark-connection chain=input in-interface=pppoe-out2 \
new-connection-mark=WAN2_conn
add action=mark-routing chain=output connection-mark=WAN1_conn \
new-routing-mark=to_WAN1
add action=mark-routing chain=output connection-mark=WAN2_conn \
new-routing-mark=to_WAN2
add action=mark-connection chain=prerouting dst-address-type=!local \
in-interface=lan1 new-connection-mark=WAN1_conn \
per-connection-classifier=both-addresses-and-ports:2/0
add action=mark-connection chain=prerouting dst-address-type=!local \
in-interface=lan1 new-connection-mark=WAN2_conn \
per-connection-classifier=both-addresses-and-ports:2/1
add action=mark-routing chain=prerouting connection-mark=WAN1_conn \
in-interface=lan1 new-routing-mark=to_WAN1
add action=mark-routing chain=prerouting connection-mark=WAN2_conn \
in-interface=lan1 new-routing-mark=to_WAN2
/ip firewall nat
add action=masquerade chain=srcnat out-interface=wan1
add action=masquerade chain=srcnat out-interface=pppoe-out2
/ip route
add check-gateway=ping distance=1 gateway=59.125.xx.254 routing-mark=to_WAN1
add check-gateway=ping distance=1 gateway=pppoe-out2 routing-mark=to_WAN2
add distance=1 gateway=59.125.xx.254
add check-gateway=ping distance=1 gateway=59.125.xx.254
add check-gateway=ping distance=2 gateway=pppoe-out2
/system clock
set time-zone-name=Asia/Taipei
/system routerboard settings
set cpu-frequency=533MHz
/tool mac-server
set [ find default=yes ] disabled=yes
add interface=wan2
add interface=lan1
add interface=lan2
add interface=lan3
/tool mac-server mac-winbox
set [ find default=yes ] disabled=yes
add interface=wan2
add interface=lan1
add interface=lan2
add interface=lan3
我有一路也是pppoe它現在也只有routeros的wan port有用其它ipv6我都用固二的ipv6囉~
我發現到備份檔案好像會愈來愈大耶!
之前剛設定好時有一個備份檔,但最近再備份時發現到備份檔從出廠給預設設定檔的65K到前一陣子最佳設定時備份的92K,在使用一個月後再備份時已變成218K了,是何原因呢?Log嗎?看起來沒那麼多Log啊!難不成系統執行時有暫存檔也進來了,那是否會愈用愈慢呢?
請問各位 我手邊有RB850Gx2 RB45G 我想將log傳到QNAP上 目前碰到的問題是獲得的資料不好辨識是哪台設備

請問該如何設定呢?

擷取資料如下圖



請問各位 2 WAN 於 RouterOS 上要如何解 ?
公司有一台 RouterOS 4 PORT 的去取代居易 2 WAN 的2920
想試試看......
  • 860
內文搜尋
X
評分
評分
複製連結
請輸入您要前往的頁數(1 ~ 860)
Mobile01提醒您
您目前瀏覽的是行動版網頁
是否切換到電腦版網頁呢?