Package: ifupdown
Version: 0.6.8
Severity: normal

I have a machine that typically uses a few alias interfaces off a vlan.
Eg, eth0.0006:1 eth0.0006:2 and so on.  eth0 is configured for dhcp, but
not auto. Sometimes I need it up for a few minutes, then I bring it back
down.  I've attched a command line transcript of some events that occur
after ifdown eth0 occurs.  the ifupdown scripts still presume secondary
interfaces are up, when they are not.

Initially I did "ifconfig eth0 0.0.0.0 up" to drop the address, but dhcp
reassigned it after the lease renewed.

Thanks

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-vserver-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages ifupdown depends on:
ii  debconf [debconf-2.0]       1.5.11       Debian configuration management sy
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  lsb-base                    3.1-23.1     Linux Standard Base 3.1 init scrip
ii  net-tools                   1.60-17      The NET-3 networking toolkit

ifupdown recommends no packages.

-- debconf information:
  ifupdown/convert-interfaces: true

*** script
etch_vh0:~# ifconfig
etch_vh0:~# ifup lo
etch_vh0:~# ifup eth0.0006
ifup: interface eth0.0006 already configured
etch_vh0:~# ifdown eth0.0006
SIOCDELRT: No such process
etch_vh0:~# ifup eth0.0006
Set name-type for VLAN subsystem. Should be visible in /proc/net/vlan/config
ERROR: trying to add VLAN #6 to IF -:eth0:-  error: Invalid argument
etch_vh0:~# echo $?
0
etch_vh0# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0C:76:A1:72:3D  
          inet6 addr: fe80::20c:76ff:fea1:723d/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1612170 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1082895 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2121024534 (1.9 GiB)  TX bytes:554857588 (529.1 MiB)
          Interrupt:193 Base address:0xc000 

eth0.0006 Link encap:Ethernet  HWaddr 00:0C:76:A1:72:3D  
          inet addr:10.140.0.2  Bcast:10.140.255.255  Mask:255.255.0.0
          inet6 addr: fe80::20c:76ff:fea1:723d/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1335321 errors:0 dropped:0 overruns:0 frame:0
          TX packets:699029 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1975105561 (1.8 GiB)  TX bytes:56318149 (53.7 MiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:126 errors:0 dropped:0 overruns:0 frame:0
          TX packets:126 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:10108 (9.8 KiB)  TX bytes:10108 (9.8 KiB)



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to