Bug#679954: ifdown on virtual interface takes down other virtual interface on the same subnet

2012-07-05 Thread H . Watnou

Hello,

tried your suggestion, but the problem persists. Peculiarly with both 
virtual interfaces up, ifdown eth0:1 now also shows odd behavior. After 
issuing the command, the virtual interface is still shown by ifconfig.


Best regards,
A. Coward.




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#679954: ifdown on virtual interface takes down other virtual interface on the same subnet

2012-07-02 Thread H . Watnou

Package: ifupdown
Version: 0.6.10

If more virtual interfaces are defined with the same subnet, taking the 
first down with ifdown seems to take them all down.


An example.
# cat /etc/network/interfaces

# The loopback network interface
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
  address 10.10.10.13
  netmask 255.255.255.0

auto eth0:0
iface eth0:0 inet static
  address 192.168.1.11
  netmask 255.255.255.0

auto eth0:1
iface eth0:1 inet static
  address 192.168.1.12
  netmask 255.255.255.0

So eth0 is in a different subnet from eth0:0 and eth0:1 and the latter 
two are in exactly the same subnet. Make sure everything is up.


# /etc/init.d/networking restart
# ifconfig
eth0  Link encap:Ethernet  HWaddr 00:0c:29:f0:74:73
  inet addr:10.10.10.13  Bcast:10.10.10.255 Mask:255.255.255.0
  inet6 addr: fe80::20c:29ff:fef0:7473/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:9580 errors:0 dropped:0 overruns:0 frame:0
  TX packets:5840 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:11324732 (10.8 MiB)  TX bytes:446804 (436.3 KiB)

eth0:0Link encap:Ethernet  HWaddr 00:0c:29:f0:74:73
  inet addr:192.168.1.11  Bcast:192.168.1.255 Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

eth0:1Link encap:Ethernet  HWaddr 00:0c:29:f0:74:73
  inet addr:192.168.1.12  Bcast:192.168.1.255 Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

loLink 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:8 errors:0 dropped:0 overruns:0 frame:0
  TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:560 (560.0 B)  TX bytes:560 (560.0 B)

When the first virtual interface is brought down, the second is brought 
down alongside:


# ifdown eth0:0
# ifconfig
eth0  Link encap:Ethernet  HWaddr 00:0c:29:f0:74:73
  inet addr:10.10.10.13  Bcast:10.10.10.255 Mask:255.255.255.0
  inet6 addr: fe80::20c:29ff:fef0:7473/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:9608 errors:0 dropped:0 overruns:0 frame:0
  TX packets:5860 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:11327256 (10.8 MiB)  TX bytes:450216 (439.6 KiB)

loLink 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:8 errors:0 dropped:0 overruns:0 frame:0
  TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:560 (560.0 B)  TX bytes:560 (560.0 B)

Expected behavior would be that eth0:1 would still be up. ifdown eth0:1 
does not have the same effect on  eth0:0, it stays up.


Debian 6.0.5, kernel 2.6.32-5-amd64.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#679954: ifdown on virtual interface takes down other virtual interface on the same subnet

2012-07-02 Thread Andrew Shadura
Hello,

On Mon, 2 Jul 2012 18:52:37 +0200
H.Watnou huhwat...@hotmail.com wrote:

 If more virtual interfaces are defined with the same subnet, taking
 the first down with ifdown seems to take them all down.

Please try ifupdown 0.7.1 from unstable.

-- 
WBR, Andrew


signature.asc
Description: PGP signature