diff options
author | Chad Smith <chad.smith@canonical.com> | 2018-06-12 09:23:08 -0600 |
---|---|---|
committer | Chad Smith <chad.smith@canonical.com> | 2018-06-12 09:23:08 -0600 |
commit | c3f1ad9abd4a28c1b4c1f34db28ac72a646cdca6 (patch) | |
tree | 556acefac4e3726b28fb3859a8799926a3352403 /doc/rtd/topics/network-config-format-v2.rst | |
parent | fc23ccc91307c81dd8e428465eb56efbd539267e (diff) | |
download | vyos-cloud-init-c3f1ad9abd4a28c1b4c1f34db28ac72a646cdca6.tar.gz vyos-cloud-init-c3f1ad9abd4a28c1b4c1f34db28ac72a646cdca6.zip |
netplan: fix mtu if provided by network config for all rendered types
When network configuration for any interface defines maximum transmission
values (MTU) the netplan, eni and sysconfig renders will take into account
any device-level, or subnet-level mtu values.
When network configuration has conflicting device-level and ipv4 subnet
mtu values, the subnet-specific value is honored and a warning will be
logged about any ignored device-level setting.
LP: #1774666
Diffstat (limited to 'doc/rtd/topics/network-config-format-v2.rst')
-rw-r--r-- | doc/rtd/topics/network-config-format-v2.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/rtd/topics/network-config-format-v2.rst b/doc/rtd/topics/network-config-format-v2.rst index 335d236a..ea370ef5 100644 --- a/doc/rtd/topics/network-config-format-v2.rst +++ b/doc/rtd/topics/network-config-format-v2.rst @@ -174,6 +174,12 @@ recognized by ``inet_pton(3)`` Example for IPv4: ``gateway4: 172.16.0.1`` Example for IPv6: ``gateway6: 2001:4::1`` +**mtu**: *<MTU SizeBytes>* + +The MTU key represents a device's Maximum Transmission Unit, the largest size +packet or frame, specified in octets (eight-bit bytes), that can be sent in a +packet- or frame-based network. Specifying ``mtu`` is optional. + **nameservers**: *<(mapping)>* Set DNS servers and search domains, for manual address configuration. There |