Netplan or nmcli: Which is Better for My Raspberry Pi Networking?

0
4
Asked By CuriousCat99 On

Hey everyone! I'm new to Linux and currently learning about servers and networking. I recently set up a Raspberry Pi 4 with Ubuntu Server LTS, where I've done some basic configurations for SSH and security. Now I'm diving into networking and curious about whether to stick with Netplan, which is the default, or to use nmcli.

I've got a handle on the basics of both, but I'm looking for insights from more experienced users. Are there any common misconceptions I should watch out for? Also, if my ultimate goal is to set up a mini cluster of Raspberry Pis and run some Kubernetes containers, would that influence my choice between the two? Any advice would be greatly appreciated! Thanks!

1 Answer

Answered By SkylineDrifter44 On

Netplan is basically an abstraction that lets you configure either Network Manager or systemd-networkd using a consistent YAML syntax. So, it’s pretty versatile! On the other hand, nmcli is just the command-line interface for Network Manager. If you're using a desktop or more straightforward setups, nmcli can be handy. However, if you're leaning towards server setups and clustering, I'd recommend checking out systemd-networkd instead, as it’s more suitable for that kind of work.

DataDynamo77 -

That makes sense! I’ll definitely need to explore more about systemd-networkd. Thanks for clarifying!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.