Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1493434

Re: [PATCH net v2] L2TP:Adjust intf MTU,factor underlay L3,overlay L2

From Jiri Benc <jbenc@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH net v2] L2TP:Adjust intf MTU,factor underlay L3,overlay L2
Date 2016-09-29 14:30 +0200
Message-ID <smIDn-45v-9@gated-at.bofh.it> (permalink)
References <skjg6-2JH-33@gated-at.bofh.it> <slV9D-6Fu-5@gated-at.bofh.it> <sm653-526-7@gated-at.bofh.it> <smhMR-3RU-3@gated-at.bofh.it> <smzqp-6Cv-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 28 Sep 2016 19:36:45 -0700 (PDT), R. Parameswaran wrote:
> I'd like to point out one difference with VXLAN - in VXLAN, the 
> local physical interface is directly specified at the time of 
> creation of the tunnel, and the data structure seems to have the ifindex 
> of the local interface with which it is able to directly pull up the 
> underlay interface device. Whereas in L2TP, we only have the IP
> address of the remote tunnel end-point and thus only the socket and the 
> dst from which we need to derive this. 

Strictly speaking, VXLAN *may* know the underlying interface. It can
also be set up with just local and remote IP address, or even worse, in
metadata mode where we don't know the address nor the interface until
we get a packet (and each packet may have those different).

MTU wise, those cases are not accommodated for in the kernel. The vxlan
interface gets MTU of 1500 and it's up to the administrator to set it
correctly.

Btw, PMTU events won't help with the metadata mode. And even in
"normal" mode, it's not clear what should be done - the tunnel
interface may be in a bridge, thus there may be other interfaces that
depend on the same MTU, up to inside VMs.

 Jiri

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH net v2] L2TP:Adjust intf MTU,factor underlay L3,overlay  L2 David Miller <davem@davemloft.net> - 2016-09-27 09:40 +0200
  Re: [PATCH net v2] L2TP:Adjust intf MTU,factor underlay L3,overlay  L2 "R. Parameswaran" <parameswaran.r7@gmail.com> - 2016-09-27 21:20 +0200
    Re: [PATCH net v2] L2TP:Adjust intf MTU,factor underlay L3,overlay  L2 David Miller <davem@davemloft.net> - 2016-09-28 09:50 +0200
      Re: [PATCH net v2] L2TP:Adjust intf MTU,factor underlay L3,overlay  L2 "R. Parameswaran" <parameswaran.r7@gmail.com> - 2016-09-29 04:40 +0200
        Re: [PATCH net v2] L2TP:Adjust intf MTU,factor underlay L3,overlay  L2 Jiri Benc <jbenc@redhat.com> - 2016-09-29 14:30 +0200
        Re: [PATCH net v2] L2TP:Adjust intf MTU,factor underlay L3,overlay L2 James Chapman <jchapman@katalix.com> - 2016-09-29 17:40 +0200

csiph-web