diff -u vlan-1.9/debian/changelog vlan-1.9/debian/changelog --- vlan-1.9/debian/changelog +++ vlan-1.9/debian/changelog @@ -1,3 +1,13 @@ +vlan (1.9-3.2ubuntu1.16.04.2) xenial; urgency=medium + + * In vlan ifupdown pre-up script, instead of calling ip link up for + raw device before creating vlan interface, do a full ifup for raw + device. Otherwise, if raw device processes ifup after vlan device, + the raw device may be taken down and back up, which removes all vlan + routes and other configuration. (LP: #1573272) + + -- Dan Streetman Thu, 30 Mar 2017 09:16:10 -0400 + vlan (1.9-3.2ubuntu1.16.04.1) xenial; urgency=medium * If VLAN is configured with higher MTU than raw device MTU, which can diff -u vlan-1.9/debian/network/if-pre-up.d/vlan vlan-1.9/debian/network/if-pre-up.d/vlan --- vlan-1.9/debian/network/if-pre-up.d/vlan +++ vlan-1.9/debian/network/if-pre-up.d/vlan @@ -60,7 +60,7 @@ exit 1 fi if [ ! -e "/sys/class/net/$IFACE" ]; then - ip link set up dev $IF_VLAN_RAW_DEVICE + ifup $IF_VLAN_RAW_DEVICE vconfig add $IF_VLAN_RAW_DEVICE $VLANID fi fi