How to make the router choose between two routes to the same net.
I got two Linux-routers for routing between two nets.
Both got two links to each other. One is a wifi-connection, the other is Ethernet.
I want to set it up so it got two routes between the nets, one for each link.
How can I make the router use the link that got its cable connected?
When I add both routes with the "route add -net" command it only tries the first one in the routing table, and gives up if the cable for the first interface is not connected, and doesn't try the other route to the same net.
Hope this is understandable, and answerable :)