2 adsl lines need to switch

Hi all if got two adsl lines that i am using for supplying internet

my qusteion is : the router on line one is set up with my ppoe conection to my isp
the second router as wel ( difrent isp )

on the mikrotik pc ther is a manual route pute in to route inter net to route A
when i pute in manual router for router B tel me tels me unknown

0.0.0.0/0 Gateway 192.168.0.1 Router a
0.0.0.0/0 gateway 192.168.1.1 unknown

if tride wiki http://wiki.mikrotik.com/wiki/Two_gateways_failover
but as soon as i inable it router a gose to unknown and all traffic gose to router b

ver 2.9.46 i am using at the moment
any idees please

or wil it be beater to run the ppoe from the mikrotik ?

regards

vincent

NOOBY

Hi!


I think you should have one IP in your mikrotik in 192.168.0.x and one more ir 192.168.1.x to do this. If you dont have this, you can put the 2 routers in 192.168.1.1 and 192.168.1.2 & your mikrotik in 192.168.1.3, for example.


Martín.

HI Martín.

this is the setup at moment
Router A

ISP> < ADSL ROUTER WITH CONNETION PASWORD ON IT gateway ip 192.168.1.1> < MIKROTIK 0.0.0.0/0 Gateway 192.168.1.1

Router B
ISP> < ADSL ROUTER WITH CONNETION PASWORD ON IT gateway ip 192.168.0.1> < MIKROTIK 0.0.0.0/0 Gateway 192.168.0.1

Thees two one mikrotik board

so if i ander stand corecly i must put in both router on same network ip wat wil my gateway be then?

Hi,

2 router and the mikrotik in 192.168.0.x, for example. or in 192.168.1.x

hi
ok so both adsl router ar on one network so how do i route the gateways for one wil be 192.168.1.1 router A 192.168.1.2 router be and mikrotik wil be 192.168.1.3 wil the gateway be 192.168.1.3

0.0.0.0/0 gateway 192.168.1.3


if this is write how do i know where what is going on with adsl router

thanks

vincent

Hi,


RouterA: 192.168.1.1
RouterB: 192.168.1.2
Mikrotik: 192.168.1.3

Config in routers: PPPoE
Configuration in mikrotik:

/ip route add gateway=192.168.1.1 check-gateway=ping
/ip route add gateway=192.168.1.2 distance=2


Your LAN PCs with gateway 192.168.1.3

This is for making failover. If your routerA do not have any problem, your routerB won’t work never.

If you need to make loadbalancing you can read Mangle & NTH. This marks your packets with routerA or routerB and send 50% packets to each router.



Regards,
Martín.

hi

thanks that wil do

i understand thanks for jour help


vincent

hi
did try it but it did not work if i switch off the power of the adslrouter then it works

any but the power will be on the router the hole time it is the asdl line that drops a way

so any other idees