Community discussions

MikroTik App
just joined
Topic Author
Posts: 3
Joined: Mon Dec 02, 2019 10:43 am

How to Route PPPoE secrets to use certain WAN?

Wed Dec 04, 2019 6:11 pm

Hi everyone,
I have Mikrotik Router with 2 WAN ports as ISP and 1 LAN port set as PPPoE server.
I'm trying to route the PPPoE profiles with range into groups to use certain WAN to reduce the load.
Users IP and use WAN1
and Users IP, use WAN2

How Is it possible? since currently using only WAN1

I want to do this because i tried Load Balancing but it led to users keep switching between the 2 ISP that led to unstable service.
You do not have the required permissions to view the files attached to this post.
Forum Guru
Forum Guru
Posts: 6935
Joined: Mon Dec 04, 2017 9:19 pm

Re: How to Route PPPoE secrets to use certain WAN?

Thu Dec 05, 2019 8:35 am

Search for policy routing. Instead of load sharing, you assign a routing-mark (choose a routing table) based on source subnet (which allows to do so using /ip route rule), or based on src-address-list (which requires to use a mangle rule to assign the routing-mark but gives you flexibility, as you can add each user's IP address into a chosen address-list by means of /ppp profile used by the /ppp secret.
Instead of writing novels, post /export hide-sensitive. Use find&replace in your favourite text editor to systematically replace all occurrences of each public IP address potentially identifying you by a distinctive pattern such as my.public.ip.1.

Who is online

Users browsing this forum: accarda, aliboy, rockyinc and 182 guests