Colleagues, tell me please, how to associate an interface name with it's MAC?
Periodically, unpleasant things happen related to the number of network interfaces of the same type, which entail their automatic renumbering and the failure of all settings.
The router had five network adapters of the same type. One of them failed and rebooted the computer. All adapters have changed names and all network settings have been moved to other boards - addresses, masks, routing, firewall, etc.
Now it's the other way around - a villain engineer came and added another interface. Of course, everything has shifted again.
What is the best way to associate a specific interface with its name. To make the network adapter with MAC 11:22:33:44:55:66 always be re5? Even if adapters there are only two left... Those, I want not to change the MAC of the interface, but to make the MAC determine all its parameters, no matter how the network cards are rearranged in the computer.
Thanks for the answers to the question,
Ogogon.
Periodically, unpleasant things happen related to the number of network interfaces of the same type, which entail their automatic renumbering and the failure of all settings.
The router had five network adapters of the same type. One of them failed and rebooted the computer. All adapters have changed names and all network settings have been moved to other boards - addresses, masks, routing, firewall, etc.
Now it's the other way around - a villain engineer came and added another interface. Of course, everything has shifted again.
What is the best way to associate a specific interface with its name. To make the network adapter with MAC 11:22:33:44:55:66 always be re5? Even if adapters there are only two left... Those, I want not to change the MAC of the interface, but to make the MAC determine all its parameters, no matter how the network cards are rearranged in the computer.
Thanks for the answers to the question,
Ogogon.