phanisvara das wrote:
On Sun, 26 Feb 2012 20:21:06 +0530, James Knott firstname.lastname@example.org wrote:
Per Jessen wrote:
Yep, I have a number of servers in just such a setup - each server has two possible outbound paths, but the kernel cannot know which one is actually available, so I control that manually (scripted). (three options: left is up, right is up, both are up).
When both are up, how do you select? Are both on the same ISP? If not, you have to use some method to determine which becomes the default route. It is possible in Linux to have two or more ISPs and then a TCP connection uses one or the other for the duration of the connection. But again, there has to be some mechanism to chose a default route.
yes, i wasn't commenting on the no. of possible default routes (i've got only one at a time), but on the no. of routing tables in use.
i _think_ i could have one default route / table (not sure), but while this might be possible according to the ip command, it wouldn't make logical sense.
It does make sense - you will only have one active routing table per package, without a default route any traffic with external destination won't go anywhere.