Missing 70-persistent-net.rules

Discussion in 'Proxmox VE: Installation and configuration' started by yena, May 18, 2018.

  1. yena

    yena Member

    Joined:
    Nov 18, 2011
    Messages:
    239
    Likes Received:
    1
    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!
     
  2. dietmar

    dietmar Proxmox Staff Member
    Staff Member

    Joined:
    Apr 28, 2005
    Messages:
    16,123
    Likes Received:
    264
  3. yena

    yena Member

    Joined:
    Nov 18, 2011
    Messages:
    239
    Likes Received:
    1
  4. udo

    udo Well-Known Member
    Proxmox VE Subscriber

    Joined:
    Apr 22, 2009
    Messages:
    5,660
    Likes Received:
    140
    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
     
  5. Rhinox

    Rhinox Active Member

    Joined:
    Sep 28, 2016
    Messages:
    269
    Likes Received:
    33
    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)?
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice