zrod
1
Hello,
I have 2 ISP connected to my router
One of them (ISP2) is establishing a direct link The ip provided is : 10.10.15.2, Gateway 10.10.15.1
The ISP is asking me to send traffic to 192.168.14.1 throught this Connection.
I need to setup routing in a way that all traffic from lan to 192.168,14.1 goes through this connection.
Any help.
Rodrigue
This route for showing router where is 192.168.14.1
/ ip route add distance=1 dst-address=192.168.14.0/24 gateway=10.10.15.1
and this route for send all internet traffic to default gateway 192.168.14.1
/ ip route add distance=1 dst-address=0.0.0.0/0 gateway=192.168.14.1
zrod
3
Thank you for your support,
however i need add a rule to forward ‘ONLY’ traffic that have a destination 192.268.14.0 to trough 10.10.15.1
Thank you
Sob
4
If you already have route to ISP2 with routing-mark=, then mark routing:
/ip firewall mangle
add action=mark-routing chain=prerouting dst-address=192.168.14.1 in-interface=<LAN> \
new-routing-mark=<ISP2 mark> passthrough=yes
Or you can send it there directly:
/ip firewall mangle
add action=route chain=prerouting dst-address=192.168.14.1 in-interface=<LAN> \
passthrough=yes route-dst=10.10.15.1