netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: Ben Greear <greearb@candelatech.com>
Cc: netdev@oss.sgi.com
Subject: Re: "Loopback" route through two cards?
Date: Thu, 12 Sep 2002 22:44:14 -0700	[thread overview]
Message-ID: <3D817B2E.7020207@candelatech.com> (raw)
In-Reply-To: 3D81709E.7040506@candelatech.com

Ben Greear wrote:
> kuznet@ms2.inr.ac.ru wrote:

>> 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!

So, after adding printk's everywhere, I see that this seems to be the
check that fails:

	if (res.type != RTN_UNICAST) {
            printk("fib_frontend:  was not UNICAST: %x\n", res.type);
            //goto e_inval_res;
         }


After commenting that out, I can send pkts in one direction, but in the other
direction, the ARP is not ever answered (I see it sent with ethereal).
It appears that the only reason it
goes in one direction is that I got lucky and the arp table had the entry for
some reason.

So, I have to figure out how to make ARP work in this case, and I think it
will all start working!


Ben

-- 
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  5:44 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
2002-09-13  5:44     ` Ben Greear [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=3D817B2E.7020207@candelatech.com \
    --to=greearb@candelatech.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;
as well as URLs for NNTP newsgroup(s).