Questions tagged [systemd-networkd]

For questions pertaining to systemd-networkd, a system deamon that manages network configurations. Use this tag for questions about systemd-networkd itself, using systemd-networkd, or questions about issues arising from network configurations managed by systemd-networkd.

Filter by
Sorted by
Tagged with
0
votes
1answer
33 views

IP forwarding in linux namespaces

I am currently trying to simulate a network using network namespaces under Linux. I have already set up the nodes and connected them, and they can ping each other, one hop at a time. But I am really ...
0
votes
1answer
16 views

Wireless network interface won't come up

The wireless connection of my device (OS Ubuntu 20.04) won't activate. This is the state before $ ip a sh dev wlp1s0 4: wlp1s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue ...
0
votes
0answers
8 views

systemd-networkd: Static address not added during boot

I have a .network file for my eth0 device: [Match] Name=eth0 [Network] DHCP=yes [Address] Address=XXXX:XXXX:XXXX:XXXX::617/64 When I boot the system, the interface gets an IPv4 and IPv6 address ...
1
vote
0answers
33 views

IPv6 Prefix Delegation for use on a single device

I want to setup IPv6 prefix delegation on a machine with only a single ethernet port and then request a set number of addresses and route them on the same device only. From what I have read so far ...
2
votes
2answers
39 views

systemd networking is ignoring network configuration file on boot

