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 [2024/04/23 11:45] (current) – [Create udev rules] Zyzonix |
---|
</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]]// |