mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Lamparter <equinox@diac24.net>
To: "Štefan Gula" <steweg@gmail.com>
Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>,
	"David S. Miller" <davem@davemloft.net>,
	James Morris <jmorris@namei.org>,
	Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>,
	Patrick McHardy <kaber@trash.net>,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [patch v1, kernel version 3.2.1] net/ipv4/ip_gre: Ethernet multipoint GRE over IP
Date: Mon, 16 Jan 2012 14:35:05 +0100	[thread overview]
Message-ID: <20120116133505.GE1077372@jupiter.n2.diac24.net> (raw)
In-Reply-To: <CAGsizzJTbGGpwrn-P=SUtqBW=1AN6hCTVXKp_oKHPBAoGZ4ubA@mail.gmail.com>

On Mon, Jan 16, 2012 at 01:13:19PM +0100, Štefan Gula wrote:
> it learns IP address of peer which encapsulated given packet.

This feature is already present in the Linux kernel, albeit only for IP
to IP lookup. Please look at "userspace ARPd" and its relation to
multipoint GRE. OpenNHRP is the associated userspace part.

That code reuses the existing neighbor management infrastructure. Adding
support for gretap and automatic learning from incoming packets
shouldn't be too hard...


-David

  parent reply	other threads:[~2012-01-16 13:35 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-16 12:13 Štefan Gula
2012-01-16 13:19 ` Eric Dumazet
2012-01-16 13:30   ` David Laight
2012-01-16 13:42     ` Štefan Gula
2012-01-16 14:05   ` Štefan Gula
2012-01-16 14:25     ` Eric Dumazet
2012-01-16 14:47       ` Štefan Gula
2012-01-16 15:13         ` Eric Dumazet
2012-01-16 15:20           ` Štefan Gula
2012-01-16 13:35 ` David Lamparter [this message]
2012-01-16 16:36 ` Stephen Hemminger
2012-01-16 17:26   ` Štefan Gula
2012-01-16 18:30     ` Stephen Hemminger
2012-01-16 18:38       ` Štefan Gula
2012-01-16 21:22     ` Jesse Gross
2012-01-16 23:40       ` Štefan Gula

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=20120116133505.GE1077372@jupiter.n2.diac24.net \
    --to=equinox@diac24.net \
    --cc=davem@davemloft.net \
    --cc=jmorris@namei.org \
    --cc=kaber@trash.net \
    --cc=kuznet@ms2.inr.ac.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=steweg@gmail.com \
    --cc=yoshfuji@linux-ipv6.org \
    /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

all inboxes | Powered by JetHome®