All of lore.kernel.org
 help / color / mirror / Atom feed
From: "junk" <junk@toutatis.be>
To: netdev@oss.sgi.com
Subject: ipt_ROUTE and destination MAC address
Date: Fri, 11 Feb 2005 13:39:38 +0100	[thread overview]
Message-ID: <20050211123718.M74819@toutatis.be> (raw)
In-Reply-To: S262133AbVBJPBt/20050210150149Z+8411@vger.kernel.org

Hello,

i'm coding a virtual interface. That virtual interface has to receive packets
coming on eth0. For that purpose, i'm using ipt_ROUTE. That works great, i can
see my packets arriving on red0 (my virtual interface).

But there is a problem..

If i send an icmp request to 10.0.1.1 from another computer:

The icmp request arrives on the physical interface, ROUTE target makes it
arrive on red0

icmp request arriving on red0: 10.0.0.1

The problem is that the destination MAC is the one of eth0, so, it seems the
kernel doesn't really deliver the packet to my driver. I can see it in tcpdump
but my driver receive function is never called.

I tried every -j ROUTE option, --gw or --iif, with --continue, or not..

Any idea?

       reply	other threads:[~2005-02-11 12:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <S262133AbVBJPBt/20050210150149Z+8411@vger.kernel.org>
2005-02-11 12:39 ` junk [this message]
2005-02-12 13:32   ` ipt_ROUTE and destination MAC address jamal
     [not found] ` <20050210141334.M57687@toutatis.be>
     [not found]   ` <Pine.LNX.4.61.0502110100240.13349@filer.marasystems.com>
2005-02-11 14:17     ` junk

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=20050211123718.M74819@toutatis.be \
    --to=junk@toutatis.be \
    --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 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.