I have an embedded linux system compiled with Yocto, using systemd. I have a network configuration file at /etc/systemd/network/20-wired.network. The contents of that file are: [Match] Name=eth0 [...
0
votes
0answers
23 views

Automate bringing up bridge with systemd

When I reboot my card, the interfaces seem to be deleted from the bridge! here is how I make the bridge work: I create these 3 files: /etc/systemd/network/19-gfxbridge.netdev [NetDev] Name=br0 Kind=...
1
vote
1answer
48 views

How to add a new network device on CentOS 7?

My VPS is assigned two IPs but "ip a" shows only one real network interface eth0 and one loopback interface lo. I copy /etc/sysconfig/network-scripts/ifcfg-eth0 to /etc/sysconfig/network-...
1
vote
0answers
14 views

CAN bus interface does not come up after CAN bus restart

I am fighting with an industrial PC running Ubuntu 18.04.1 This PC is equipped with Apacer CAN module APEHC-D40 to receive data from external sensors. 95% of the time the module is running fine and ...
1
vote
1answer
42 views

Ethernet network not starting on raspberrypi: DHCP6 CLIENT: Failed to set DUID: No medium found

I was trying to set up a static ip via systemd-networkd and it all worked, after I've removed my custom file and restarted the device both eth0 and wlan0 don't start. I was hoping they would get their ...
0
votes
1answer
152 views

Can't set static IP on systemd-networkd

I can't set static IP on a wired interface using systemd-networkd. based on here, I should be able to set static IP using below code on /etc/systemd/network/eth0.network path: [Match] Name=enp1s0 [...
0
votes
0answers
37 views

No GUI Program for Network(Both for WiFi and Ethernet) {Ocurred after reinstalling some packages}

I am using Kali Linux grep VERSION /etc/os-release VERSION="2021.1" VERSION_ID="2021.1" VERSION_CODENAME="kali-rolling" uname -v ...
0
votes
0answers
39 views

No IP Address after Link Interruption

I have a headless server that was disconnected from network but did not gain an IP address after reconnecting: Apr 24 04:12:35 foo1 kernel: r8169 0000:01:00.0 enp1s0: Link is Down Apr 24 04:12:35 foo1 ...
0
votes
1answer
22 views

Ethernet won't come up until link status is toggled

I am using systemd-networkd. I was able to fix this issue by adding this in systemd-networkd.service: ExecStartPost=bash -c 'ip link set dev eth0 down;ip link set dev eth0 up' I would rather this ...
1
vote
0answers
37 views

Can systemd-networkd notify when network goes down?

I use systemd-networkd to configure my network with and basically just have: cat /etc/systemd/network/eth1-dhcp.network [Match] Name=eth1 [Network] DHCP=yes But now ,I need to make some changes to ...
1
vote
0answers
64 views

LAN devices can't reach IPv6 internet/WAN addresses

I have set up a double-stack, two-interface computer as a router for home use, but LAN devices can't reach the outside world with IPv6. (IPv4 works perfectly). traceroute also stops at the router when ...
0
votes
0answers
56 views

samba network share fails to mount at boot time

On a box with Ubuntu 20.04, I struggle to mount a network share at boot time. Manually mounting the same share with sudo mount /media/SHARE works without any issues, and the same /etc/fstab entries ...
0
votes
2answers
258 views

systemd-networkd.service and networking.service alternatively actives at reboot on a fresh install

I installed a LEMP web server on top of a Debian Buster template given by my server provider OVH. The server has connectivity problem : from time to time the ping is lost, then it needs a hard reboot ...
0
votes
1answer
18 views

DNS server selection between two LAN interfaces

I have an box running Ubuntu 18.04.4. There are two LAN interfaces enp3s0 and eno1: the former is connected to a 3G modem on LAN network and the latter is connected to a satellite modem on another ...
1
vote
1answer
114 views

Can you get systemd-networkd to accept an IPv6 RA *route* but not auto-assign an *address*?

I've got a network with both an radvd and a kea-dhcp6 server running. Clients are running systemd-networkd (currently debian stable) and: [Network] IPv6AcceptRA=true DHCP=yes The desired behaviour is ...
1
vote
1answer
97 views

MultiPathRoute directive in systemd-networkd

I have a NAS host with two LAG interfaces. Each LAG goes to a different switch in the same subnet. I'd like to setup multipath routing such that connections to the local subnet (and beyond) are free ...
1
vote
1answer
67 views

systemd-networkd and networking service relation

I'm trying to understand the relation between networking service and systemd-networkd. I'm experimenting with ubuntu 20.01 server, which originally uses netplan to configure network. In some articles ...
0
votes
1answer
40 views

Change systemd bond0 default bonding

Using systemd, I can easily create a bond interface i.e. "mybond". systemd by default creates a bond0 interface, would it be possible to change its parameters? No matter the .netdev and ....
1
vote
0answers
259 views

Can systemd-networkd handle interfaces in network namespace?

I'm trying to configure systemd-networkd on an embedded system where wlan0 is in a separate network namespace. I'd like for systemd to configure and monitor the interaface so that related services ...
0
votes
1answer
40 views

Linux loses static IP on Ethernet on disonnection

I have a Linux (Ubuntu 20.04) which is running isc-dhcp-server on an ethernet interface. I configured a static IPv4 on the interface with the following lines in /etc/network/interfaces: auto eno1 ...
0
votes
2answers
205 views

Detect if current connection is metered without NetworkManager

Along with other developer I am creating a script to automatically update Linux systems as long as they are not connected to metered connections. But we have found that some systems would use "...
0
votes
0answers
246 views

systemd not starting systemd.networkd.service

Why does systemd decide to not start Network Service? Ubuntu 20.04 After booting into kernel 5.8, systemd.networkd.service is no longer started systemctl status systemd-networkd.service Loaded: ...
0
votes
0answers
25 views

LLMNR persistence across reboots?

I currently manage a homelab server that hosts several containers (systemd-nspawn, all using systemd-networkd for networking). These containers interact with each other over the container network and ...
1
vote
0answers
88 views

systemd-networkd multicast route removed when no carrier

We have a gateway product running Ubuntu 20.04 LTS. It has two network interfaces (WAN/LAN) configured using systemd-networkd. We use multicast messages to communicate to thousands of IoT devices ...
0
votes
0answers
24 views

Creating a netdev with systemd-networkd that is initially down

Is is possible to create a netdev with systemd-networkd which is initially down? When I create a netdev by putting a netdev file in /etc/systemd/network, that netdev is brought up after being created. ...
0
votes
0answers
235 views

How to configure wpa_supplicant conf to handle multiple USB WIiFi devices with single conf file with systemd-networkd service?

I'm using systemd-networkd for network configurations, which has made networking setup a lot easier for wired and wifi interfaces. But not in case of wpa_supplicant configurations. I would like to ...
0
votes
0answers
29 views

How to reduce the time of connecting laptop to Wi-Fi in Arch Linux?

I use a new laptop model with AMD processor, Arch Linux and kernel 5.2.21 (this kernel version makes my laptop the least hot). When I try to disable Wi-Fi in the GNOME 3 settings and then connect ...
1
vote
1answer
45 views

Ethernet interface name not consistent

I am seeing this peculiar behavior after boot, i see the interfaces as enp2s0, enp1s0 and when i remove the module and load it again, i see eth0, eth1. I need to get back enp2s0, enp1s0 as my scripts ...
1
vote
0answers
29 views

Virtual NIC interface is not visible in ifconfig command

I want to create a virtual interface for enp1s0, so that i can have multiple IP Address. I ran the below commands: # ifconfig enp1s0 192.168.0.2 netmask 255.255.255.0 up # ifconfig enp1s0:0 192.168.0....
0
votes
1answer
93 views

ISC-DHCP-Server removes wrong dynamic DNS-Name from the DNS-Server

I'm using Debian Bullseye to run KVM (Kernel-based Virtual Machine) with two guests vdeb02-10-base and vdeb03-10-base. Both guests have Debian Buster installed. For testing purposes vdeb03-10-base is ...
1
vote
0answers
63 views

systemd-networkd - delayed dhcp allocation?

I'm seeing a delay in networkd on bootup as follows (see large time gap between the last 4 lines of the log, and all the lines before it). My guess is it's a 60 second timeout happening - somewhere - ...
2
votes
0answers
86 views

Dual network interface control with systemd

On a debian machine, I have two network interfaces: eth1 and eth2. Eth1 is static and eth2 is using dhcp. How to make so that when the eth1 interface is active, the eth2 interface is down and vice ...
0
votes
1answer
536 views

systemd: Failed to disable unit: Read-only file system

I have an embedded system with an operating system built by yocto (Automotive Grade Linux: Halibut 8.0) that has 2 competing dhcp clients: connman and systemd-networkd. sa8155:~# systemctl --type=...
0
votes
0answers
60 views

Unable to have the static route on boot using systemd | Ubuntu

I am using Ubuntu 18.04.4 LTS, which is being run in a VMWare Fusion VM, and it is needed to have a static routes being added on boot: to the network 192.168.11.0/24, that is available via the IP 192....
2
votes
0answers
98 views

How do I (correctly) manage/update search domains with systemd?

I have a system (running Ubuntu 20.04) with multiple network interfaces and I realized that the search domains (I'm looking at /etc/resolv.conf, which I know is just a symlink to a systemd-resolved ...
2
votes
0answers
94 views

Successfully start systemd service only if eth0 is not connected to the internet after boot

Problem: I am attempting to start a systemd service which enables a connection to an LTE/GSM provider by running a script but I only want the service to successfully start when eth0 is in the ...
0
votes
0answers
33 views

How to fix network service tentative issue?

On RHEL 7, when config an Ipv6 network, restart it by systemd, got issue IPv6-address to not be tentative. Check its status, it's Active(Existed). But network can be used as normal. Is there a way to ...
1
vote
0answers
141 views

How to make sure a systemd service start after network fully connected?

System Hardware: RPi 4 OS: Manjaro Arm Network app: systemd-networkd I feel like I've done everything to ensure my testbot will be called once network connection is established and yet I still ...
3
votes
0answers
114 views

systemd .slice unit to limit a service to a specific interface/network classifier

Running on CentOS 7 [systemd ~243 & cgroup v1], I would like to limit a service to one specific network interface. The target machine has multiple physical network interfaces. The service is ...
1
vote
0answers
44 views

Missing service file

Server - Ubuntu Bionic 18.04, Application - HAproxy. In one of our app servers, the networking service (the unit file was made by our provisioning team) suddenly disappeared. We received notifications ...
0
votes
2answers
226 views

How do you block network acceess to systemd?

How would one quarantine any systemd processes from ever using ANY network interface or resources at OS-level? Overview Minimalistically, I'd like to setup a Linux gateway. Simple NAT, forwarding ...
0
votes
2answers
920 views

systemctl reload networking no longer works on buster

On Jessie, the command sudo systemctl reload networking runs without any complaints. On Buster, it fails with Failed to reload networking.service: Job type reload is not applicable for unit ...
2
votes
0answers
236 views

per-link (VPN) systemd-resolved configuration but keep link unmanaged by systemd-networkd

Background I manage my WLAN interface through systemd-networkd and use systemd-resolved for the whole system. I have several VPN connections managed by OpenVPN or Openconnect. I have them properly ...
1
vote
0answers
124 views

Pass DHCP user class in netplan

Is it possible to pass a DHCP option 77 and/or DHCPv6 option 15 in netplan using the networkd backend. Currently networkd supports passing DHCP option 77 and I believe there is work on adding the ...
1
vote
1answer
273 views

systemd-networkd one NIC, multiple IPs, two gateways

I am using systemd-networkd. I have one NIC and I am using the following configuration to create multiple IPs: [Match] Name=usbceth0 [Network] DHCP=ipv4 DNS=8.8.8.8 DNS=8.8.4.4 # LAN_1 [Address] ...
2
votes
2answers
204 views

Make systemd-resolved ignore a DNS server and only use the one I specify

I am experiencing an issue with DNS and to help narrow down the problem, I have been asked to configure my machine's DNS settings manually, only specifying one DNS server instead of the two returned ...