Hi,
My Network
1 LAN (pppoe) = 3 WAN (ADSL)
WAN-1 (192.168.10.254)
WAN-2 (192.168.20.254)
WAN-3 (192.168.30.254)
1 LAN (PPPoE) with 3 different IP range (192.168.1.0, 192.168.2.0, 192.168.3.0)
Group-A clients with IP range 192.168.1.0, route gateway WAN-1
Group-B clients with IP range 192.168.2.0, route gateway WAN-2
Group-C clients with IP range 192.168.3.0, route gateway WAN-3
My configuration is,
/ip firewall mangle
add action=mark-routing chain=prerouting comment=WAN-1 disabled=no
new-routing-mark=Link-10.254 passthrough=no src-address=192.168.1.0/24
add action=mark-routing chain=prerouting comment=WAN-2 disabled=no
new-routing-mark=Link-20.254 passthrough=no src-address=192.168.2.0/24
add action=mark-routing chain=prerouting comment=WAN-3 disabled=no
new-routing-mark=Link-30.254 passthrough=no src-address=192.168.3.0/24
/ip route
add check-gateway=ping comment=“” disabled=no distance=1 dst-address=
0.0.0.0/0 gateway=192.168.10.254 scope=30 target-scope=10
add comment=“” disabled=no distance=1 dst-address=0.0.0.0/0 gateway=
192.168.20.254 routing-mark=Link-10.254 scope=30 target-scope=10
add comment=“” disabled=no distance=1 dst-address=0.0.0.0/0 gateway=
192.168.30.254 routing-mark=Link-20.254 scope=30 target-scope=10
add comment=“” disabled=no distance=1 dst-address=0.0.0.0/0 gateway=
192.168.10.254 routing-mark=Link-30.254 scope=30 target-scope=10
Everything is working fine, but some times in one network/gateway have 200 client or other network/gateway 100 or third network/gateway just 50 clients
That is possible PPPoE server dynamically assigns 3 different IP-Network to clients randomly on 33% basis, same like manual
Example I create 3 IP Pools
Pool-1 192.168.1.0
Pool-2 192.168.2.0
Pool-3 192.168.3.0
And pppoe server assigns IP-Pools randomly to my clients, 33% clients to each Gateway
That is possible?