TLDR: Has anyone had success removing `net.ifnames=0` from the Debian config so that NG Firewall won't use `eth*` names, and therefore need to remap interfaces if they are recognized in a different order on boot?
This morning my NG Firewall server rebooted and with it came a few hours of downtime, as my network interfaces must've initialized in a different order. In other words, eth0 through eth7 were all assigned to different MAC addresses, so my network had to be remapped inside of NG Firewall. (which is easy enough to do as long as I have physical console access at the time, but it is downtime nonetheless and a huge security concern at the worst)
I dug into this issue and it looks like Debian by default will use persistent network interface names, such as `eno1`. These names are derived from the hardware, so they will always be the same on a reboot. https://wiki.debian.org/NetworkInterfaceNames
However, the install of NG Firewall is configured specifically to use the 'eth0', 'eth1', names. The setting (net.ifnames=0) is in the grub config file:
I tried removing this setting, and I confirmed from the shell that the eth* names went away, but NG Firewall does not seem to recognize the new names.
Does anyone know if there is any way to change this behavior and force NG Firewall to use interface names other than eth*?
This morning my NG Firewall server rebooted and with it came a few hours of downtime, as my network interfaces must've initialized in a different order. In other words, eth0 through eth7 were all assigned to different MAC addresses, so my network had to be remapped inside of NG Firewall. (which is easy enough to do as long as I have physical console access at the time, but it is downtime nonetheless and a huge security concern at the worst)
I dug into this issue and it looks like Debian by default will use persistent network interface names, such as `eno1`. These names are derived from the hardware, so they will always be the same on a reboot. https://wiki.debian.org/NetworkInterfaceNames
However, the install of NG Firewall is configured specifically to use the 'eth0', 'eth1', names. The setting (net.ifnames=0) is in the grub config file:
Code:
# /etc/default/grub GRUB_CMDLINE_LINUX="net.ifnames=0 ramdisk_size=100000 lang=us apm=power-off nomce nodhcp nofstab panic=5"
Does anyone know if there is any way to change this behavior and force NG Firewall to use interface names other than eth*?
Comment