VLAN interface with MTU over 1500 may be left unconfigured on boot if created on bond
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ifenslave (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 14.04.1 (also spotted on 12.04), ifenslave 2.4ubuntu1.
When VLAN interface with MTU > 1500 is created on a bonded interface (also with MTU > 1500) via /etc/network/
In /var/log/
RTNETLINK answers: Numerical result out of range
Reproduction steps
On production servers such VLAN interfaces are left unconfigured after boot maybe in 10% of cases, but I was able to 100% reproduce the described behaviour on a VirtualBox VM with the attached "/etc/netwok/
Workaround
if-pre-up.d script which sleeps several seconds for any vlan* interface workarounds the issue.
Comment
"Unconfigured" means with IP address assigned, but in DOWN state and with default MTU.
I suppose that it has something to do with udev, namely with /lib/udev/