[ale] static ip network configuration

DJPfulio at jdpfu.com DJPfulio at jdpfu.com
Wed Jan 8 10:34:38 EST 2025


Russell, Ubuntu hasn't used the "interface" file for over 5 yrs, perhaps since 2017.  Ubuntu uses netplan.yaml files for non-GUI setups. Humans modifying YAML pretty much sucks, but that's Ubuntu thinking they need to change things that aren't broke yet again.

https://netplan.io/ has examples and the 2 commands to generate and apply netplan changes.

I don't know anything about the Ubuntu GUI methods for networking.

Of course, if someone wants hands-on help, they should join the every Sunday ALE-NW video meeting. A few Ubuntu users attend. We have most popular distros represented most weeks.

On 1/8/25 10:24, Russell L. Carter via Ale wrote:
> 
> First, ditch the GUI.  Gazing in that direction is the reason
> you don't already know how to do it.
> 
> I have maintained a small herd of pet debian systems for
> decades with nothing more complicated than this snippet in
> /etc/network/interfaces(5):
> 
> # The motherboard primary network interface
> allow-hotplug enp5s0
> iface enp5s0 inet static
>        address 10.0.10.10/24
>        gateway 10.0.10.102
> 
> Multihomed works as expected and dhcp is even simpler.  Nowadays
> you use ip(8) for all things network related.  You want to make
> friends with the fabulous ArchWiki for details.
> 
> All the best,
> Russell



More information about the Ale mailing list