Live data from Hacker News

Ubuntu 24.04 LTS Committing to Netplan for Network Configuration

phoronix.com

11–20 of 52 posts

Re: Ubuntu 24.04 LTS Committing to Netplan for Network Configuration

#11
post #7

On the server side, this is one of the reasons my company is quickly moving all Ubuntu servers to Debian. It is so much easier to just edit /etc/network/interfaces.

> Debian so far has decided to go with Netplan for their nework stack on Debian Cloud images.

Seems not for long

Re: Ubuntu 24.04 LTS Committing to Netplan for Network Configuration

#12
Hopefully netplan sucks less by then?

Seriously, current versions are barely usable, and I don’t think I’m doing anything particularly hard. Want to verify your config before committing to it? Nope. Want to delete a vlan? Not happening without bypassing netplan. Want to bring up a vlan on an interface with a long name (which is the default on a fresh Ubuntu install with a NIC in a PCIe slot)? Netplan will accept the configuration, but it won’t work, and you’ll have to do quite a bit of digging to find out why your vlan doesn’t exist as far as the kernel is concerned.

The latter one is nasty if you upgrade Ubuntu on a system where the management interface is on a vlan.

Re: Ubuntu 24.04 LTS Committing to Netplan for Network Configuration

#13
post #12

Hopefully netplan sucks less by then? Seriously, current versions are barely usable, and I don’t think I’m doing anything particularly hard. Want to verify your config before committing to it? Nope. Want to delete a vlan? Not happening without bypassing netplan. Want to bring up a vlan on an interface with a long name (which is the default on a fresh Ubuntu install with a NIC in a PCIe slot)? Netplan will accept the…

I was hoping that Canonical has higher standards when it comes to server software, as opposed to something like Snapcraft, but reading this makes me think that maybe they both were developed by the same team.

Re: Ubuntu 24.04 LTS Committing to Netplan for Network Configuration

#14
post #11
post #7

On the server side, this is one of the reasons my company is quickly moving all Ubuntu servers to Debian. It is so much easier to just edit /etc/network/interfaces.

> Debian so far has decided to go with Netplan for their nework stack on Debian Cloud images. Seems not for long

Thats unfortunate. Netplan is half-baked. Buggy and feature incomplete.

Re: Ubuntu 24.04 LTS Committing to Netplan for Network Configuration

#15
post #4

My only real problem with it is that even now, it's not complete for advanced configurations

Could you provide some concrete examples?

I recall something about accept-ra for IPv6 combined with disabling DHCPv6 does not pick up the DNS address distributed by the RA.

Re: Ubuntu 24.04 LTS Committing to Netplan for Network Configuration

#16
post #7

On the server side, this is one of the reasons my company is quickly moving all Ubuntu servers to Debian. It is so much easier to just edit /etc/network/interfaces.

I prefer plain Systeme-networkd. Basically you just create a network unit file and configure the interface with it. Basically like network/interfaces, just a little bit more cleaned up

Re: Ubuntu 24.04 LTS Committing to Netplan for Network Configuration

#17
post #5

Ubuntu continuing to try to push their snowflakes. nmcli/nmtui works acceptably well. ifupdown-ng works great. What problem is Ubuntu trying to solve?

> What problem is Ubuntu trying to solve?

They're trying for lock-in and failing.

Linux networking has been a solved problem since just about forever, and all this instability will do is cause people to abandon Ubuntu in favor of something less fickle.

Re: Ubuntu 24.04 LTS Committing to Netplan for Network Configuration

#18
post #12

Hopefully netplan sucks less by then? Seriously, current versions are barely usable, and I don’t think I’m doing anything particularly hard. Want to verify your config before committing to it? Nope. Want to delete a vlan? Not happening without bypassing netplan. Want to bring up a vlan on an interface with a long name (which is the default on a fresh Ubuntu install with a NIC in a PCIe slot)? Netplan will accept the…

> Want to verify your config before committing to it?

I really like "netplan try" actually. Maybe not exactly the same thing, but it has saved me once or twice.

Re: Ubuntu 24.04 LTS Committing to Netplan for Network Configuration

#19
post #12

Hopefully netplan sucks less by then? Seriously, current versions are barely usable, and I don’t think I’m doing anything particularly hard. Want to verify your config before committing to it? Nope. Want to delete a vlan? Not happening without bypassing netplan. Want to bring up a vlan on an interface with a long name (which is the default on a fresh Ubuntu install with a NIC in a PCIe slot)? Netplan will accept the…

Good luck configuring wifi without netplan. Netplan is ok.

Re: Ubuntu 24.04 LTS Committing to Netplan for Network Configuration

#20
post #12

Hopefully netplan sucks less by then? Seriously, current versions are barely usable, and I don’t think I’m doing anything particularly hard. Want to verify your config before committing to it? Nope. Want to delete a vlan? Not happening without bypassing netplan. Want to bring up a vlan on an interface with a long name (which is the default on a fresh Ubuntu install with a NIC in a PCIe slot)? Netplan will accept the…

You can verify your config with netplan-try. This works fairly well for me with the timeout feature. Additionally you could write a bash script that basically replaces the netplan config to the old state when the machine is no longer able to ping (or similar).

There is a -state parameter for netplan apply which allows deleting VLANs, which has worked for me every time so far. What's the exact issue?

I never ran into your last issue, so I can't comment on that.

Post reply on HN