2 pppoes, same isp, same gateway route

Hi,

we currently have 2 ADSL lines, BOTH being provided by the SAME ISP

i have setup 2 PPPOE sessions, 1 down LAN1, and 1 down LAN2

the customer currently is experenses slow internet and sometimes no internet at all !?

i have noticed in the routes table that the gateway ip thts given by our ISP is listed for both interfaces !?

my idea was 1 line for voip, 1 line for pc
when pc line goes off, it falls over to voip
and when voip line goes off, it falls over to pc

is it because the gateway is on both interfaces the traffic isnt being directed out the correct interface properly?

any help would be much thankful :slight_smile:

Regards

Simon
routes.jpg

Route your gateway to the interface, no the IP.

/ip route add dst-address=0.0.0.0/0 gateway=interface instead of /ip route add dst-address=0.0.0.0/0 gateway=1.1.1.1

The remote (gateway) IP address is then irrelavant, so doesn’t matter if it’s the same or not.

HI, sorry for late reply… i have already done that!? and it still doesnt seem to work…
as you can see from the pic ive put the gateway as the interface and im not using a gateway address as its Dyncamic from our ISP and not set manually…

i have managed to get it working correctly tho :slight_smile:

i put a mangle rule in the input so anything coming in interface pppoe-pc it puts a connection-mark as pc-in
then a mangle rule on the output so anything with connection-mark as pc-in you then put a route-mark on as VOIP
so it then goes back out of the voip-pppoe

and it all seems to work correctly :smiley: