The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Andi Kleen <ak@muc.de>
To: Mark Frazer <mark@somanetworks.com>
Cc: davem@redhat.com, ak@muc.de, kuznet@ms2.inr.ac.ru,
	netdev@oss.sgi.com, Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: [RFC][PATCH] new sysctl net/ipv4/ip_default_bind
Date: Thu, 17 Jan 2002 23:41:03 +0100	[thread overview]
Message-ID: <20020117234103.A2797@averell> (raw)
In-Reply-To: <20020117172713.A1893@somanetworks.com>
In-Reply-To: <20020117172713.A1893@somanetworks.com>; from mark@somanetworks.com on Thu, Jan 17, 2002 at 11:27:13PM +0100

On Thu, Jan 17, 2002 at 11:27:13PM +0100, Mark Frazer wrote:
> The following patch applies against 2.4.17 and creates a new sysctl
> node /proc/sys/net/ipv4/ip_default_bind.  The purpose of the control
> is to allow a default IP address to be selected by the sysadmin for
> outgoing connections.  That is, for sockets which do not bind(2) the
> local end of the socket before calling connect(2).

You can already do that using the 'from' attribute in iproute2
aka prefered source address per route. Just set it for your default
route.

-Andi

  parent reply	other threads:[~2002-01-17 22:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-17 22:27 [RFC][PATCH] new sysctl net/ipv4/ip_default_bind Mark Frazer
2002-01-17 22:33 ` David S. Miller
2002-01-17 22:41 ` Andi Kleen [this message]
2002-01-17 22:54   ` Mark Frazer

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=20020117234103.A2797@averell \
    --to=ak@muc.de \
    --cc=davem@redhat.com \
    --cc=kuznet@ms2.inr.ac.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark@somanetworks.com \
    --cc=netdev@oss.sgi.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox