Comment 6 for bug 1850704

Dan Streetman (ddstreet) wrote :

ubuntu@lp1850704-b:~$ cat /etc/systemd/network/10-ens3.network
[Match]
Name=ens3

[Network]
DHCP=ipv4
LinkLocalAddressing=ipv6

[Link]
MTUBytes=6666

ubuntu@lp1850704-b:~$ dpkg -l systemd|grep ii
ii systemd 237-3ubuntu10.33 amd64 system and service manager
ubuntu@lp1850704-b:~$ ip l show ens3
2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 6666 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 52:54:00:86:c7:44 brd ff:ff:ff:ff:ff:ff
ubuntu@lp1850704-b:~$ sudo ip l set mtu 1500 dev ens3
ubuntu@lp1850704-b:~$ ip l show ens3
2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 52:54:00:86:c7:44 brd ff:ff:ff:ff:ff:ff
ubuntu@lp1850704-b:~$ sudo systemctl restart systemd-networkd
ubuntu@lp1850704-b:~$ ip l show ens3
2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 6666 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 52:54:00:86:c7:44 brd ff:ff:ff:ff:ff:ff