Computer 1 and 2 use internet gateway 1, computer 3 uses internet gateway 2.
All works nice, until I try to set up traffic shaping.
For computer 3 all works nice, cause I can put the wifi interface as a queue tree parent.
For computers 1-2 it gets messy, I can’t put an interface as a parent cause the net router is connected over the switch (MT has only one ethernet card), so I put global-in and global-out as parents.
What happens is (I think) MT can’t figure what direction the traffic is going and in the UL queue counts both UL and DL (as they are on the same interface).
I recommend you do some change the diagram like connect the gateway2 to the Ether2 of the MKT and only connect the MKT and the Computers to switch.
this help you to get a best controll from the mikrotik because you can redirect the traffic to the correct gateway and do the rules like queues, bandwith control.
Hi everyone ;
mushmx , i am not agree with you . he say the MT have only one ethernet card .
zombie , what you said that pc 1 & 2 use gateway1 so how the MT will manage them ??? , you need to give all pc’s ip to the MT and not to the GW directly as i will write below .
what you want is a traffic shaping by using MT .
what you need to do is :
1 . put both gateway1 & 2 to enter the MT and as you have currently the gateway 1 use cable and gateway2 use wireless .
2. you need to define the wireless interface of the MT with ip and let’s say xxx.xxx.xxx.xxx which it should be with the same ip range of the gateway 2 .
3. you need to define two ip’s to the ethernet card of the MT , first ip like yyy.yyy.yyy.yyy which it sould be with the same ip range of gateway 1 and the second ip like 192.168.1.1 which will be used by the pc’s .
here you will connect the pc’s , gateway1 and MT to the switch .and form these ip’s all pc’s will follow MT .
you need to mark the paket coming from each group and then mark the route for each one to one of your gateways .by using static routes .
here your MT will work as manual load balance engine between two gateways and you could do the queue as you wish , i am have very simple ideas about traffic shaping which i will read about soon .
also i advice you to go to the link below which it givin to me by Galaxynet and it helped me alot with load balance http://wiki.mikrotik.com/wiki/Load_Balancing_Persistent
if you need further help write again in this helpful forum and you will get it .
with best regards .