Re: Default outgoing IP address?

From: Miquel van Smoorenburg (miquels@cistron-office.nl)
Date: Mon Nov 26 2001 - 17:32:56 EST


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/



This archive was generated by hypermail 2b29 : Fri Nov 30 2001 - 21:00:24 EST