Curtin vmtest verification for bionic using systemd from -proposed has run successfully.
(neipa) ipv6_mtu % egrep "237-3ubuntu10.34" output/BionicTestNetworkMtu/logs/install-serial.log [ 126.923480] cloud-init[1176]: Get:10 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 libsystemd0 amd64 237-3ubuntu10.34 [206 kB] [ 126.999639] cloud-init[1176]: Get:11 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 libnss-systemd amd64 237-3ubuntu10.34 [104 kB] [ 127.012854] cloud-init[1176]: Get:12 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 libpam-systemd amd64 237-3ubuntu10.34 [107 kB] [ 127.018126] cloud-init[1176]: Get:13 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 systemd amd64 237-3ubuntu10.34 [2910 kB] [ 127.112992] cloud-init[1176]: Get:14 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 udev amd64 237-3ubuntu10.34 [1101 kB] [ 127.230646] cloud-init[1176]: Get:15 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 libudev1 amd64 237-3ubuntu10.34 [55.4 kB] [ 127.237607] cloud-init[1176]: Get:16 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 systemd-sysv amd64 237-3ubuntu10.34 [13.2 kB] [ 130.615970] cloud-init[1176]: Preparing to unpack .../libsystemd0_237-3ubuntu10.34_amd64.deb ... [ 130.619809] cloud-init[1176]: Unpacking libsystemd0:amd64 (237-3ubuntu10.34) over (237-3ubuntu10.33) ... [ 130.671345] cloud-init[1176]: Setting up libsystemd0:amd64 (237-3ubuntu10.34) ... [ 130.734901] cloud-init[1176]: Preparing to unpack .../libnss-systemd_237-3ubuntu10.34_amd64.deb ... [ 130.738718] cloud-init[1176]: Unpacking libnss-systemd:amd64 (237-3ubuntu10.34) over (237-3ubuntu10.33) ... [ 130.775590] cloud-init[1176]: Preparing to unpack .../libpam-systemd_237-3ubuntu10.34_amd64.deb ... [ 130.780829] cloud-init[1176]: Unpacking libpam-systemd:amd64 (237-3ubuntu10.34) over (237-3ubuntu10.33) ... [ 130.817036] cloud-init[1176]: Preparing to unpack .../systemd_237-3ubuntu10.34_amd64.deb ... [ 130.938621] cloud-init[1176]: Unpacking systemd (237-3ubuntu10.34) over (237-3ubuntu10.33) ... [ 131.534337] cloud-init[1176]: Preparing to unpack .../udev_237-3ubuntu10.34_amd64.deb ... [ 131.631496] cloud-init[1176]: Unpacking udev (237-3ubuntu10.34) over (237-3ubuntu10.33) ... [ 131.877032] cloud-init[1176]: Preparing to unpack .../libudev1_237-3ubuntu10.34_amd64.deb ... [ 131.880841] cloud-init[1176]: Unpacking libudev1:amd64 (237-3ubuntu10.34) over (237-3ubuntu10.33) ... [ 131.921311] cloud-init[1176]: Setting up libudev1:amd64 (237-3ubuntu10.34) ... [ 131.923955] cloud-init[1176]: Setting up systemd (237-3ubuntu10.34) ... [ 132.376367] cloud-init[1176]: Preparing to unpack .../systemd-sysv_237-3ubuntu10.34_amd64.deb ... [ 132.379899] cloud-init[1176]: Unpacking systemd-sysv (237-3ubuntu10.34) over (237-3ubuntu10.33) ... [ 135.341098] cloud-init[1176]: Setting up libnss-systemd:amd64 (237-3ubuntu10.34) ... [ 135.355290] cloud-init[1176]: Setting up systemd-sysv (237-3ubuntu10.34) ... [ 135.897825] cloud-init[1176]: Setting up udev (237-3ubuntu10.34) ... [ 136.901473] cloud-init[1176]: Setting up libpam-systemd:amd64 (237-3ubuntu10.34) ... [ 141.343998] cloud-init[1176]: Processing triggers for systemd (237-3ubuntu10.34) ... [ 181.788269] cloud-init[1176]: systemd is already the newest version (237-3ubuntu10.34). (neipa) ipv6_mtu % cat output/BionicTestNetworkMtu/collect/etc_netplan/50-cloud-init.yaml # This file is generated from information provided by the datasource. Changes # to it will not persist across an instance reboot. To disable cloud-init's # network configuration capabilities, write a file # /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following: # network: {config: disabled} network: version: 2 ethernets: interface0: addresses: - 192.168.1.2/24 - 2001:4800:78ff:1b:be76:4eff:fe06:1000/64 ipv6-mtu: 1501 match: macaddress: '52:54:00:12:34:00' mtu: 1601 set-name: interface0 interface1: addresses: - 192.168.2.2/24 - 2001:4800:78ff:1b:be76:4eff:fe06:2000/64 ipv6-mtu: 1501 match: macaddress: '52:54:00:12:34:02' mtu: 1501 set-name: interface1 interface2: dhcp4: true match: macaddress: '52:54:00:12:34:04' set-name: interface2 interface4: addresses: - 2001:4800:78ff:1b:be76:4eff:fe06:5000/64 - 192.168.5.2/24 ipv6-mtu: 8900 match: macaddress: '52:54:00:12:34:08' mtu: 9000 set-name: interface4 interface5: addresses: - 2001:4800:78ff:1b:be76:4eff:fe06:6000/64 - 192.168.6.2/24 ipv6-mtu: 1480 match: macaddress: 52:54:00:12:34:0c mtu: 1480 set-name: interface5 (neipa) ipv6_mtu % (neipa) ipv6_mtu % grep . output/BionicTestNetworkMtu/collect/interface0_* output/BionicTestNetworkMtu/collect/interface0_dev_mtu:1601 output/BionicTestNetworkMtu/collect/interface0_ipv6_mtu:1501 (neipa) ipv6_mtu % grep . output/BionicTestNetworkMtu/collect/interface1_* output/BionicTestNetworkMtu/collect/interface1_dev_mtu:1501 output/BionicTestNetworkMtu/collect/interface1_ipv6_mtu:1501 (neipa) ipv6_mtu % grep . output/BionicTestNetworkMtu/collect/interface4_* output/BionicTestNetworkMtu/collect/interface4_dev_mtu:9000 output/BionicTestNetworkMtu/collect/interface4_ipv6_mtu:8900 (neipa) ipv6_mtu % grep . output/BionicTestNetworkMtu/collect/interface5_* output/BionicTestNetworkMtu/collect/interface5_dev_mtu:1480 output/BionicTestNetworkMtu/collect/interface5_ipv6_mtu:1480 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1671951 Title: networkd should allow configuring IPV6 MTU Status in systemd: Unknown Status in cloud-init package in Ubuntu: Confirmed Status in netplan.io package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Status in cloud-init source package in Bionic: Confirmed Status in netplan.io source package in Bionic: Fix Released Status in systemd source package in Bionic: Fix Committed Status in cloud-init source package in Disco: New Status in netplan.io source package in Disco: Fix Released Status in systemd source package in Disco: Won't Fix Status in cloud-init source package in Eoan: New Status in netplan.io source package in Eoan: Fix Released Status in systemd source package in Eoan: Fix Committed Status in cloud-init source package in Focal: Confirmed Status in netplan.io source package in Focal: Fix Released Status in systemd source package in Focal: Fix Released Bug description: = netplan.io = [Impact] * IPv6 traffic failing to send/receive due to incompatible/low MTU setting. Specifically, IPv6 traffic may have higher MTU requirements than IPv4 traffic and thus may need to be overridden and/or set to a higher value than IPv6 traffic. [Test Case] * Apply a netplan configuration that specifices ipv6-mtu: network: version: 2 ethernets: eth0: dhcp4: true dhcp6: true ipv6-mtu: 6000 * Check that MTU bytes, is at least IPv6MTUBytes on the interface: $ sysctl net.ipv6.conf.eth0.mtu net.ipv6.conf.eth0.mtu = 6000 [Regression Potential] * This is a future compatible backport of an additional keyword not used by default. It may result in MTU change to a higher value, which should not cause loss of connectivity. [Other Info] * Original bug report below = end of netplan.io = = systemd = [Impact] * IPv6 traffic failing to send/receive due to incompatible/low MTU setting. Specifically, IPv6 traffic may have higher MTU requirements than IPv4 traffic and thus may need to be overridden and/or set to a higher value than IPv6 traffic. [Test Case] * Use IPv6MTUBytes= setting in a .network unit * Restart systemd-network * Check that there no error messages / warnings about not-recognizing this option * Check that MTU bytes, is at least IPv6MTUBytes on the interface [Regression Potential] * This is a future compatible backport of an additional keyword not used by default. It may result in MTU change to a higher value, which should not cause loss of connectivity. [Other Info] * Original bug report below = end of systemd = 1) Zesty 2) systemd-232-19 3) I need to configure the IPV6 MTU for tunneling by adding an IPv6MTUBytes=1480 value in the .network file for an interface with an IPV6 static address in the [Network] section 4) networkd does not parse or read the value and does not apply this configuration to the interface. Upstream has discussed this issue here: https://github.com/systemd/systemd/pull/1533 But it's been closed in favor of only setting via RA. However, we know of multiple use-case which are currently supported in ifdupdown where we want to retain control over IPV6 MTU values outside of PMTU Discovery configurations. Some context from those discussions >> Client systems that route their ipv6 packets to a 6in4 router also >> have to have their ipv6 mtu lowered. They could lower their link mtu, >> so their ipv6 packets are small enough, but that reduces performance >> of their ipv4 network. Yes. Anything that creates a PMTUD black hole can result in situations where the higher header overhead of IPv6 will cause IPv4 to pass but IPv6 traffic to be dropped. One example here is egress from an ipsec tunnel wherein the next hop MTU is too low for IPv6 datagrams to pass. Another is VM -> whatever -> host bridge -> tunnel ingress. If the datagram cannot enter the tunnel due to size, it is dropped, and an ICMP response uses the tunnel address as a source, which may not be routable back to the origin. This one is an issue with IPv4 as well, and is one case where manually setting the IPv6 MTU lower than the (also manually set) device MTU is of benefit. In essence, any of these sort of cases that require an explicit setting of the device MTU will likely require a setting of the IPv6 mtu as well to account for its larger header overhead. To manage notifications about this bug go to: https://bugs.launchpad.net/systemd/+bug/1671951/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp