Need 'nopmtudisc' option for tunnel interface. This is required for MPLS over gre or Ethernet over gre applications. This option is described in the iproute2 manuals (ip-tunnel).
Description
Details
- Version
- -
- Is it a breaking change?
- Perfectly compatible
- Issue type
- Feature (new functionality)
Related Objects
- Mentioned In
- rVYOSONEXc114e1904571: tunnel: T3173: add new options "no-pmtu-discovery" and "ignore-df"
rVYOSONEX9b0a19303e44: tunnel: T3030: Use the default TTL value of 0 to correspond to the PMTU option
rVYOSONEX7508af79700e: tunnel: T3173: bugfix nopmtu raw key
rVYOSONEX0a7fc50a5aa6: tunnel: T3173: Add nopmtudisc parameter for tunnels conf-mode
rVYOSONEX94f886ab0f98: tunnel: T3173: path MTU discovery option should be valueless
rVYOSONEX2ae13c35257f: Merge branch 'T3173' of https://github.com/sever-sever/vyos-1x into pmtu
T915: MPLS Support
Event Timeline
Proposed CLI
set interfaces tunnel tun0 parameters ip disable-pmtu-discovery
or
set interfaces tunnel tun0 parameters ip pmtu-discovery-disable
@runar we also added no- in the 1.3 series, so I'd prefer: set interfaces tunnel tun0 parameters ip disable-pmtu-discovery or set interfaces tunnel tun0 parameters ip no-pmtu-discovery
PR https://github.com/vyos/vyos-1x/pull/676
It is difficult to do in this performance this option as "valueless" because all tunnel options defined in tunnel.py interfaces-tunnel.py "IP route" format "ip tunnel add ttl/tos/key/etc"
When an option has already been passed to the tunnel.py script, it checks its value anyway.
So I should use enable/disable style
set interfaces tunnel tun0 address '10.5.2.1/30' set interfaces tunnel tun0 encapsulation 'gre' set interfaces tunnel tun0 local-ip '192.168.122.15' set interfaces tunnel tun0 multicast 'enable' set interfaces tunnel tun0 parameters ip ttl '0' set interfaces tunnel tun0 remote-ip '192.168.122.1' set interfaces tunnel tun0 parameters ip pmtu-discovery 'disable'
Check
vyos@r5-roll# sudo ip -d tunnel show tun0 tun0: gre/ip remote 192.168.122.1 local 192.168.122.15 ttl inherit tos inherit nopmtudisc [edit] vyos@r5-roll#
CLI command will be: set interfaces tunnel tun10 parameters ip no-pmtu-discovery, Also PMTU can not be changed in IPv6 sourced tunnels, a validation check has been added.
Should be backported to 1.3 equuleus branch after it's confirmed properly working.
'nopmtudisc' option still not present
set interfaces tunnel tun0 address '10.0.0.1/30' set interfaces tunnel tun0 encapsulation 'gre' set interfaces tunnel tun0 local-ip '192.0.2.55' set interfaces tunnel tun0 parameters ip no-pmtu-discovery set interfaces tunnel tun0 remote-ip '192.0.2.254'
Check
vyos@r5-roll# sudo ip -d tunnel show tun0 tun0: gre/ip remote 192.0.2.254 local 192.0.2.55 ttl inherit