Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurentp@cse-semaphore.com>
To: "Gáspár Lajos" <swifty@freemail.hu>
Cc: netfilter@vger.kernel.org
Subject: Re: Support for ICMP Time Exceeded in REJECT target ?
Date: Thu, 10 Jan 2008 10:23:30 +0100	[thread overview]
Message-ID: <200801101023.35077.laurentp@cse-semaphore.com> (raw)
In-Reply-To: <4785D984.9000909@freemail.hu>

[-- Attachment #1: Type: text/plain, Size: 1572 bytes --]

On Thursday 10 January 2008 09:38, Gáspár Lajos wrote:
> Laurent Pinchart írta:
>
> ...
>
> > I know that my application breaks the OSI model and creates some kind of
> > hybrid "layer 2.5" device. I'm open to suggestions regarding a better way
> > to implement bridges enumeration between two ethernet hosts, but using
> > the traceroute command is a customer requirement which could only be
> > changed with strong valid reasons.
>
> I'm really curios why would anyone need to enumerate the bridging host?
> Could you explain?

Our customer needs IP connectivity between two computers in the engines at 
each end of the train. Each carriage will have an embedded routing device, 
and connecting the carriages together creates a chain that ensures IP 
connectivity.

The customer's application requires enumerating the carriages. One easy 
solution was to enumerate the routing devices in the chain, either using 
their MAC or IP address. Configuring the devices as layer 3 routers would be 
really complex, as all routing tables must be automatically updated whenever 
a carriage is added or removed. Using layer 2 bridges is much easier, but we 
then loose layer 3 route tracing. This is why we thought about making some 
kind of hybrid device that acts as a layer 2 bridge except that it decrements 
the IP TTL and sends an ICMP Time Exceeded message when the TTL reaches 0.

Best regards,

-- 
Laurent Pinchart
CSE Semaphore Belgium

Chaussée de Bruxelles, 732A
B-1410 Waterloo
Belgium

T +32 (2) 387 42 59
F +32 (2) 387 42 75

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

      reply	other threads:[~2008-01-10  9:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-09 17:18 Support for ICMP Time Exceeded in REJECT target ? Laurent Pinchart
2008-01-10  8:38 ` Gáspár Lajos
2008-01-10  9:23   ` Laurent Pinchart [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=200801101023.35077.laurentp@cse-semaphore.com \
    --to=laurentp@cse-semaphore.com \
    --cc=netfilter@vger.kernel.org \
    --cc=swifty@freemail.hu \
    /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