Thursday, September 17th, 2015 | Author:
  • Apá 1 – Ọrọ Iṣaaju – Eto soke Simple queues (Yi post)
  • Apá 2 – Reliably Idamo ijabọ – Eto soke Mangle Ofin (Nbọ laipẹ TM)
  • Apá 3 – Ayo ati ifilelẹ – Eto soke isinyin Igi (Nbọ laipẹ TM)
  • Apá 4 – Monitoring Usage – Redefining queues – Limiting Abusive Devices (Nbọ laipẹ TM)
  • Apá 5 – ??? Èrè ???

Ọrọ Iṣaaju

The first problem one usually comes across after being tasked with improving an Internet connection is that the connection is overutilised. Ojo melo si eniti o mo idi ti, ti o, tabi ohun ti wa ni nfa iṣoro – except of course everyone blames the ISP. Nigba miran o jẹ awọn ISP – but typically you can’t prove that without having an alternative connection immediately available. I currently manage or help manage four “ojula / agbegbe ile” pe lilo QoS lati ṣakoso awọn won Internet Asopọmọra. Ọkan ni mi ise, two are home connections, and the last one is a slightly variable one – maa o kan a ile asopọ sugbon tabi, for a weekend every few months, it becomes a 140-eniyan (ati ki o dagba) Lan. Fun. 🙂

MikroTik RouterOS ati

MikroTik'S RouterOS is very powerful in the right hands. Many other routers support QoS but not with the fine-grain control MikroTik provides. Alternatively you could utilise other Linux-based router OS’s, bi eleyi DD-WRT, Smoothwall, Untangle, ati ki o jade. Julọ ti awọn wọnyi ojo melo beere pe o ni a apoju server eke nipa tabi hardware a ibamu olulana. Mikrotik ta RouterBoards ti o ni RouterOS builtin – ati awọn ti wọn ni o jo mo ilamẹjọ.

Mi iriri pẹlu awọn onimọ jẹ nipataki pẹlu Cisco ati MikroTik – and my experience with QoS is primarily with Ẹ pín ká NetEnforcer / NetXplorer awọn ọna šiše ati MikroTik. Awọn julọ gbajumo MikroTik awọn ẹrọ ninu mi iriri (miiran ju wọn ifiṣootọ gun-ibiti o ẹrọ alailowaya) ti wọn rb750 (titun ti ikede a npè ni “hex“) ati rb950-orisun lọọgan. Won ni ọpọlọpọ awọn miran available and are relatively inexpensive. In historical comparison with Cisco’s premium devices, Mo ti sọ awọn mọlẹbi lati se apejuwe MikroTik ká ẹrọ bi “90% awọn ẹya ara ẹrọ ni 10% awọn iye owo”. Bi yi guide ti wa ni Eleto nipataki ni SME / Home lilo, inexpensive makes more sense. If you’re looking at getting a MikroTik device, akiyesi pe MikroTik awọn onimọ ṣe ko typically include DSL modems, bayi rẹ tẹlẹ itanna ni ojo melo si tun pataki. Akiyesi tun ti ni yi ko a tutorial lori eto soke a MikroTik ẹrọ kan lati ibere. Nibẹ ni o wa opolopo ti itọsọna wa online fun awọn ti o tẹlẹ.

Yii sinu iwa – akọkọ awọn igbesẹ

Lati ṣeto soke QoS ti tọ, you need to have an idea of a policy that takes into account the following:

  • The ìwò iyara asopọ
  • Bawo ni ọpọlọpọ awọn olumulo / awọn ẹrọ yoo ti wa ni lilo awọn asopọ
  • The users/devices/services/protocols that should be prioritised for latency and/or throughput

Lati se aseyori awọn loke ni mi apeere, Mo ti yoo ro awọn wọnyi:

  • The MikroTik ti wa ni ṣeto soke pẹlu awọn aiyipada nẹtiwọki iṣeto ni agbegbe ibi ti awọn nẹtiwọki wa ni 192.168.88.0/24 ati awọn asopọ ti wa ni Internet pese nipasẹ PPPoE.
  • Awọn asopọ iyara jẹ 10 / 2Mbps (10 Mbps download iyara; 2 Mbps po si iyara)
  • O maa wa nibe 5 awọn olumulo pẹlu bi ọpọlọpọ bi 15 awọn ẹrọ (ọpọ awọn kọmputa / wàláà / mobile foonu / WiFi ati be be lo)
  • Aṣoju awọn gbigba lati ayelujara beere ga ni ayo pẹlu losi sugbon kekere ni ayo-pẹlu lairi
  • Gaming/Skype/Administrative protocols require high priority with both latency and throughput
  • Ko si olumulo ni o wa lati wa ni prioritized lori awọn miran

The first and probably quickest step is to set up what RouterOS refers to as a Simple isinyin.

Mo ti sọ ṣe kukuru a akosile ti mo ti fipamọ lori mi MikroTik awọn ẹrọ lati ṣeto soke ni o rọrun queues. O ti wa ni bi wọnyi:

:fun x lati 1 si 254 ṣe ={
 /isinyi o rọrun Fikun orukọ ="-ayelujara usage- $ x" DST ="pppoe" Max-iye = 1900k / 9500k afojusun ="192.168.88.$x"
}

Ohun ti awọn loke ṣe ni iye awọn ti o pọju iyara eyikeyi kọọkan ẹrọ le lo lati “1900k” (1.9Mb) po ati “9500k” (9.5Mb) download.

Awọn akọsilẹ:

  • Awọn idi idi ti awọn Max ifilelẹ lọ ni o wa ni 95% of the line’s maximum speed is that this guarantees no single device can fully starve the connection, negatively affecting the other users. With a larger userbase I would enforce this limit further. Fun apere, pẹlu 100 awọn olumulo lori a 20Mb iṣẹ ti mo le ṣeto yi iye to si 15Mb tabi koda bi kekere bi 1MB. Eleyi ni o šee igbọkanle ti o gbẹkẹle lori bi “meedogbon” awọn olumulo ni o wa ati, bi o ba ro ero jade ibi ti ati bi Elo abuse waye, you can adjust it appropriately.
  • The ìpele “-ayelujara lilo” ni awọn orukọ igbeseô le wa ni ti adani. Ojo melo ni mo ṣeto awọn wọnyi lati tọka si awọn agbegbe ile orukọ. Fun apere, with premises named “Alpha” ati “Beta”, Mo ti yoo ojo melo fi “-Alpha ayelujara” ati “-ayelujara Beta”. Eleyi iranlọwọ pẹlu instinctively differentiating laarin awọn ojula.
  • The DST igbeseô ni o ni “pppoe” ninu awọn apẹẹrẹ. Eleyi yẹ ki o wa ni iparo pẹlu awọn orukọ ti awọn ni wiwo that provides the Internet connection.

Rii daju ti o ṣe awọn akosile lati jẹ yẹ lati rẹ iṣeto ni. Fi awọn akosile lati awọn MikroTik ati ṣiṣe awọn ti o – tabi lẹẹmọ o taara sinu awọn MikroTik ká ebute lati ìdájọ o.

In my next post I will go over setting up what RouterOS refers to as Mangle ofin. Awọn wọnyi ofin sin lati da / lẹtọ awọn nẹtiwọki ijabọ ni ibere lati ṣe finer-grained QoS ṣee.

Share
Category: random
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Leave a Reply » Log in