Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [systemd-networkd]

systemd-networkd is a system daemon that manages network configurations.

0
votes
1answer
90 views

Unable to ping 18.04 desktop unless this machine first pings the client, when using networkd instead of network-manager

I'm trying to set up networking with netplan and networkd as renderer on an 18.04 machine. It runs the desktop distribution because it's connected to my TV and used for multimedia, but I'll call it a ...
1
vote
0answers
59 views

18.04.1 LTS systemd-network not applying [RoutingPolicyRule]

I have a server instance with two interfaces, and I have created a rule to ensure traffic that comes in ens160 goes out ens160 despite matching the default route for ens192. The routes and rules work ...
0
votes
1answer
559 views

Does Ubuntu 18.04 use dhclient?

I'm trying to figure out how to configure my DHCP client on Ubuntu server 18.04. I have the following netplan configuration, coming from cloud-init: network: version: 2 ethernets: ...
0
votes
0answers
44 views

netplan+networkd portable/usb setup

I have a number of bootable USB drives with Ubuntu 18.04 which had been upgraded from past versions of Ubuntu. Now I am looking for the most proper and concise config for netplan to express a rule ...
0
votes
1answer
873 views

Ubuntu 18.04 netplan.io how to prevent the creation of 2 default gateways [duplicate]

When I add 2 interfaces (eth0 LAN, eth1 WAN) with static IPs (or maybe also with DHCP), Ubuntu 18.04 Server is adding 2 default gateways. Thats not the goal. How can I define only 1 default gateway? ...
1
vote
0answers
256 views

Netplan / systemd-networkd VLAN is missing

I tried to add a additional virtual VLAN Interface, but it is not visible in ifconfig. Netplan Config: network: version: 2 renderer: networkd ethernets: ...
0
votes
0answers
987 views

Ubuntu 18.04 configure but disable network interface

I created a dummy0 interface, (which is not currently supported by netplan) with systemd-networkd config syntax, as shown in my answer here: Ubuntu 18.04: How to create a persistent dummy network ...
2
votes
1answer
2k views

Ubuntu 18.04 does not get search domain from DHCP server?

I have a system with Ubuntu 18.04 on it, and there have been some (apparently) radical changes in the way DHCP client and DNS are handled. After stumbling through documentation on systemd-resolved, I'...
0
votes
1answer
216 views

systemd.network virtual interfaces

I have a dedicated server running Ubuntu 18.04, which is using systemd.network to manage its networking. The server has only one physical NIC. The hosing provider has allocated two IP addresses and ...
0
votes
2answers
221 views

How can I disable LLMNR in Netplan?

I found How can I disable LLMNR in systemd-resolved? useful for demonstrating how to disable LLMNR in systemd-networkd. However, ubuntu 18.04 uses netplan to configure the network rather than systemd-...
0
votes
1answer
222 views

Migrating bridged eth0 with static IP from /etc/network/interfaces to networkd

Under Ubuntu 16.04, my /etc/network/interfaces file looks like this: auto lo iface lo inet loopback auto br0 iface br0 inet static address 144.76.AAA.BBB netmask 255.255.255.224 gateway 144.76....
2
votes
1answer
2k views

How to use neworkd instead of NetworkManager on ubuntu 18.04 desktop

I'm looking for the correct way of configuring the network with static IP on Ubuntu Desktop 18.04, but from the command line and not the GUI. Thank you
0
votes
0answers
343 views

Server 18.04: systemd-networkd combining DHCP and Link Local addressing

I have been toying around with the server version of Ubuntu and have been trying to get the network configured in a manner similar to how Windows manages its interfaces. First by trying DHCP and then ...
0
votes
2answers
360 views

systemd resolve doesn't respond to queries

I'm getting dns failures on some of the servers with Ubuntu Server 17.10 or 18.01. I can't resolve addresses unless I go direct to the nameservers (ie with dig @1.2.3.4 ...) It can't resolve the ...
2
votes
1answer
3k views

Am I running NetworkManager or networkd?

I am learning to use netplan. When writing a YAML configuration file I need to know which renderer to use, either NetworkManager or networkd. How do I know if I am running NetworkManager or networkd?
1
vote
0answers
250 views

Network not starting when logging into 17.10

I am having to run the following command everytime I login to my Ubuntu sudo netplan apply I am unsure what I have done to make it only start when I run this command and I am wondering how I go ...