Hi
i trying to send all traffic from host 192.168.11.100 to a specific gateway
here is what i did:
# created specific table
/routing table add disabled=no fib name=VersOrange
# created a routing to specific carrier for this table
/ip route add distance=1 dst-address=0.0.0.0/0 gateway=pppoe-orange routing-table=VersOrange scope=30 suppress-hw-offload=no target-scope=10
# Added mark for packets coming from the carrier
/ip firewall mangle add action=mark-connection chain=prerouting connection-mark=no-mark in-interface=pppoe-orange new-connection-mark=Orange-conn
# marking connection from the specific host
/ip firewall mangle add action=mark-connection chain=prerouting dst-address-type=!local in-interface=bridge new-connection-mark=Orange-conn passthrough=yes src-address=192.168.11.100
# Marking packets When they have a specific connection mark
/ip firewall mangle add action=mark-routing chain=prerouting connection-mark=Orange-conn in-interface=bridge new-routing-mark=VersOrange passthrough=yes
When i check, i see that packets from the host seems to go through the correct gateway.
but the performance is absolutely awfull: for example, doing a iperf from the host give 410 Kb/s. (this is a gigabyte optical fiber)
what do i miss ?
that seems logic after all.
so, if we want to use multiple routes tables with different route policy, we have to add the local network in all tables ?
or is it because i made something unusuall ?
what is the good practice for this kind of scenario ?