can I do this in mikrotik?
Yes. it’s possible but it doesn’t work right now with Mikrotik - I’ve tried to use versions from 2.8-2.9.40 as a load balancer - it worked but connection have been dropped until few minutes and doesn’t balance traffic correctly. It’s strange cause regular Linux with patches and all additional features balance traffic exacly in the right way (no drops, no hungs). I use NND Linux as load balancer (nnd.freesco.pl - it’s in polish) and it works perfect (kernel is already compiled with necessary patches.
I guess you have one gateway but two different IPs to balance? This is a problem cause (i guess) Linux Kernel doesn’t accept same gateway on the different interfaces. I’ve never resolved problem to do this on one router, but there is a hack. Just use simple two SOHO routers (with NAT) and load balancer.
It looks like that :
GATEWAY
/ \
/ \
Rout. NAT Router. NAT
\ /
\ /
LOAD BALANCER
|
|
|
Now you have different networks and different gateways and it should works fine.
You can use DMZ on SOHO router to expose your main router to the Internet.
Aha!
I know what you mean!
thank you! i will try that way!
- Agus
In RouterOS V 3.x you CAN do this without the need for the additional two routers. RouterOS 3.x does provide a feature called “interface based routing”. This enables you to use more than one pppoe uplink where every pppoe uplink has the same gateway ip address.
Best regards,
Christian Meis
Is the “interface based routing” already in the beta? Running beta9 on a test box and beta10 on a rb133c, but couldn’t find anything. I have 5 adsl lines and all of then gets the same gateway, thus it will help me greatly. At the moment each line is on a diffrent router.
It’s in there since at least beta 7 or so.
You cannot configure it via WinBox right now (I think), but via command line:
/ip route add dst-address=0.0.0.0/0 gateway=pppoe-out1
So just give the name of the ppp interface as gateway.
Best regards,
Christian Meis
Thanks alot, will try that. Will make my life much easier.
Of course theree could be a different way to solve the problem
I should try the latest RouterOs 3.0 Beta
I used to make everything @ Linux than MT.
I have tried to test
but ,if there have two connect of the same gateway
one of them isn’t active
please help me