mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: miquels@cistron-office.nl (Miquel van Smoorenburg)
To: linux-kernel@vger.kernel.org
Subject: Re: Default outgoing IP address?
Date: Mon, 26 Nov 2001 22:32:56 +0000 (UTC)	[thread overview]
Message-ID: <9tufuo$ahr$3@ncc1701.cistron.net> (raw)
In-Reply-To: <Pine.LNX.4.40.0111261612390.15983-100000@waste.org>

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.


  reply	other threads:[~2001-11-26 22:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-26 22:18 Oliver Xymoron
2001-11-26 22:32 ` Miquel van Smoorenburg [this message]
2001-11-27 20:24 ` Bill Davidsen
2001-11-27 20:41   ` Oliver Xymoron
2001-11-27 22:41     ` Peter Svensson
2001-11-27 22:51       ` Oliver Xymoron
2001-12-09 23:13   ` Matthew G. Marsh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='9tufuo$ahr$3@ncc1701.cistron.net' \
    --to=miquels@cistron-office.nl \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®