Hello, On Sat, 30 Jun 2012 19:37:57 +0300 Adrian Ban <adrian....@mantech.ro> wrote:
> After an upgrade of the system the ifup command doesn't recognize > anymore the aliases for the VLANs. I have severals vlans configured > in /etc/network/interfaces like this: I've just committed a fix. For this: iface eth2.2:3 inet static address 3.4.5.6/23 It now runs the following: if test -d /sys/class/net/eth2 -a ! -d /sys/class/net/eth2.2 ; then ip link set up dev eth2; ip link add link eth2 name eth2.2 type vlan id 2; fi ip addr add 3.4.5.6/255.255.254.0 broadcast 3.4.5.255 dev eth2.2:3 label eth2.2:3 ip link set dev eth2.2:3 up Please check if that's correct. -- WBR, Andrew
signature.asc
Description: PGP signature