Hi,
I am facing some strange problem with multipath routing.
I have set up a rule stating that any packets coming from a certain ip
address <192.168.52.66> should use an interface < eth1>
For this, I used the following commands
/ip rule add from 192.168.52.66 table 200
ip route add default table 200 via 192.168.19.76 dev eth1/
Here 192.168.19.76 is eth1''s gateway.
This is how my rule structure looks
/0: from all lookup local
49: from 192.168.52.66 lookup 200
50: from all lookup main
222: from all lookup 222
32766: from all lookup main
32767: from all lookup 253/
However this is not working, I have packets still going out through the
other interface when sent from 192.168.51.66.
This is how my default table (222) looks
/default proto static
nexthop via 192.168.19.76 dev eth1 weight 1
nexthop via 192.168.20.25 dev eth2 weight 1
/
I dont have a default route in the main or local table.
Is there something that I am missing to get the static rule working?
Thanks and Regards,
Vinod C