FG
💻 Software

linux ethernet numbering reset

Fresh5 days ago
Mar 15, 20269386 views
Confidence Score0%
0%

Problem

when you put your harddisk into another machine, and Linux recognize the new NIC, there will be a new number attached to for example -> This breaks down some my personal scripts, for example get IP address of the system. Is there any way to reset the number every time when reboot OR new NIC is foun…

Error Output

eth

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: linux ethernet numbering reset

Low Risk

Check the udev rules in . In my Fedora distribution, there is an automatically written rule in which clearly links the ethernet address to the device name. The comments at the top of the file give good clues how to adjust this behavior.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment