From: ebiederm@xmission.com (Eric W. Biederman)
To: Robert Shearman <rshearma@brocade.com>
Cc: <davem@davemloft.net>, <netdev@vger.kernel.org>,
roopa <roopa@cumulusnetworks.com>
Subject: Re: [PATCH net-next] mpls: allow TTL propagation to/from IP packets to be configured
Date: Tue, 31 Jan 2017 13:17:07 +1300 [thread overview]
Message-ID: <878tpst75o.fsf@xmission.com> (raw)
In-Reply-To: <1485808575-16852-1-git-send-email-rshearma@brocade.com> (Robert Shearman's message of "Mon, 30 Jan 2017 20:36:15 +0000")
Robert Shearman <rshearma@brocade.com> writes:
> It is sometimes desirable to present an MPLS transport network as a
> single hop to traffic transiting it because it prevents confusion when
> diagnosing failures. An example of where confusion can be generated is
> when addresses used in the provider network overlap with addresses in
> the overlay network and the addresses get exposed through ICMP errors
> generated as packets transit the provider network.
>
> Therefore, provide the ability to control whether the TTL value from
> an MPLS packet is propagated to an IPv4/IPv6 packet when the last
> label is popped through the addition of a new per-namespace sysctl:
> "net.mpls.ip_ttl_propagate" which defaults to enabled.
>
> Use the same sysctl to control whether the TTL is propagated from IP
> packets into the MPLS header. If the TTL isn't propagated then a
> default TTL value is used which can be configured via a new sysctl:
> "net.mpls.default_ttl".
Instead of having a global sysctl can we please have a different way
to configure the ingress/egress?
My general memory is that this makes sense for a slightly different
tunnel type. Making it a per mpls tunnel property instead of global
property feels like it should be much more maintainable.
Similarly with the related behavior of what to do if the mpls ttl is
exhausted during the trip through the tunnel. Drop or dig through the
packet and send an ICMP error message at the ip layer.
Eric
next prev parent reply other threads:[~2017-01-31 0:22 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-30 20:36 [PATCH net-next] mpls: allow TTL propagation to/from IP packets to be configured Robert Shearman
2017-01-31 0:17 ` Eric W. Biederman [this message]
2017-01-31 11:59 ` Robert Shearman
2017-02-03 3:21 ` Eric W. Biederman
2017-02-03 4:02 ` David Ahern
2017-01-31 0:41 ` David Ahern
2017-01-31 12:00 ` Robert Shearman
2017-01-31 1:09 ` David Ahern
2017-01-31 12:01 ` Robert Shearman
2017-03-08 0:46 ` [PATCH net-next v2 0/2] " Robert Shearman
2017-03-08 0:46 ` [PATCH net-next v2 1/2] mpls: allow TTL propagation to " Robert Shearman
2017-03-10 2:00 ` David Ahern
2017-03-10 10:12 ` Robert Shearman
2017-03-10 2:40 ` David Ahern
2017-03-10 10:12 ` Robert Shearman
2017-03-08 0:46 ` [PATCH net-next v2 2/2] mpls: allow TTL propagation from " Robert Shearman
2017-03-10 2:54 ` David Ahern
2017-03-10 10:12 ` Robert Shearman
2017-03-10 20:43 ` [PATCH net-next v3 0/2] mpls: allow TTL propagation to/from " Robert Shearman
2017-03-10 20:43 ` [PATCH net-next v3 1/2] mpls: allow TTL propagation to " Robert Shearman
2017-03-13 18:42 ` David Ahern
2017-03-10 20:43 ` [PATCH net-next v3 2/2] mpls: allow TTL propagation from " Robert Shearman
2017-03-13 18:43 ` David Ahern
2017-03-13 20:28 ` [PATCH net-next v3 0/2] mpls: allow TTL propagation to/from " Roopa Prabhu
2017-03-13 22:29 ` David Miller
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=878tpst75o.fsf@xmission.com \
--to=ebiederm@xmission.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=roopa@cumulusnetworks.com \
--cc=rshearma@brocade.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.