Package: ifupdown
Version: 0.6.8+nmu1

For example.
/etc/network/interfaces

auto eth0
iface eth0 inet static
               address 192.168.0.1
               netmask 255.255.255.0

auto eth0:0
iface eth0.0 inet static
                 address 192.168.0.2
                 netmask 255.255.255.0


i bring up both interfaces "ifup -a"
and /etc/network/run/ifstate looks like
eth0=eth0
eth0:0=eth0:0

But now i put down eth0 with ifdown eth0 and eth0:0 still figurate in 
/etc/network/run/ifstate.
This is bad becouse i cannot put up interface eth0:0 with ifup eth0:0.
ifup: interface eth0:0 already configured.
I must first edit /etc/network/run/ifstate and delete line with eth0:0 
definition or run ifdown eth0:0 witch is not running becouse his parent eth0 is 
in this moment down.

Its this bug or future ? :)

I have just configured one workaround with this in /etc/network/interfaces
auto eth0
iface eth0 inet static
               address 192.168.0.1
               netmask 255.255.255.0
               down ifdown eth0:0

Thanks
Vlado
Radiolan s.r.o.





--
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