Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

4 Port NIC changing Mac Address every boot and eth* name

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
tommycat
Posts: 1
Joined: 2015-09-06 04:36

4 Port NIC changing Mac Address every boot and eth* name

#1 Post by tommycat »

I installed a 4 Port NIC from Sun microsystems.
Im on Debian Jessie 8.1
It kept changing Mac Address on every boot and assigning more and more increasing eth* names to the interface.

I found the solution.

Set up static Ip with non eth* name like wan* or net*

Go to /etc/udev/rules.d/70-persistent-net.rules and delete all entries.

Reboot

Make sure eth* eth* eth* eth* are up using ifconfig eth* up

Go back to 70-persistent-net.rules and change the NAME="" feild to new name wan* net*

Then make a new file in /etc/udev/rules.d/ called 99-local-net.rules and follow this article http://ubuntuforums.org/showthread.php?t=2168431
to create a rule based on Kernel.

and lastly Go to http://www.freedesktop.org/software/sys ... .link.html /lib/systemd/network/99-default.link
and change MacAddressPolicy: From Persistent to Random

You could make a proper 99-default.link .link file if you wanted but my interfaces were up and renamed and stable with reboots.

No more random mac address changes or eth* increasing.

Post Reply