Hi,

Thanks for the fix. Is working fine now!

Best regards,
Adrian

On 07/01/2012 11:42 AM, Andrew Shadura wrote:
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.




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to