diff options
author | sever-sever <v.gletenko@vyos.io> | 2021-06-01 11:30:11 +0000 |
---|---|---|
committer | sever-sever <v.gletenko@vyos.io> | 2021-06-02 09:37:05 +0000 |
commit | b4db37507635bf95161bea32b18736fc0732a9e6 (patch) | |
tree | dfc93fe6a732a1112cd6506d5f3648c34c51bdbf /interface-definitions/interfaces-tunnel.xml.in | |
parent | ec958eb3a97366f90a31bc8925be976a012b0fd5 (diff) | |
download | vyos-1x-b4db37507635bf95161bea32b18736fc0732a9e6.tar.gz vyos-1x-b4db37507635bf95161bea32b18736fc0732a9e6.zip |
tunnels: T3592: Set default TTL to 64
Set default TTL value for tunnels from 0 to 64
There are a lot of situation when default value 0 (inherit)
not work properly when you have routing configuration for OSPF
or BGP over the tunnels. To fix it you need explicit set TTL
value other then 0. Or hardcode another value as default.
Diffstat (limited to 'interface-definitions/interfaces-tunnel.xml.in')
-rw-r--r-- | interface-definitions/interfaces-tunnel.xml.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/interface-definitions/interfaces-tunnel.xml.in b/interface-definitions/interfaces-tunnel.xml.in index 4c3fc2e70..56f8ea79c 100644 --- a/interface-definitions/interfaces-tunnel.xml.in +++ b/interface-definitions/interfaces-tunnel.xml.in @@ -240,6 +240,9 @@ #include <include/interface/interface-parameters-key.xml.i> #include <include/interface/interface-parameters-tos.xml.i> #include <include/interface/interface-parameters-ttl.xml.i> + <leafNode name="ttl"> + <defaultValue>64</defaultValue> + </leafNode> </children> </node> <node name="ipv6"> |