Package: bridge-utils
Version: 1.5-2
Severity: normal
Tags: patch

This is in response to the following bug report,
Disable ipv6 on the interfaces of the bridge. Closes: #607741.

It sounds like a good idea, but it left me really confused as to what
happened to my IPv6 link local address and autoconfiguration on eth0
after I took down the bridge and connected to a different network.
Here's a patch to enable IPv6 again when the bridge is taken down.

--- ifupdown.sh.orig    2011-12-10 15:23:05.000000000 -0600
+++ ifupdown.sh 2011-12-10 15:22:47.000000000 -0600
@@ -81,6 +81,10 @@ do
         if [ -x /etc/network/if-post-down.d/vlan ]; then
           env IFACE=$port /etc/network/if-post-down.d/vlan
         fi
+      if [ -f /proc/sys/net/ipv6/conf/$port/disable_ipv6 ]
+      then
+        echo 0 > /proc/sys/net/ipv6/conf/$port/disable_ipv6
+      fi
     fi
   done
 done

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-rc4+ (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash

Versions of packages bridge-utils depends on:
ii  libc6  2.13-21

bridge-utils recommends no packages.

Versions of packages bridge-utils suggests:
ii  ifupdown  0.7~alpha5+really0.6.16

-- no debconf information



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

Reply via email to