[systemd-devel] Networkd fails to activate the device on boot

Thomas Bächler thomas at archlinux.org
Sat Aug 16 09:53:59 PDT 2014


Hello Tom,

I am using systemd 215-4 from Arch Linux.

I have the following configuration files in /etc/systemd/network:

# 01-lan.network
[Match]
Name=enp3s0

[Network]
Address=10.23.42.4/26
Gateway=10.23.42.3

# 01-qemu.netdev
[NetDev]
MACAddress=1a:de:ad:be:ef:01
Name=qemu
Kind=tap

# 01-qemu.network
[Match]
Name=qemu

[Network]
Address=10.23.42.129/26

I have two problems with this setup:

1) The enp3s0 interface does not activate on boot. I need to restart
networkd manually to make it work.

2) The qemu interface does not have the correct MAC address. It gains a
seemingly random address that is inconsistent across reboots.

Here is an excerpt from the journal:

[    2.356909] lije systemd[1]: Starting Network Service...
[    2.377715] lije systemd-networkd[367]: rtnl: received address for a
nonexistent link, ignoring
[    2.377862] lije systemd-networkd[367]: rtnl: received address for a
nonexistent link, ignoring
[    2.377960] lije systemd-networkd[367]: qemu            : link configured
[    2.379489] lije systemd[1]: Started Network Service.
[   57.298036] lije systemd[1]: Stopping Network Service...
[   57.298776] lije systemd-networkd[367]: Received SIGTERM from PID 1
(systemd).
[   57.364169] lije systemd[1]: Starting Network Service...
[   57.451984] lije systemd-networkd[490]: lo              : gained carrier
[   57.452133] lije systemd[1]: Started Network Service.
[   57.492641] lije systemd-networkd[490]: qemu            : link configured
[   57.492732] lije systemd-networkd[490]: enp3s0          : link configured
[   59.074472] lije systemd-networkd[490]: enp3s0          : gained carrier

Any ideas?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20140816/06a979fe/attachment.sig>


More information about the systemd-devel mailing list