mac address memory

Asked by ReimarBauer

Where does ubuntu store mac adresses of used network devices?

I have moved my HD to an identical backup system. Everything is fine besides my first network device is eth2.

If I boot a live cd on that machine it has no memoried devices and shows eth0 as eth0.

So where does it store these mappings? Or how could it be reconfigured?

cheers
Reimar

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Steven Danna (ssd7) said :
#1

The settings you want are probably those in /etc/udev/rules.d/70-persistent-net.rules. Instead of manually editing this file, it is best to just have Ubuntu rebuild the file for you.

Try the following:

1) Open a terminal (Applications->Accessories->Terminal)
2) Run the following command:

sudo rm /etc/udev/rules.d/70-persistent-net.rules

3) Restart.
4) Restart again. toe s

During the first restart /etc/udev/rules.d/70-persistent-net.rules should be recreated. The second restart is just to see if that file is generated correctly. If the network devices are more sanely numbered after that second restart, your problem should be solved.

Revision history for this message
Guillermo Belli (glock24) said :
#2

The file you are looking for is this one:

/etc/udev/rules.d/70-persistent-net.rules

You can edit the enries there, or delete them, and on next reboot the network card will be recognized and added there.

Can you help with this problem?

Provide an answer of your own, or ask ReimarBauer for more information if necessary.

To post a message you must log in.