AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
![]() ![]() I have glanced at the following documentation: I have already disabled that renaming, so I do indeed have an eth0 interface on my system.) (Aside: Yes, I know that by default Ubuntu 18.04 renames eth0 to a "predictable" name like enp1s0. My question is, what configuration file do I edit, and how do I edit it, so that NetworkManager will assign the fixed MAC address of my choice to eth0. In the (distant?) past, I could assign a MAC address to a network interface by adding the following stanza to to /etc/network/interfaces: auto eth0Īs of Lubuntu 18.04, this no longer works (because the ifupdown package is not installed by default). For this and other reasons, I expect I will prefer vanilla Ubuntu over any of its derivatives on all my future installs. And the question probably does not apply to Ubuntu itself. (Yay!) Therefore, this question probably only applies to Ubuntu derivatives that have chosen to exclude the ifupdown package from their default install. It appears the package ifupdown is installed by default on Ubuntu 19.04. (Note: As of Feb 2020, I suspect this paragraph may be incorrect and/or out of date.) This week I installed the desktop version of Ubuntu 19.04. In other words, a default install of Ubuntu (maybe 19.10?) may no longer include the ifupdown package. ![]() ( systemd-networkd may be better, but still has flaws IMO.) Finally, I am no longer confident that my update is correct. I also started configuring the network on most of my systems via systemd-networkd, rather than NetworkManager or netplan. I also realized I may be able to solve my particular problem by reconfiguring my DHCP server to assign IP addresses based on system names, rather than MAC addresses. ![]() I never found an elegant way make NetworkManager assign a particular MAC address to the first/only Ethernet adapter on whatever system my disk happened to boot on. ![]()
0 Comments
Read More
Leave a Reply. |