Missing 70-persistent-net.rules

yena

Renowned Member
Nov 18, 2011
378
5
83
Hello, on several new setup the 70-persistent-net.rules is missing.
I Have run
# udevadm trigger --subsystem-match=net --action=add
but no file is created

Entry in 70-persistent-net.rules are very important when i will add new Network Interfaces ..

How can i solve it ?
Thanks!
 
Ok but now, using this new method, when i add a new hardware eth interface, proxmox rename old ones and i have to manually re-assign all eth.
Hi yena,
no - if you have valid definitions in 70-persistent-net.rules they are used.
But if you replace or add an networkcard, the new/changed nics are named with the new style (like enp5s0f0).
I have an host with mixed nic-names:
Code:
dmesg | grep renamed
[    1.036362] bnx2 0000:05:00.0 enp5s0f0: renamed from eth0
[    1.076314] bnx2 0000:05:00.1 enp5s0f1: renamed from eth1
[    1.149876] tg3 0000:02:00.0 rename6: renamed from eth1
[    1.188285] tg3 0000:01:00.0 rename4: renamed from eth2
[    1.208225] tg3 0000:01:00.1 eth1: renamed from eth0
[    1.238344] tg3 0000:02:00.0 eth2: renamed from rename6
[    1.258266] tg3 0000:01:00.0 eth0: renamed from rename4
Udo
 
Ok but now, using this new method, when i add a new hardware eth interface, proxmox rename old ones and i have to manually re-assign all eth.

I always thought predictable network interfaces were there exactly so that kernel does not rename interface, if you just add new one. So how's that possible (if as you say, Proxmox renames the old interface)?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!