good evening
i have 2 wireless networks at the same interface (6.6.6.0/26;9.9.9.0/26)
i want to make this gateway (192.168.3.x) for the net work (6.6.6.0/26)
and other gateway like l2tp for the (9.9.9.0/26)
How can I do that
![]()
thank you
Hi
You can use policy based routing for this purpose.
/ip firewall mangle
add src-address=9.9.9.0/26 action=mark-routing new-routing-mark=lan2
/ip route
add gateway=192.168.3.x
add gateway=l2tp-out1 routing-mark=lan2
You shouldn’t be using public ip ranges as internal network addresses.