[arch-general] systemd-networkd 226 in virtual machines
in 226, systemd-networkd now supports predictable interface names for virtio devices.[1] For people running Arch in KVM with virtio-net (as I do), that means the network interface name will change from eth0 to - in my case - ens5. That, for me also meant no ip address after reboot. Make sure to set [Match]Name=en* or some such before rebooting. [1] https://github.com/systemd/systemd/blob/23d08d1b2bfd7f4b3c0a9408c9ccd65c3fb8... -- damjan
or maybe net.ifnames=0 on the kernel command line to completely disable network interface renaming. W dniu 09.09.2015 o 17:34, Damjan Georgievski pisze:
in 226, systemd-networkd now supports predictable interface names for virtio devices.[1]
For people running Arch in KVM with virtio-net (as I do), that means the network interface name will change from eth0 to - in my case - ens5.
That, for me also meant no ip address after reboot. Make sure to set [Match]Name=en* or some such before rebooting.
[1] https://github.com/systemd/systemd/blob/23d08d1b2bfd7f4b3c0a9408c9ccd65c3fb8...
or maybe net.ifnames=0 on the kernel command line to completely disable network interface renaming.
participants (2)
-
Damjan Georgievski
-
Michał Zegan