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?

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to