Welcome to Sysnet Board คู่มือ การใช้งานอุปกรณ์ Network. Please log in or sign up.
สมาชิกทั้งหมด
17,595
กระทู้ทั้งหมด
10,026
หัวข้อทั้งหมด
4,711

  • mikrotik 450G เน็ตหลุดบ่อยครับ
    เริ่มโดย denmobile
    Read 20,574 times
0 สมาชิก และ 1 ผู้มาเยือน กำลังดูหัวข้อนี้

 

 
พอดีที่บ้านทำ wifi hotspot ครับ เมื่อก่อนไม่เกิดอาการแบบนี้ครับพึ่งมาเป็นเอาตอนต้นเดือนที่แล้ว
ระบบผมเป็นแบบนี้ครับ
ผมใช้เน็ต tot 3 เส้น ทำ load balance 3 wan แล้ว ออกเป็น lan 2
ตอนกลางวันหลุดไม่ค่อยบ่อย ถ้ามีอาการ เราจะปิงเข้าเว็บอะไรไม่ได้เลย และผมปิงเข้าไอพี่ เกดเวย์ ของ mikrotik ก็ไม่ได้จะหลุดอยู่สักประมาณ 3-5 นาทีแล้วกลับมาเล่นต่อได้ เล่นไปบางครั้งก็ 1 ชั่วโมง บางครั้งก็ 2 กลับมาหลุดอีก ยิ่งกลางคืนคนใช้สัก 15 คนหลุดบ่อยมาก  ช่วงที่เน็ตหลุดเราสามารถ winbox ได้ ผมลองเข้าไปปิงใน Ternimal ตอนช่วงที่เน็ตกำลังหลุด เน็ตก็ยังมาที่ mikrotik ปรกติ อยู่
-ผมลองทำดูทุกทางแล้วยังหลุดอยู่ ไม่ว่าจะเอาคอมต่อสายแรนเข้ากับ mikrotik โดยตรงก็หลุดเหมือนกัน
-ลองรีคอนฟิกแล้วไม่เซท hotspot แล้วทำ PPPoe เส้นเดียว ไม่ทำ load balance มันก็ยังหลุด
-ลองเอาโหลด load balance ของ TPlink มาใส่ แล้วทำแค่ DHCPClient แบบธรรมดาก็ยังหลุด
-แต่ผมลองเอา wifi ต่อกับ load balance TPlink ไม่หลุด ผมคิดว่าน่าจะตัว mikrotik ผมเสียหรือ เป็นที่ config ในตัว mikrotik
รบกวนของคำปรึกษาหน่อยครับ ไม่ลองมาเกือบทุกแบบละแต่ก็ยังไม่เจอปัญหา ไม่รู้ว่า mikrotik ผมเจ๊งหรือป่าว ผมคิดว่าผมจะซื้อ mikrotik ใหม่แต่กลัวซื้อมายังแก้ไม่หายถ้าเป็นเพราะ mikrotik จริงก็จะซื้อใหม่โดยไม่ลังเลเลยครับ เพราะเสียตังซื้อ load balance ไปก็หลายตังอยู่แต่ก็แก้ไม่ได้
อีกอย่าง ตอนที่มีอาการเน็ตหลุด CPU ไม่มีอาการทำงานหนักครับเหมือนกับว่าไม่มีใครใช้เน็ต เลย
ลองเปลี่ยนอะแด็ปเตอร์แล้วก็ยังไม่หายครับ
เมื่อก่อนผมใช้ สคิปนี้แหละครับก็ไม่เห็นเป็นไร พอต้นเดือนที่แล้วอาการนี้เริ่มมา
#|/ip address
/ip address add address=192.168.0.1/24 network=192.168.0.0 broadcast=192.168.0.255 interface=ether4 comment="default configuration"

#|/ip firewall mangle
/ip firewall mangle add chain=input in-interface=pppoe-out1 action=mark-connection new-connection-mark=ether1_conn
/ip firewall mangle add chain=input in-interface=pppoe-out2 action=mark-connection new-connection-mark=ether2_conn
/ip firewall mangle add chain=input in-interface= pppoe-out3 action=mark-connection new-connection-mark=ether3_conn

/ip firewall mangle add chain=output connection-mark=ether1_conn action=mark-routing new-routing-mark=to_ether1
/ip firewall mangle add chain=output connection-mark=ether2_conn action=mark-routing new-routing-mark=to_ether2
/ip firewall mangle add chain=output connection-mark=ether3_conn action=mark-routing new-routing-mark=to_ether3

