netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: kuznet@ms2.inr.ac.ru
Cc: Rusty Russell <rusty@rustcorp.com.au>,
	netdev@oss.sgi.com, anton@samba.org
Subject: Re: "Loopback" route through two cards?
Date: Thu, 12 Sep 2002 21:59:10 -0700	[thread overview]
Message-ID: <3D81709E.7040506@candelatech.com> (raw)
In-Reply-To: 200209031254.QAA02008@sex.inr.ac.ru

kuznet@ms2.inr.ac.ru wrote:
> Hello!
> 
> 
>>	I know this is an FAQ, but I never saw an answer I liked.
> 
> 
> And what kind of answers do you like? :-)
> 
> 
>>still impossible
> 
> 
> It depends on sense which you put to "impossible".
> 
> There are two problems with this:
> 
> 1. You cannot send to local address via any device but loopback.
> 
>    The only way to override this is to use explicit SO_BINDTODEVICE
>    on sending socket. Hence, it is "impossible" not changing application. 

Ooooh, this looks like what I'm looking for...

> 
> 2. You cannot receive packets with local address from any device
>    but loopback.
> 
>    This is impossible, but wthis time without not editing kernel,
>    removing the check for local addresses in fib_validate_source().

Any clues to which part of this method needs to be changed?  I see nothing
obviously about checking for local IPs, but I'm sure it's in there somewhere!

Thanks,
Ben

> 
> Alexey
> 


-- 
Ben Greear <greearb@candelatech.com>       <Ben_Greear AT excite.com>
President of Candela Technologies Inc      http://www.candelatech.com
ScryMUD:  http://scry.wanfear.com     http://scry.wanfear.com/~greear

  reply	other threads:[~2002-09-13  4:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-03  5:04 "Loopback" route through two cards? Rusty Russell
2002-09-03 11:30 ` jamal
2002-09-04  9:26   ` Eric Lemoine
2002-09-03 12:54 ` kuznet
2002-09-13  4:59   ` Ben Greear [this message]
2002-09-13  5:44     ` Ben Greear

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=3D81709E.7040506@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=anton@samba.org \
    --cc=kuznet@ms2.inr.ac.ru \
    --cc=netdev@oss.sgi.com \
    --cc=rusty@rustcorp.com.au \
    /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;
as well as URLs for NNTP newsgroup(s).