I have a system with two interfaces. Both interfaces are connected to the internet.
One of them is set as the default route. A side effect of this is that if a packet comes in on the non-default-route interface,
the reply is sent back through the default route interface. But i want to send it back to the incomming interface.
My Problem is, one of these interfaces is behind a router in a subnet and the router ist forwarding incomming packages to this interface.
Now, i will answer to the the same interface, but RTCS can't reach/find the incomming ip-adress and try to send it back to the defaultgateway(other interface).
Is it possible to create for each interface an extra routingtable(ipradix) or is there an simpler way to realise this problem?
I hope somebody can help me.