/ip firewall mangle add chain=prerouting dst-address-type=!local in-interface=ether4 per-connection-classifier=both-addresses-and-ports:4/0 action=mark-connection new-connection-mark=ether1_conn passthrough=yes
/ip firewall mangle add chain=prerouting dst-address-type=!local in-interface=ether4 per-connection-classifier=both-addresses-and-ports:4/1 action=mark-connection new-connection-mark=ether2_conn passthrough=yes
/ip firewall mangle add chain=prerouting dst-address-type=!local in-interface=ether4 per-connection-classifier=both-addresses-and-ports:4/2 action=mark-connection new-connection-mark=ether3_conn passthrough=yes
/ip firewall mangle add chain=prerouting connection-mark=ether1_conn in-interface=ether4 action=mark-routing new-routing-mark=to_ether1
/ip firewall mangle add chain=prerouting connection-mark=ether2_conn in-interface=ether4 action=mark-routing new-routing-mark=to_ether2
/ip firewall mangle add chain=prerouting connection-mark=ether3_conn in-interface=ether4 action=mark-routing new-routing-mark=to_ether3


#|/ip route
/ip route add dst-address=0.0.0.0/0 gateway=pppoe-out1 routing-mark=to_ether1 check-gateway=ping
/ip route add dst-address=0.0.0.0/0 gateway=pppoe-out2 routing-mark=to_ether2 check-gateway=ping
/ip route add dst-address=0.0.0.0/0 gateway=pppoe-out3 routing-mark=to_ether3 check-gateway=ping

/ip route add dst-address=0.0.0.0/0 gateway=pppoe-out1 distance=1 check-gateway=ping
/ip route add dst-address=0.0.0.0/0 gateway=pppoe-out2 distance=2 check-gateway=ping
/ip route add dst-address=0.0.0.0/0 gateway=pppoe-out3 distance=3 check-gateway=ping

#|/ip firewall nat
/ip firewall nat add chain=srcnat out-interface=pppoe-out1 action=masquerade
/ip firewall nat add chain=srcnat out-interface=pppoe-out2 action=masquerade
/ip firewall nat add chain=srcnat out-interface=pppoe-out3 action=masquerade

#| DHCP server is on switch, with address pool 192.168.0.50-192.168.0.200
/ip pool add name=default-dhcp ranges=192.168.0.100-192.168.0.200
/ip dhcp-server add name=default address-pool=default-dhcp interface=ether4 disabled=no
/ip dhcp-server network add address=192.168.0.0/24 gateway=192.168.0.1 dns-server=192.168.0.1 comment="default configuration"

#| DNS
/ip dns set allow-remote-requests=yes
/ip dns static add name=router address=192.168.0.1

#| Now Configure DNS server so users can resolve hostnames,
#| Ex.cache-size=5000KiB
#| DNS Google = 8.8.8.8,8.8.4.4
#| DNS 3BB = 110.164.252.222,110.164.252.223
/ip dns set allow-remote-requests=yes cache-max-ttl=1w cache-size=5000K max-udp-packet-size=512 servers=8.8.8.8,8.8.4.4



ถึงเน็ตหลุด แต่ก็ยังเข้า winbox ได้ ทั้งๆที่ ปิง ไอพีเกดเวย์ไม่เจอ

ขึ้นแดงๆแบบนี้ ตั้งแต่มีอาการครับ ตอนนี้ผมรีเซทแล้ว ปิดพอร์ตเซอร์วิสทั้งหมด ตัวแดงๆไม่ขึ้น แต่เน็ตก็ยังหลุดอยู่ดี

yod

yod
ถ้าปิด ssh เรียบร้อยแล้วทีนี้ backup ค่า config เอาไว้ แล้วลองต่อ net ทีละเส้นครับ

ผมปิด ssh แล้ว ครับ แล้วลองต่อเน็ตทีละเส้นแล้วก็ยังหลุดอยู่เลยครับ คุณยอด

แก้ปัญหาได้หรือยังครับ  ผมเป็นอาการเดียวกันเลยครับ

แก้ได้ยังครับ ผมก็เจออาการนี้เหมือนกัน

แก้ยังไงครับ ผมเป็นอาการเดียวกันเลยครับ