I have two private networks say: 10.0.1.0/8 and 192.168.0.0/24
I have two machines with two NICs per each machine.
machine1 NIC1: 192.168.0.10
machine1 NIC2: 10.0.1.10
machine2 NIC1: 192.168.0.11
machine2 NIC2: 10.0.1.11
How to configure the routing so that from machine1 to machine2, it would use actually machine1 NIC2?
The thing is that 10.0.1.0 network is Gigabit and 192 one is Fast Ethernet (100Mbit).
My goal is to communicate between those two through the fastest connection (i.e: NIC2) even if they are trying to access by NIC1's IP.