I had a similar issue but for me it's because netplan doesn't apply settings on "apply" but because it doesn't apply settings when renaming the interface during boot. It renames the interface after loading configs from /etc/syslog.d. It's annoying with some of the ipv6 tcp config. I want a temp ipv6 address and sysctl net.ipv6.conf.INTNAME.use_tempaddr = 2 to use IPV6 temp address but the settings gets reset to the kernel default of "0" every time.
I tracked it down to the interface being renamed after the kernel loads configuration files from /etc/sysctl.d.
I had a similar issue but for me it's because netplan doesn't apply settings on "apply" but because it doesn't apply settings when renaming the interface during boot. It renames the interface after loading configs from /etc/syslog.d. It's annoying with some of the ipv6 tcp config. I want a temp ipv6 address and sysctl net.ipv6. conf.INTNAME. use_tempaddr = 2 to use IPV6 temp address but the settings gets reset to the kernel default of "0" every time.
I tracked it down to the interface being renamed after the kernel loads configuration files from /etc/sysctl.d.
I'm running "Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-47-generic x86_64)"