Thursday, September 17th, 2015 | Author:
  • Part 1 – Kupu Whakataki – Te whakatu rārangi Simple (Tenei pou)
  • Part 2 – Reliably tāutu i waka – Whakatatūria ake ana Mangle Ture (Haere mai i maoro TM)
  • Part 3 – Kaupapa Motuhake me Tepe – Te whakatu Trees Tūtira (Haere mai i maoro TM)
  • Part 4 – Monitoring Usage – Redefining rārangi – Limiting Abusive Devices (Haere mai i maoro TM)
  • Part 5 – ??? Profit ???

Kupu Whakataki

The first problem one usually comes across after being tasked with improving an Internet connection is that the connection is overutilised. Tikanga tangata e mohio he aha, nei, ranei te mea kei te meinga te raruraru – except of course everyone blames the ISP. I te tahi taime te reira i te ISP – but typically you can’t prove that without having an alternative connection immediately available. I currently manage or help manage four “pae / whare” e whakamahi QoS ki te whakahaere i to ratou hononga Ipurangi. Ko tētahi ko toku wāhi mahi, two are home connections, and the last one is a slightly variable one – te tikanga noa i te hononga te kāinga, engari i ētahi wā, for a weekend every few months, it becomes a 140-tangata (me te tipu) LAN. Fun. 🙂

MikroTik RouterOS me

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, pērā i DD-WRT, Smoothwall, Untangle, a na atu. Te nuinga o enei te nuinga e rapu e whai koe i te tūmau e manawapa takoto e pā ana ki ranei he pouara pūmārō hototahi. Mikrotik hokona RouterBoards e whai RouterOS builtin – a ko ratou āhua ngāwari.

Toku wheako ki te pouara he matua ki Cisco ko MikroTik – and my experience with QoS is primarily with A wehewehea NetEnforcer / NetXplorer pūnaha me MikroTik. Ko te tino rongonui whakaaro MikroTik i roto i toku wheako (i tua atu i to ratou roa-whānui pūrere ahokore i whakatapua) kua ratou rb750 (putanga hou ingoa “hex“) me te rb950-hāngai papa. E ratou maha ētahi atu available and are relatively inexpensive. In historical comparison with Cisco’s premium devices, Kua whangai ahau ki te whakaahua whakaaro o MikroTik rite “90% te āhuatanga i 10% te utu”. Ka rite ki hāngai ana tēnei aratohu kei te matua i SME / whakamahi Kāinga, inexpensive makes more sense. If you’re looking at getting a MikroTik device, mōhio e te mahi MikroTik pouara kore typically include DSL modems, ko te kupu ko te nuinga tonu koutou taputapu ngā tika. Kia mōhio hoki ko tenei kore he akoranga i runga i te whakatakoto ake i te pūrere MikroTik i te wahanga. He nui o nga kaiarahi e wātea ana ipurangi hoki e kua he.

Theory ki mahi – kaupae tuatahi

Hei whakaturia ake QoS tika, you need to have an idea of a policy that takes into account the following:

  • Ko te tere o te tūhononga whānui
  • Hia kaiwhakamahi / e whakaaro mā te whakamahi i te hononga
  • The users/devices/services/protocols that should be prioritised for latency and/or throughput

Ki te whakatutuki i te i runga ake i roto i toku tauira, Ka amo ahau te whai ake:

  • Whakaturia te MikroTik ake ki te whirihoranga whatunga taunoa te wahi i te whatunga rohe ko 192.168.88.0/24 ka whakaratohia te hononga Ipurangi kei mā KPPiI.
  • Ko te tere hononga ko 10 / 2Mbps (10 Mpiah tere download; 2 Mpiah tere tukuake)
  • He ka 5 kaiwhakamahi ki te hunga i rite 15 pūrere (rorohiko maha / papa / waea pūkoro / WiFi aha)
  • Tikiake angamaheni rapua e tiketike matua ki te puta engari iti-matua ki te torohūtanga
  • Gaming/Skype/Administrative protocols require high priority with both latency and throughput
  • No kaiwhakamahi e ki kia matua i runga i ētahi atu

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

Kua hanga e ahau he hōtuhi poto e kua ora ahau i runga i toku whakaaro MikroTik ki te whakaturia ake nga rārangi māmā. Ko reira e whai ake:

:no te x i 1 ki 254 ta koutou e mea ={
 /tūtira ingoa tāpiri ohie ="ipurangi-usage- $ x" dst ="KPPiI" max-rohe = 1900k / 9500k ūnga ="192.168.88.$x"
}

Ko e hā te runga e rohe ki te tere mōrahi e taea e tetahi pūrere takitahi whakamahi ki “1900k” (1.9Mb) tukuatu a “9500k” (9.5Mb) download.

Tuhipoka:

  • Ko te take he aha e nga rohe max i 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. No te tauira, ki te 100 kaiwhakamahi ai whakaturia i runga i te ratonga 20MP ahau tenei rohe ki 15Mb ranei ara rite iti rite 1Mb. Ko te ti'aturi i runga pehea tenei “taunu” nga kaiwhakamahi e me, rite feruri e koe i roto i te wahi a pēhea te puta nui tūkino, you can adjust it appropriately.
  • Ko te kuhimua “ipurangi-whakamahinga” i roto i te tawhā ingoa taea te whakarite. Tikanga whakaturia e ahau enei ki tirohia ki te ingoa whare. No te tauira, with premises named “ārepa” me te “peta”, Te tikanga ka hoatu e ahau “ipurangi-Arepa” me te “ipurangi-peta”. E āwhina ana tēnei ki maoritia ana differentiating i waenganui i ngā pae.
  • Ko te tawhā dst nei “KPPiI” i roto i te tauira. Kia whakakapia ki te ingoa o te tenei atanga that provides the Internet connection.

Me whakarite whakarite koe i te hōtuhi kia kia tika ki tou whirihoranga. Whakaorangia te hōtuhi ki te MikroTik me rere i te reira – whakapiri tika ranei te reira ki kāpeka o te MikroTik ki te mahia te reira.

In my next post I will go over setting up what RouterOS refers to as Mangle ture. Mahi ēnei ture ki te tautuhi i / whakarōpū i te waka whatunga roto i te tikanga ki te hanga QoS kaitahi-baked taea.

Share
Category: tupurangi
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, ranei trackback from your own site.
Leave a Reply » Takiuru i roto i