Network interface name changing every boot?

I have an annoying issue where CheckMK is identifying the physical (hyper-V VMNic) interfaces of my podman host as a new interface every time it’s rebooted, with the previously identified instance vanishing.

The mac, IP and uplink speed of the interfaces remain unchanged but checkmk will flap between identify them as (Interface 02 >> Interface2 >> Interface 02) and (Interface 03 >> Interface 3 >> Interface 03 ) which is really annoying.

All of the other interfaces are [cni-podman#] ones, which are higher number then the (physical) interfaces.

This problem is only present on my Podman (Docker) VM, so I suspect it’s something related to it?

If the alias or description of the interface also remains the same, check out following guide to have those interfaces automagically renamed by alias or description.

I had similar issue with a vpn tunnel interface with automatic +1 counter on reestablishing vpn connection. This guide helped me fix that.

2 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.