lkml.org 
[lkml]   [2001]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Default outgoing IP address?
Date
In article <Pine.LNX.4.40.0111261612390.15983-100000@waste.org>,
Oliver Xymoron <oxymoron@waste.org> wrote:
>On a machine with multiple interfaces, is it possible to set the default
>outgoing IP address to something other than the address for the interface
>on the outgoing route?

ip route add default via IP.OF.GATE.WAY dev DEVICE src SOURCE.IP.ADDR.ESS

Mike.
--
"Only two things are infinite, the universe and human stupidity,
and I'm not sure about the former" -- Albert Einstein.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:18    [W:0.068 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site