Where is network configuration "hidden" on Ubuntu 16.04?

Leroy Tennison leroy at datavoiceint.com
Wed Oct 10 19:00:38 UTC 2018


I've had to temporarily move to other things and need to wait before responding fully.  Haven't installed anything unusual so I highly doubt ifupdown2or WICD is in use.  This is a server, not desktop so I hope network manager is not used (but will double check).  This is 16.04 so netplan is similarly out-of-scope.  I did do some looking around in the systemd "world" and didn't find anything, will check again.


Leroy Tennison
Network Information/Cyber Security Specialist
E: leroy at datavoiceint.com
2220 Bush Dr
McKinney, Texas
75070
www.datavoiceint.com
TThis message has been sent on behalf
of a company that is part of the Harris Operating Group of
Constellation Software Inc. These companies are listed
here
.
If you prefer not to be contacted by Harris
Operating Group
please notify us
.
This message is intended exclusively for the
individual or entity to which it is addressed. This communication
may contain information that is proprietary, privileged or
confidential or otherwise legally exempt from disclosure. If you are
not the named addressee, you are not authorized to read, print,
retain, copy or disseminate this message or any part of it. If you
have received this message in error, please notify the sender
immediately by e-mail and delete all copies of the
message.

________________________________________
From: ubuntu-server <ubuntu-server-bounces at lists.ubuntu.com> on behalf of Harald Weidner <hweidner-lists at gmx.net>
Sent: Monday, October 8, 2018 6:29 PM
To: ubuntu-server at lists.ubuntu.com
Subject: [EXTERNAL] Re: Where is network configuration "hidden" on Ubuntu 16.04?

Hello,

On Fri, Oct 05, 2018 at 07:29:47PM +0000, Leroy Tennison wrote:

> I did a recursive grep of /etc for it's first two octets and found
> nothing.  In fact /etc/rc.local has the default contents and neither
> /etc/network/interfaces or the file in /etc/network/interfaces.d even
> configures eth9.

> Where else can I look for the remnnts of the "5" configuration which are
> being applied at boot and preventing parts of the file-based configuration
> from working?  I even decompressed a copy of initrd.img...  and found
> nothing.

There are several ways to configure a network interface under Ubuntu.

The most common way is probably the package ifupdown, which reads the
contents of /etc/network/interfaces and /etc/network/interfaces.d/*.

A (more or less) drop-in replacement is ifupdown2, written by the
maintainers of the Cumulus Linux distribution for network devices.
It uses the same config files as above.

If you run a desktop system, you have most likely the NetworkManager
installed. NM likes to grab any interface not configured by ifupdown,
and applies its default configuration on it, which is running a DHCP
client on wired devices. You can check with "nmcli device", which of
your devices are controlled by NM.

Another less popular graphical tool for network configuration is WICD.
It is typically installed with lightweight desktop environments like
Xfce or LXDE.

Systemd also has the ability to configure network interfaces. Static
configuration lies in /etc/systemd/network, dynamic (volatile) config
under /run/systemd/network, and default configurations under
/lib/systemd/network. See "man systemd-networkd" for details.

Newer versions of Ubuntu ship with Netplan, a network configuration
utility with its config files under /etc/netplan. Netplan is in an
early stage of development, lacking important features like IPv6
privacy extensions. If you use it, I'd consider replacing it by
ifupdown, ifupdown2, or systemd-networkd.

I'm sure this list is incomplete. However, those are the most
popular network configuration options.

Best regards,
Harald

--
ubuntu-server mailing list
ubuntu-server at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


More information about the ubuntu-server mailing list