I´m trying to route from a specific src IP address
to a new network interface, but it´s not working
First, I tried to use iptables commands, my first thought was like this:
iptables -t nat -A PREROUTING 1 -i eth0 -s <src> -d <dst> -j DNAT --to <interface>
but that command is not available, I just can give IP addresses after the --to argument.
Furthermore, I think iptables is too 'high-level' for this task (?).
I tried to use ip route commands, but that seems to be too low-level and used to route between interfaces etc..
But I have to route dependent on a src IP address to an interface.
Can anyone give me a hint and tell me how to solve this problem?