Results 1 to 3 of 3
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-10-2008 #1Just Joined!
- Join Date
- Sep 2008
- Posts
- 1
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
- 09-10-2008 #2Just Joined!
- Join Date
- Aug 2008
- Posts
- 10
Did you try adding both the route to the router as default using route add-net.
- 09-11-2008 #3
What is the output of:
Code:/sbin/route -n


Reply With Quote
