This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision |
| linux:linux-tutorials:set-persistent-mac-rtl8111 [2023/12/19 08:39] – Zyzonix | linux:linux-tutorials:set-persistent-mac-rtl8111 [2026/02/20 15:19] (current) – Zyzonix |
|---|
| ===== Set persistent MAC for RTL8111/8168/8411 (r8169) with udev ===== | ===== Set persistent MAC for RTL8111/8168/8411 (r8169) using udev ===== |
| |
| <callout type="warning" icon="true">This tutorial does only work on systems that use ''**udev**'', like IPFire!</callout> | <callout type="warning" icon="true">This tutorial does only work on systems that use ''**udev**'', like IPFire!</callout> |
| </code> | </code> |
| |
| Replace ''pci-address'' with the NICs PCI address that you got from the step before and ''your-persistent-mac'' with the MAC address that should always be assigned to this NIC. (both without ''<'' and ''>''). | Replace ''pci-address'' with the NICs PCI address that you got from the step before (e.g. ''0000:01:00.0'') and ''your-persistent-mac'' with the MAC address that should always be assigned to this NIC. (both without ''<'' and ''>''). |
| |
| Finally save the file and reboot. | Finally save the file and reboot. |
| |
| ---- | ---- |
| //Resourced used: [[https://serverfault.com/questions/813995/change-interface-mac-hw-address-using-udev-rules|serverfault.com - Change interface MAC HW address]], [[https://packetpushers.net/udev/|packetpushers.net - udev]]// | //Resources used: [[https://serverfault.com/questions/813995/change-interface-mac-hw-address-using-udev-rules|serverfault.com - Change interface MAC HW address]], [[https://packetpushers.net/udev/|packetpushers.net - udev]]// |