You are not logged in.
I'm trying to setup a VLAN interface using networkd. I have verified the VLAN works with a manually created interface, but when I try to create an interface with networkd I just get an error.
Jun 05 11:26:02 files systemd[1]: Starting Network Service...
Jun 05 11:26:02 files systemd-networkd[880]: NetDev with invalid Kind configured in /etc/systemd/network/eno1.10.netdev. Ignoring
Jun 05 11:26:02 files systemd-networkd[880]: [/etc/systemd/network/eno1.network:6] VLAN could not be found, ignoring assignment: eno1.10
Jun 05 11:26:02 files systemd-networkd[880]: Enumeration completed
Jun 05 11:26:02 files systemd[1]: Started Network Service.
Jun 05 11:26:02 files systemd-networkd[880]: eno1 : link configured
I have followed the VLAN setup in the wiki.
/etc/systemd/network/eno1.network
[Match]
Name=eno1
[Network]
DNS=192.168.1.1
VLAN=eno1.10
[Address]
Address=192.168.1.10
[Route]
Gateway=192.168.1.1
/etc/systemd/network/eno1.10.netdev
[Netdev]
Name=eno1.10
Kind=vlan
[VLAN]
Id=10
For what it is worth I get the same error even If i just set the Netdev kind to dummy. I am not sure if netdevs are broken or if I'm missing something
Last edited by evilhamsterman (2015-06-05 20:45:09)
Offline
That did fix it. Looks like there is a small error on the wiki then because I literally copied those files from the wiki.
Offline
That did fix it. Looks like there is a small error on the wiki then because I literally copied those files from the wiki.
I'm glad you got this sorted, have you thought of editing the wiki so that no-one else runs into the same problem?
Last edited by Slithery (2015-06-05 21:07:19)
Offline
I literally copied those files from the wiki.
Also bear in mind that the wiki is not official documentation - it's useful, but relying on it exclusively is not a good idea. Use the relevant man pages as well.
Offline
I was comparing it to other things including the official docs for systemd. It was just such a small difference I didn't catch, probably would have eventually. Easy fix though for the wiki which I already did.
Offline