Dear Maintainer, I recently ran into some VLAN issues on a new server and found that it names all its interfaces eno1, .... The following vlan scripts appear to only take into account eth, bond and wlan interfaces: /etc/network/if-pre-up.d/vlan /etc/network/if-post-down.d/vlan It would be nice if you could also make them handle eno interfaces. Thanks for your work.
Hi, Michel Meyers schreef op 2016-05-02 17:39: http://anonscm.debian.org/cgit/collab-maint/vlan.git/commit/?id=3eed5b7482eb7952425b7455445df22419346047 It was working in 2010 in version 1.9-5 but it got "rejected". As such, I am only a maintainer by name. I have Cc: the guy that actually really does maintain the latest version. Regards, Ard van Breemen.
Hi, This is also reported in LP#1541678[1]. I've attached a patch that builds on the idea from Simon Déziel (sdeziel) and simplifies the ifupdown scripts. Tested locally: | ubuntu@test:/etc/network$ IFACE=enp4s0.20 if-pre-up.d/vlan | set_name_type DEV_PLUS_VID_NO_PAD | 20 | enp4s0 | ubuntu@test:/etc/network$ IFACE=enp4s0.020 if-pre-up.d/vlan | set_name_type DEV_PLUS_VID | 020 | enp4s0 | ubuntu@test:/etc/network$ IFACE=eth0.020 if-pre-up.d/vlan | set_name_type DEV_PLUS_VID | 020 | eth0 | ubuntu@test:/etc/network$ sudo ifup eth0.20 | Set name-type for VLAN subsystem. Should be visible in /proc/net/vlan/config | Added VLAN with VID == 20 to IF -:eth0:- | ubuntu@test:/etc/network$ sudo ifdown eth0.20 | Removed VLAN -:eth0.20:- | ubuntu@test:/etc/network$ sudo ifup enp1s0.20 | Device "enp1s0" does not exist. | enp1s0 does not exist, unable to create enp1s0.20 | run-parts: /etc/network/if-pre-up.d/vlan exited with return code 1 | Failed to bring up enp1s0.20. Regards, Haw [1]https://bugs.launchpad.net/ubuntu/+source/vlan/+bug/1541678
Oops, attached.
any update on this bug? Bug from 2016 and counting :s