ผมใช้ Mikrotik RB2011UiAS-2HnD-IN ตอนใช้ Default Config มันก็ทำงานได้ปกติครับ
แต่พอผมเริ่ม Config ตามต้องการมันก็ค้างๆไป อาการที่พบคือ
1. ใช้ๆอยู่ Reboot เอง ผมลอง UpFw เป็นล่าสุด 6.34.2 ก็ไม่หาย พอ Reboot เครื่องมัน DownFw ลงมาเองเป็น 6.30.4 เหมือนเดิม
2. ตอนนี้ใช้เลยลง Fw 6.30.4 พอเครื่อง Rebootเอง ก็ยังอยู่ที่ 6.30.4
3. ค่า Config ที่ตั้งไว้ก็ยังอยู่และใช้งานได้ จะมีค่าที่มันเปลี่ยนไปเองคือเรื่องการเก็บ Log เครื่องมันไป disabled เอง
ผมใช้คนเดียวเครื่องยัง Reboot เอง งงมากๆ วานผู้รู้ช่วยดู Config ทีครับว่าผมทำอะไรไม่ถูกหรือไม่ครับ
ขอบคุณมากครับ
รูปแบบการ Config คือ
1. 1 Wan pppoe 3BB ขา LAN1
2. วง จ่าย DHCP แยกวงกัน ขา LAN 5 และ LAN10
3. วง LAN10 ทำ hotspot limit limit bandwidth และ เวลาใช้งาน
4. ทำ NAT ที่ Firewall 2 Port
5. เก็บ Log ลง Syslog
มันก็ใช้งานได้ แต่ติดที่ Rebootเอง กับค่า ที่ส่งไป Syslog disabled เอง
โดย Export ได้ดังนี้ครับ
[Spoil] คลิกเพื่อดูข้อความที่ซ่อนไว้[admin@MikroTik] > export
# mar/10/2016 10:27:39 by RouterOS 6.30.4
# software id = TVCY-9QB5
#
/interface ethernet
set [ find default-name=ether1 ] mac-address=10:C3:7B:37:E5:21
set [ find default-name=ether2 ] mac-address=10:C3:7B:37:E5:22
set [ find default-name=ether3 ] mac-address=10:C3:7B:37:E5:23
set [ find default-name=ether4 ] mac-address=10:C3:7B:37:E5:24
set [ find default-name=ether5 ] mac-address=10:C3:7B:37:E5:25
set [ find default-name=ether6 ] mac-address=10:C3:7B:37:E5:26
set [ find default-name=ether7 ] mac-address=10:C3:7B:37:E5:27
set [ find default-name=ether8 ] mac-address=10:C3:7B:37:E5:28
set [ find default-name=ether10 ] mac-address=10:C3:7B:37:E5:2A
set [ find default-name=sfp1 ] disabled=yes mac-address=10:C3:7B:37:E5:20
/interface pppoe-client
add add-default-route=yes disabled=no interface=ether1 max-mru=1492 max-mtu=1492 mrru=1600 name=pppoe-out1-3BB password=XXXXXXX use-peer-dns=yes user=XXXXX@XXXXXX
/interface wireless
set [ find default-name=wlan1 ] l2mtu=1600
/interface ethernet
set [ find default-name=ether9 ] mac-address=10:C3:7B:37:E5:29 master-port=ether10
/ip firewall layer7-protocol
add name=pps regexp=130
/ip hotspot profile
add hotspot-address=10.5.50.1 login-by=http-chap name=hsprof1
/ip hotspot user profile
add mac-cookie-timeout=1d name=512k/2M rate-limit=512K/2M session-timeout=2m transparent-proxy=yes
/ip pool
add name=hs-pool-1 ranges=10.5.50.20-10.5.50.254
add name=dhcp_pool1 ranges=192.168.88.150-192.168.88.254
/ip dhcp-server
add address-pool=hs-pool-1 disabled=no interface=ether10 lease-time=1h name=dhcp1
add address-pool=dhcp_pool1 disabled=no interface=ether5 name=dhcp2
/ip hotspot
add address-pool=hs-pool-1 disabled=no interface=ether10 name=hotspot1 profile=hsprof1
/system logging action
add name=Syslog remote=192.168.88.20 target=remote
/user group
set write policy=local,telnet,ssh,read,write,winbox,password,sensitive,api,!ftp,!reboot,!policy,!test,!web,!sniff
/interface pptp-server server
set default-profile=default enabled=yes max-mru=1472 max-mtu=1472
/ip address
add address=10.5.50.1/24 comment="hotspot network" interface=ether10 network=10.5.50.0
add address=192.168.88.1/24 interface=ether5 network=192.168.88.0
/ip cloud
set ddns-enabled=yes
/ip dhcp-server network
add address=10.5.50.0/24 comment="hotspot network" gateway=10.5.50.1
add address=192.168.88.0/24 dns-server=110.164.252.222,110.164.252.223 gateway=192.168.88.1
/ip dns
set servers=110.164.252.222,110.164.252.223
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment="place hotspot rules here" disabled=yes
add action=log chain=forward out-interface=pppoe-out1-3BB
/ip firewall nat
add action=passthrough chain=unused-hs-chain comment="place hotspot rules here" disabled=yes
add action=masquerade chain=srcnat comment="masquerade hotspot network" log=yes src-address=10.5.50.0/24
add action=masquerade chain=srcnat log=yes src-address=192.168.88.0/24
add action=dst-nat chain=dstnat comment=NAT-5900 dst-address-type=local dst-port=5900 in-interface=pppoe-out1-3BB log=yes protocol=tcp to-addresses=192.168.88.10 \
to-ports=5900
add action=dst-nat chain=dstnat comment=NAT-80 dst-address-type=local dst-port=8081 in-interface=pppoe-out1-3BB log=yes protocol=tcp to-addresses=192.168.88.1 to-ports=\
9000
/ip firewall service-port
set tftp disabled=yes
set irc disabled=yes
set h323 disabled=yes
set sip disabled=yes
set pptp disabled=yes
/ip hotspot ip-binding
add address=10.5.50.10 to-address=10.50.50.15
/ip hotspot user
add comment="counters and limits for trial users" name=default-trial
add limit-uptime=30m name=hpr1 password=147bts profile=512k/2M server=hotspot1
add limit-uptime=30m name=hpr2 password=106naj profile=512k/2M server=hotspot1
add limit-uptime=30m name=hpr3 password=934ouc profile=512k/2M server=hotspot1
add limit-uptime=30m name=hpr4 password=537kqk profile=512k/2M server=hotspot1
add limit-uptime=30m name=hpr5 password=118lvy profile=512k/2M server=hotspot1
/ip route rule
add action=drop comment="Block Lan To Wifi" disabled=yes dst-address=192.168.88.0/24 src-address=10.5.50.0/24
add action=drop comment="Block Wifi To Lan" dst-address=10.5.50.0/24 src-address=192.168.88.0/24
/ip service
set www port=9000
set api disabled=yes
set api-ssl disabled=yes
/lcd
set default-screen=stat-slideshow touch-screen=disabled
/lcd interface pages
set 0 interfaces=sfp1,ether1,ether2,ether3,ether4,ether5,ether6,ether7,ether8,ether9,ether10
/system clock
set time-zone-name=Asia/Bangkok
/system lcd
set contrast=0 enabled=no port=parallel type=24x4
/system lcd page
set time disabled=yes display-time=5s
set resources disabled=yes display-time=5s
set uptime disabled=yes display-time=5s
set packets disabled=yes display-time=5s
set bits disabled=yes display-time=5s
set version disabled=yes display-time=5s
set identity disabled=yes display-time=5s
set pppoe-out1-3BB disabled=yes display-time=5s
set wlan1 disabled=yes display-time=5s
set sfp1 disabled=yes display-time=5s
set ether1 disabled=yes display-time=5s
set ether2 disabled=yes display-time=5s
set ether3 disabled=yes display-time=5s
set ether4 disabled=yes display-time=5s
set ether5 disabled=yes display-time=5s
set ether6 disabled=yes display-time=5s
set ether7 disabled=yes display-time=5s
set ether8 disabled=yes display-time=5s
set ether9 disabled=yes display-time=5s
set ether10 disabled=yes display-time=5s
/system logging
set 0 action=remote disabled=yes
set 1 action=remote disabled=yes
set 2 action=remote disabled=yes
set 3 action=remote disabled=yes
add action=Syslog topics=account
add action=Syslog topics=dhcp
add action=Syslog topics=firewall
add action=Syslog topics=hotspot
/system ntp client
set enabled=yes primary-ntp=172.24.64.1
/system scheduler
add interval=1s name=system on-event=system policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive start-date=jan/01/1970 start-time=00:00:00
ขอความช่วยเหลือครับ Mikrotik RB2011UiAS-2HnD-IN ค้างและ Reboot เองหาสาเหตุไม่เจอครับ
แต่พอผมเริ่ม Config ตามต้องการมันก็ค้างๆไป อาการที่พบคือ
1. ใช้ๆอยู่ Reboot เอง ผมลอง UpFw เป็นล่าสุด 6.34.2 ก็ไม่หาย พอ Reboot เครื่องมัน DownFw ลงมาเองเป็น 6.30.4 เหมือนเดิม
2. ตอนนี้ใช้เลยลง Fw 6.30.4 พอเครื่อง Rebootเอง ก็ยังอยู่ที่ 6.30.4
3. ค่า Config ที่ตั้งไว้ก็ยังอยู่และใช้งานได้ จะมีค่าที่มันเปลี่ยนไปเองคือเรื่องการเก็บ Log เครื่องมันไป disabled เอง
ผมใช้คนเดียวเครื่องยัง Reboot เอง งงมากๆ วานผู้รู้ช่วยดู Config ทีครับว่าผมทำอะไรไม่ถูกหรือไม่ครับ
ขอบคุณมากครับ
รูปแบบการ Config คือ
1. 1 Wan pppoe 3BB ขา LAN1
2. วง จ่าย DHCP แยกวงกัน ขา LAN 5 และ LAN10
3. วง LAN10 ทำ hotspot limit limit bandwidth และ เวลาใช้งาน
4. ทำ NAT ที่ Firewall 2 Port
5. เก็บ Log ลง Syslog
มันก็ใช้งานได้ แต่ติดที่ Rebootเอง กับค่า ที่ส่งไป Syslog disabled เอง
โดย Export ได้ดังนี้ครับ
[Spoil] คลิกเพื่อดูข้อความที่ซ่อนไว้