All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Frazer <mark@somanetworks.com>
To: Tomas Szepe <szepe@pinerecords.com>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: [OT] ipv4: how to choose src ip?
Date: Fri, 6 Dec 2002 10:27:40 -0500	[thread overview]
Message-ID: <20021206102740.A29099@somanetworks.com> (raw)
In-Reply-To: <20021205190054.GE23877@louise.pinerecords.com>; from szepe@pinerecords.com on Thu, Dec 05, 2002 at 08:00:54PM +0100

Tomas Szepe <szepe@pinerecords.com> [02/12/05 14:08]:
> 
> What I'm looking for is rather a way to
> initiate two connections to the same destination host using the two
> different source IP addresses.

I believe you can just bind(2) each socket to a different address
before connect(2).


-- 
Fry, of all the friends I've had ... you're the first. - Bender

      parent reply	other threads:[~2002-12-06 15:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-05 19:00 [OT] ipv4: how to choose src ip? Tomas Szepe
2002-12-05 20:37 ` Richard B. Johnson
2002-12-05 20:56   ` Brad Hards
2002-12-05 21:38   ` Tomas Szepe
2002-12-06  4:25   ` Ben Greear
2002-12-06  9:06     ` Andrew McGregor
2002-12-06 15:13   ` Richard B. Johnson
2002-12-05 20:58 ` Willy Tarreau
2002-12-05 21:39   ` Tomas Szepe
2002-12-06 15:27 ` Mark Frazer [this message]

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=20021206102740.A29099@somanetworks.com \
    --to=mark@somanetworks.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=szepe@pinerecords.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.