[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ifup -a broken?



I'm trying to convert a system that's been running since pre-ifup days to use
/etc/network/interfaces and it's behaving oddly.  ifupdown is version 0.6.4-3
from testing.

As the log below shows, all three of the interfaces in
/etc/network/interfaces behave properly when addressed by name, but using -a
to bring all interfaces up (or down) doesn't seem to recognize that any
interfaces are configured.

Is there just something that I missed in my local configuration or should it
be filed as a bug?

---
/etc/network# cat interfaces
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/netbase/examples for more information.

iface lo inet loopback

iface eth0 inet static
        address 111.222.333.206
        netmask 255.255.255.0
        gateway 111.222.333.254

iface eth0:0 inet static
        address 192.168.0.80
        netmask 255.255.255.0

/etc/network# ifup -vn -a
/etc/network# ifup -vn lo
Configuring interface lo=lo (inet)
run-parts /etc/network/if-pre-up.d
ifconfig lo 127.0.0.1 up
run-parts /etc/network/if-up.d
/etc/network# ifup -vn eth0
Configuring interface eth0=eth0 (inet)
run-parts /etc/network/if-pre-up.d
ifconfig eth0 111.222.333.206 netmask 255.255.255.0        up
 route add default gw 111.222.333.254 eth0 
run-parts /etc/network/if-up.d
/etc/network# ifup -vn eth0:0
Configuring interface eth0:0=eth0:0 (inet)
run-parts /etc/network/if-pre-up.d
ifconfig eth0:0 192.168.0.80 netmask 255.255.255.0      up

run-parts /etc/network/if-up.d
/etc/network# 
---

-- 
That's not gibberish...  It's Linux. - Byers, The Lone Gunmen
Geek Code 3.12:  GCS d? s+: a C++ UL++++$ P++>+++ L+++>++++ E- W--(++) N+
o+ !K w--- O M- V? PS+ PE Y+ PGP t 5++ X+ R++ tv+ b+ DI++++ D G e* h r y+



Reply to: