Discussion:
VRF - netdev could not be created: Operation not supported
(too old to reply)
Martin Belanger
2018-01-25 13:24:22 UTC
Permalink
Hi,

I'm trying to create a vrf netdev, but I get this error message:

systemd-networkd[3818]: vrf-test: netdev could not be created: Operation not supported

It's not clear what "operation not supported" means. Is it because the kernel doesn't support VRF?

Here's some info about my system:

systemd 232
Debian GNU/Linux 9.3 (stretch)
Linux 4.9.30

I created this file /etc/systemd/network/vrf-test.netdev with this content:
[NetDev]
Name=vrf-test
Kind=vrf

[VRF]
TableId=42

Here's the status of systemd-networkd:

# systemctl status systemd-networkd
● systemd-networkd.service - Network Service
Loaded: loaded (/lib/systemd/system/systemd-networkd.service; disabled; vendor preset: enabled)
Active: active (running) since Wed 2018-01-24 19:57:02 UTC; 3min 51s ago
Docs: man:systemd-networkd.service(8)
Main PID: 3818 (systemd-network)
Status: "Processing requests..."
CGroup: /system.slice/systemd-networkd.service
└─3818 /lib/systemd/systemd-networkd

Jan 24 19:57:02 OS10 systemd[1]: Starting Network Service...
Jan 24 19:57:02 OS10 systemd-networkd[3818]: eth0: Gained IPv6LL
Jan 24 19:57:02 OS10 systemd-networkd[3818]: Enumeration completed
Jan 24 19:57:02 OS10 systemd[1]: Started Network Service.
Jan 24 19:57:02 OS10 systemd-networkd[3818]: vrf-test: netdev could not be created: Operation not supported

Thanks,
Martin​
Lennart Poettering
2018-01-28 09:59:50 UTC
Permalink
Post by Martin Belanger
Hi,
systemd-networkd[3818]: vrf-test: netdev could not be created: Operation not supported
It's not clear what "operation not supported" means. Is it because
the kernel doesn't support VRF?
Yes, very likely. Or the necessary kernel modules are not installed to
make this happen...

Please ping your distro, whether they support VRF in your kernel and
what you have to do to make it available.

Lennart
--
Lennart Poettering, Red Hat
Loading...