unable to ifup vlan based interface with systemd persistent naming
Bug #1643063 reported by
Kevin Otte
This bug report is a duplicate of:
Bug #1628591: ifup & ifdown don't work for vlan devices when raw device name is the new "enp" convention.
Edit
Remove
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/
To post a comment you must log in.
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.