Debian changing eno0 to eth0 by itself











up vote
0
down vote

favorite












I have Proxmox on site, based on Debian 9.6.



When freshly installed, I had 3 interfaces: eno0, enp0s1 and enp0s2, the network cable is plugged on the physical port marked 0 (zero) on the server, which corresponded to eno0.



On first install, I followed some guide online on how to declare the vmbr0 interface bridged to eno0, only editing /etc/network/interfaces, which I did and it was perfect (all interfaces as manual, vmbr0 as static and the bridge).



The system is often rebooted because of power loss in my country, and our general UPS out of service and waiting to be repaired. One day, the system rebooted and the network interfaces were renamed from what is written above? To eth*, the plugged in port becoming eth0.



The next day, new loss, the interface became eth1. I’m the only root/sudoers around, I didn’t upgrade anything. I’ve read that eth* is the old naming scheme, it became en..., but I don’t understand how it reversed and more importantly, how the numbers are switching.










share|improve this question
























  • Very briefly: The kernel creates ethN, udev rules rename this to the newer predictable network interface names. Systemd may also have its finger in there in addition. So probably you have some udev rules that are not firing. You can also write custom udev rules (google) for your own naming scheme, if that helps.
    – dirkt
    Nov 22 at 10:18










  • @dirkt So, the only outcome would be to write my custom rules?
    – Max13
    Nov 23 at 13:02










  • There's a number of ways to do it: Write your own custom rules, find out why the existing rules didn't work on reboot, ...
    – dirkt
    Nov 23 at 13:04















up vote
0
down vote

favorite












I have Proxmox on site, based on Debian 9.6.



When freshly installed, I had 3 interfaces: eno0, enp0s1 and enp0s2, the network cable is plugged on the physical port marked 0 (zero) on the server, which corresponded to eno0.



On first install, I followed some guide online on how to declare the vmbr0 interface bridged to eno0, only editing /etc/network/interfaces, which I did and it was perfect (all interfaces as manual, vmbr0 as static and the bridge).



The system is often rebooted because of power loss in my country, and our general UPS out of service and waiting to be repaired. One day, the system rebooted and the network interfaces were renamed from what is written above? To eth*, the plugged in port becoming eth0.



The next day, new loss, the interface became eth1. I’m the only root/sudoers around, I didn’t upgrade anything. I’ve read that eth* is the old naming scheme, it became en..., but I don’t understand how it reversed and more importantly, how the numbers are switching.










share|improve this question
























  • Very briefly: The kernel creates ethN, udev rules rename this to the newer predictable network interface names. Systemd may also have its finger in there in addition. So probably you have some udev rules that are not firing. You can also write custom udev rules (google) for your own naming scheme, if that helps.
    – dirkt
    Nov 22 at 10:18










  • @dirkt So, the only outcome would be to write my custom rules?
    – Max13
    Nov 23 at 13:02










  • There's a number of ways to do it: Write your own custom rules, find out why the existing rules didn't work on reboot, ...
    – dirkt
    Nov 23 at 13:04













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have Proxmox on site, based on Debian 9.6.



When freshly installed, I had 3 interfaces: eno0, enp0s1 and enp0s2, the network cable is plugged on the physical port marked 0 (zero) on the server, which corresponded to eno0.



On first install, I followed some guide online on how to declare the vmbr0 interface bridged to eno0, only editing /etc/network/interfaces, which I did and it was perfect (all interfaces as manual, vmbr0 as static and the bridge).



The system is often rebooted because of power loss in my country, and our general UPS out of service and waiting to be repaired. One day, the system rebooted and the network interfaces were renamed from what is written above? To eth*, the plugged in port becoming eth0.



The next day, new loss, the interface became eth1. I’m the only root/sudoers around, I didn’t upgrade anything. I’ve read that eth* is the old naming scheme, it became en..., but I don’t understand how it reversed and more importantly, how the numbers are switching.










share|improve this question















I have Proxmox on site, based on Debian 9.6.



When freshly installed, I had 3 interfaces: eno0, enp0s1 and enp0s2, the network cable is plugged on the physical port marked 0 (zero) on the server, which corresponded to eno0.



On first install, I followed some guide online on how to declare the vmbr0 interface bridged to eno0, only editing /etc/network/interfaces, which I did and it was perfect (all interfaces as manual, vmbr0 as static and the bridge).



The system is often rebooted because of power loss in my country, and our general UPS out of service and waiting to be repaired. One day, the system rebooted and the network interfaces were renamed from what is written above? To eth*, the plugged in port becoming eth0.



The next day, new loss, the interface became eth1. I’m the only root/sudoers around, I didn’t upgrade anything. I’ve read that eth* is the old naming scheme, it became en..., but I don’t understand how it reversed and more importantly, how the numbers are switching.







debian network-interface proxmox






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 22 at 10:27









Rui F Ribeiro

38.3k1475126




38.3k1475126










asked Nov 22 at 9:58









Max13

13516




13516












  • Very briefly: The kernel creates ethN, udev rules rename this to the newer predictable network interface names. Systemd may also have its finger in there in addition. So probably you have some udev rules that are not firing. You can also write custom udev rules (google) for your own naming scheme, if that helps.
    – dirkt
    Nov 22 at 10:18










  • @dirkt So, the only outcome would be to write my custom rules?
    – Max13
    Nov 23 at 13:02










  • There's a number of ways to do it: Write your own custom rules, find out why the existing rules didn't work on reboot, ...
    – dirkt
    Nov 23 at 13:04


















  • Very briefly: The kernel creates ethN, udev rules rename this to the newer predictable network interface names. Systemd may also have its finger in there in addition. So probably you have some udev rules that are not firing. You can also write custom udev rules (google) for your own naming scheme, if that helps.
    – dirkt
    Nov 22 at 10:18










  • @dirkt So, the only outcome would be to write my custom rules?
    – Max13
    Nov 23 at 13:02










  • There's a number of ways to do it: Write your own custom rules, find out why the existing rules didn't work on reboot, ...
    – dirkt
    Nov 23 at 13:04
















Very briefly: The kernel creates ethN, udev rules rename this to the newer predictable network interface names. Systemd may also have its finger in there in addition. So probably you have some udev rules that are not firing. You can also write custom udev rules (google) for your own naming scheme, if that helps.
– dirkt
Nov 22 at 10:18




Very briefly: The kernel creates ethN, udev rules rename this to the newer predictable network interface names. Systemd may also have its finger in there in addition. So probably you have some udev rules that are not firing. You can also write custom udev rules (google) for your own naming scheme, if that helps.
– dirkt
Nov 22 at 10:18












@dirkt So, the only outcome would be to write my custom rules?
– Max13
Nov 23 at 13:02




@dirkt So, the only outcome would be to write my custom rules?
– Max13
Nov 23 at 13:02












There's a number of ways to do it: Write your own custom rules, find out why the existing rules didn't work on reboot, ...
– dirkt
Nov 23 at 13:04




There's a number of ways to do it: Write your own custom rules, find out why the existing rules didn't work on reboot, ...
– dirkt
Nov 23 at 13:04















active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f483405%2fdebian-changing-eno0-to-eth0-by-itself%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f483405%2fdebian-changing-eno0-to-eth0-by-itself%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Morgemoulin

Scott Moir

Souastre