[systemd-devel] Wrong interface name

Bao Nguyen baondt at gmail.com
Tue Aug 4 13:22:13 UTC 2020


Hello,



Recently I found that my kvm guest has inconsistent network names every
reboot. Here is the log



myPC kernel: virtio_net virtio0 eth000102030405: renamed from eth0

myPC kernel: virtio_net virtio1 eth000102030406: renamed from eth1

myPC kernel: virtio_net virtio2 eth000102030407: renamed from eth2

myPC kernel: virtio_net virtio0 eth1: renamed from eth000102030405

myPC kernel: virtio_net virtio1 eth3: renamed from eth000102030406

myPC kernel: virtio_net virtio2 eth4: renamed from eth000102030407



Looks like systemd-udevd has renamed the interface name but incorrectly.
Could you please let me know if the above log is printed out because
system-udevd runs or from kernel? And why the name is changed incorrectly,
is it due to some udev rules? Is there any way I can change to make the
interface name persistent on each reboot.



Thanks,

Brs,

Naruto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20200804/62122a6c/attachment.htm>


More information about the systemd-devel mailing list