msty19
1
i need help
i have;
wan1= statics ip 192.168.0.1
wan2= statics ip 192.168.1.1
lan1=statics ip 10.10.10.1
lan2=statics ip 10.0.0.1
i need route wan1-lan1 and wan2-lan2
i dont need load balance or fail-over.
Please help me have can i do it.
Thanks
Use Mark Routing.
IP >Firewall>Mangle and add 2 rules.
chain=prerouting action=mark-routing new-routing-mark=LAN1 Clients
passthrough=no src-address=10.10.10.1
chain=prerouting action=mark-routing new-routing-mark=LAN2 Clients
passthrough=no src-address=10.0.0.1
Now got to IP>Route
Add destination=0.0.0.0/0 gateway=192.168.0.1 check-gateway=ping distance=1 Routing-Mark=LAN1 Clients;
Add destination=0.0.0.0/0 gateway=192.168.1.1 check-gateway=ping distance=1 Routing-Mark=LAN2 Clients
also add default route:
add destination=0.0.0.0/0 gateway=Your preferable gateway.
Cheers !!
Best Regards,
Rigan
MCSA,ITILV3F
msty19
3
msty19
4
i made your suggestion but dont work correctly screenshot are below what is the problem

Feklar
5
Mark-routing rules sometimes need to be narrowed down for them to work properly, include the in-interface and it should start to work.
msty19
6
i cant understand help me please!!!
msty19
7
Do not have no one to help?