unable to ifup vlan based interface with systemd persistent naming

Bug #1643063 reported by Kevin Otte
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ifupdown (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

root@atlantis:/etc# ifup enp2s0.121
Cannot find device "enp2s0.121"
Failed to bring up enp2s0.121.

Workaround:
Add
    pre-up /sbin/ip link add link enp2s0 name enp2s0.121 type vlan id 121
to /etc/network/interfaces declaration.

Revision history for this message
Kevin Otte (nivex) wrote :

This may need to be filed against the vlan package as /etc/network/if-pre-up.d/vlan is owned by same.
It was my understanding, however, that vconfig was deprecated in favor of 'ip link' as used in my workaround.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ifupdown (Ubuntu):
status: New → Confirmed
Revision history for this message
Andrei Coada (raziel.kernel) wrote :

Check out my alternative workaround from duplicate bug #1628591. In my opinion, it's cleaner.
I haven't heard of vconfig to be deprecated.

Anyway... it's funny how we must do workarounds for basic functionality, such as networking.

In Debian 9 Stretch, you don't have to do any of this. It works out-of-the-box with both "eth" and "enp" naming conventions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.