Live data from Hacker News

Ubuntu 24.04 LTS Committing to Netplan for Network Configuration

phoronix.com

21–30 of 52 posts

Re: Ubuntu 24.04 LTS Committing to Netplan for Network Configuration

#21
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.

That's funny because for me it was the other way around.

network/interfaces feels so archaic. Then you add bonding, multiple interfaces, custom metrics, and IPv6 and you need to pray before reloading.

Anyway, to each its own I guess.

Re: Ubuntu 24.04 LTS Committing to Netplan for Network Configuration

#22
post #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

netplan can actually use systemd-networkd as a backend. It will just generate the unit files, and let systemd do the job.

Re: Ubuntu 24.04 LTS Committing to Netplan for Network Configuration

#23
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

That sentence in the article almost reads as if it's missing a crucial word ("not").

Did Debian indeed decide to go with Netplan?

Re: Ubuntu 24.04 LTS Committing to Netplan for Network Configuration

#24
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…

Netplan has oversimplified things to cater only to the simplest of topologies. The schema seems unable to capture the richness and modularity of actual networking technologies.

Re: Ubuntu 24.04 LTS Committing to Netplan for Network Configuration

#25
post #22
post #16

Earlier quoted context omitted.

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

netplan can actually use systemd-networkd as a backend. It will just generate the unit files, and let systemd do the job.

but what’s the point. It’s not that much work to create a unit file and configuration is always better in text form.

If netplan would be an api driven tool via dbus or other ipc‘s to drive an ui I would understand the need. But as cli tool?! It’s a little bit stupid

Re: Ubuntu 24.04 LTS Committing to Netplan for Network Configuration

#26
post #22
post #16

Earlier quoted context omitted.

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

netplan can actually use systemd-networkd as a backend. It will just generate the unit files, and let systemd do the job.

What's the benefit over writing netplan vs networks unit files?

Re: Ubuntu 24.04 LTS Committing to Netplan for Network Configuration

#27
post #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.

Why would my VMs or my hardware have wifi?

My laptop sure, but I have network manager on a gui for that. My netplan config on my laptop is literally

  # Let NetworkManager manage all devices on this system
  network:
    version: 2
    renderer: NetworkManager

Re: Ubuntu 24.04 LTS Committing to Netplan for Network Configuration

#28
post #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.

Trivially with NetworkManager, which is there anyway.

Re: Ubuntu 24.04 LTS Committing to Netplan for Network Configuration

#29
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…

Netplan has oversimplified things to cater only to the simplest of topologies. The schema seems unable to capture the richness and modularity of actual networking technologies.

Examples?

Re: Ubuntu 24.04 LTS Committing to Netplan for Network Configuration

#30
post #25
post #22

Earlier quoted context omitted.

netplan can actually use systemd-networkd as a backend. It will just generate the unit files, and let systemd do the job.

but what’s the point. It’s not that much work to create a unit file and configuration is always better in text form. If netplan would be an api driven tool via dbus or other ipc‘s to drive an ui I would understand the need. But as cli tool?! It’s a little bit stupid

NetworkManager is that api driven tool, with cli frontend available too (nmcli); I don't get the need for netplan either.
Post reply on HN