Author Topic: NIC assignment changes after each reboot  (Read 859 times)

altiport

  • Zen Apprentice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
NIC assignment changes after each reboot
« on: October 07, 2024, 08:46:34 pm »
Hello,

I'm running Zentyal 7.0 on an HP Microserver Gen7.

After a clean installation of 7.0, every time I reboot the server, the names of the NICs swap (i.e. Eth0 becomes Eth1, Eth1 becomes Eth2 and Eth2 becomes Eth0, but not always in that order).  The implication is that I need to rearrange the interface and gateways settings and set up DHCP from the beginning.

Is that an issue related to my hardware or to the Zentyal installation?

Thanks

Siroco

  • Zentyal Staff
  • Zen Apprentice
  • *****
  • Posts: 31
  • Karma: +0/-0
    • View Profile
Re: NIC assignment changes after each reboot
« Reply #1 on: October 08, 2024, 01:48:46 pm »
Hi,

This issue is often a combination of hardware and Linux behavior, rather than a specific flaw in the Zentyal installation. Implementing persistent udev rules is often the most effective solution to ensure that your NICs maintain consistent naming across reboots.

Take a look at the article below because it may help you.

https://www.baeldung.com/linux/regenerate-persistent-net-rules

Regards.