Hello, On Thu, 06 Jun 2013 17:48:54 -0400 Anthony Verevkin <anth...@flightnetwork.com> wrote:
> # ifdown -v eth0:1 > .... ifdown will try to run "ip link del eth0:1" which yields an > error in case eth0 is a physical interface or takes the whole > interface down if it is bonding or vlan tagged interface. Anthony, that's not true: $ ./ifdown -nv --force -i tests/testcase.8 eth1:1 Configuring interface eth1:1=eth1:1 (inet) run-parts --verbose /etc/network/if-down.d ip -4 addr flush dev eth1:1 label eth1:1 run-parts --verbose /etc/network/if-post-down.d $ ./ifdown --version | head -n1 ./ifdown version 0.7 What Matthias has reported is true, however: $ ./ifdown -nv --force -i tests/testcase.8 eth2.2:3 Configuring interface eth2.2:3=eth2.2:3 (inet) run-parts --verbose /etc/network/if-down.d ip -4 addr flush dev eth2.2:3 label eth2.2:3 run-parts --verbose /etc/network/if-post-down.d ip link del eth2.2:3 Which means the thing happens only when interface in question is a VLAN interface. -- WBR, Andrew
signature.asc
Description: PGP signature