I am on ROS 6.49.5 and I have 2 IP address on LAN interface. I can see a dynamic route created in IP/Routes with one of my IPs as pref. source address. I would like to strictly change that pref. source IP to exactly one of that two defined on the interface. So I put this in Routing/Filters:
/routing filter
add chain=dynamic-in comment="set pref source to 192.168.41.1" pref-src=\
192.168.40.1 set-pref-src=192.168.41.1
"192.168.40.1" is a "matcher", so I expected whenever is found route with pref. source "192.168.40.1", then it should be changed to "192.168.41.1" (which is the second IP defined on the interface).
BUT is seems that my settings does not work, nothing happen with the route...I still can see the pref. source set to 192.168.40.1. The only way to change it is to disable/enable IP 192.168.40.1 on interface. Any idea what I am doing wrong?
Thanks!