Subject: vlan aliases don't appear to be supported Package: vlan Version: 1.9-2 Severity: normal
The vlan additions to the ifupdown processing do not allow the use of a device name like vlan0002:0 as an alias for vlan0002. from the commandline, the following is successful: pyrus:/home/wt# vconfig add eth0 2 Added VLAN with VID == 2 to IF -:eth0:- pyrus:/home/wt# ifconfig vlan0002 192.168.6.3 up pyrus:/home/wt# ifconfig vlan0002:0 192.168.6.4 up pyrus:/home/wt# However the manpage for vlan-interfaces claims that aliases are ignored. This is confirmed by trying to use vlan0002:0 as a device name in /etc/network/interfaces. The following are stanzas from /etc/network/interfaces: iface vlan0002 inet static vlan-raw-device eth0 address 192.168.3.88 netmask 255.255.255.0 iface vlan0002:0 inet static vlan-raw-device eth0 address 192.168.3.89 netmask 255.255.255.0 With these stanzas, the following happens on the commandline: pyrus:/home/wt# ifup vlan0002 Set name-type for VLAN subsystem. Should be visible in /proc/net/vlan/config Added VLAN with VID == 2 to IF -:eth0:- pyrus:/home/wt# ifup vlan0002:0 Interface vlan0002:0 does not exist pyrus:/home/wt# The vlan0002:0 device is ignored just like the manpage indicated. However, It seems that the aliasing is directly supported the kernel. Why is it ignored for vlan devices in the vlan support addon for the /etc/network/interfaces file? Please enable this functionality, as it makes using HA failover with vlans easier with heartbeat. Thanks, wt -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17-2-686 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages vlan depends on: ii iproute 20061002-2 Professional tools to control the ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries vlan recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]