Share bandwidth between home, office and neighbour

Hi all,

This is my configuration…

I am using a RB750

Ether1 is called Internet and is connected to a 512K/256K ADSL internet connection
Ether2 is called Schurtek and is connected to my office (at home)
Ether3 is called 26Poplar and is connected to my home network
Ether4 is called Voip and is connected to my office voip system
Ether5 is called Kobus and is connected to my neighbour via 2x Nanostations

Internet
I am connected to the internet through a business DSL solution that provides 5 IP addresses. Let’s call them a.b.c.234-238. I have assigned a.b.c.234 to this port. My gateway is a.b.c.233.

Schurtek/26Poplar/Kobus
I require a max speed of 256k down and 128k up for each device on each interface.

Gateways/Interface IPs
Schurtek: 192.168.50.254
26Poplar: 192.168.10.254
Kobus: 192.168.100.254

The first Nanostation on Kobus is IP 192.168.100.253. The last Nanostation on Kobus is IP 192.168.100.200 and is configured as a router. That last Nanostation is then setup to assign IP addresses to the five PCs on his network. I do understand that this means all five PCs will be seen as one device, but I need to do this, as his kids rape my connection and leave me with nothing.

Kobus likes to play online games. The speed has not been an issue, but Ping and Lost Packets is an issue. So I need to ensure that no packets are dropped.

On the Schurtek network, I have one PC, but will be adding more as my business grows.

On the 26Poplar Network I have two PCs, the home PC and the Home Theatre PC. Not much is done on these PCs except a bit of surfing on facebook and imdb.com as well as email.

I do download a lot of torrents. But I want non p2p traffic given a priority over p2p traffic. (Is it possible to make gaming traffic get priority over everything else - i doubt it as each game is different).

Voip
This interface has the IP address a.b.c.235 and is connected to a Sip Device that has IP address a.b.c.238. Only two calls can be made at a time on this device. I do require that this device be given the utmost dedication when in use. No dropped packets… priority over everything that exists on the network.



So here is the priority order:

  1. Voip
  2. non-p2p
  3. p2p



    I have got Schurtek and Kobus running with 256k/128k and no packet loss, but it’s a bit dirty. If you need any of my current settings, tell me what to type in SSH and I will dump the output here… (will edit out public IPs as I am tired of having my Router Hacked!!!).


    Thanks all…

did you read this http://wiki.mikrotik.com/wiki/Bandwidth_Managment_and_Queues

Have’nt read that yet, but have read several dozen other docs about the topic, and currently running a config based on one such document, but it’s still not 100% right.

Torrents often don’t want to work at all. Upload is fine, but download is non existent. Turn off all the queues and packet marking and suddenly torrents work.

Voip is still not getting top priority.

I find the Wiki doesn’t go into enough detail explaining things.

I never got the opportunity to do the Mikrotik training as when ever the opportunity comes up, I am broke and can’t pay for it. Then when I have the cash flow, there is no training for months and months.

I am self taught from reading the wiki and these forums.