I have multiple public cloud instances at OVH. Each one as a public interface and one or multiple private interfaces. All intances are on Debian 9. Since the naming is done automatically and I don't want to change the IP configuration every time the servers reboot, I used to set the private interfaces names persistently in
/etc/udev/rules.d/70-persistent-net.rules
like so
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="MAC ADDRESS", NAME="interface_name"
But on my most recent installations, I noticed that this configuration does not work anymore (On reboot the servers get the automatic naming like ens4 or eth1). Is there any alternative so that I can persistently name the interfaces ?
0 Answers