[Virtual-pkg-base-maintainers] Bug#636508: base: Network configuration with IPv6 + Bonding gives many unexpected results

Wouter van Eekelen wouter at snelis.com
Wed Aug 3 16:21:05 UTC 2011


Package: base
Severity: important
Tags: squeeze

I'm using this network configuration for IPv6 + bonding, but it isn't working as it should.
I've replaced the IP addresses with xx.xx.xx.xx because this is a private system.

----
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface (IPv4)
auto bond0
iface bond0 inet static
        address xx.xx.xx.xx
        netmask 255.255.255.0
        gateway xx.xx.xx.xx
        slaves eth0 eth1
        bond_mode balance-tlb
        bond_miimon 100
        bond_downdelay 200
        bond_updelay 200

# The primary network interface (IPv6)
iface bond0 inet6 static
        address xxxx:xxxx:xxxx:1::1
        netmask 64
        gateway xxxx:xxxx:xxxx::1
        up /sbin/ifconfig bond0 inet6 add xxxx:xxxx:xxxx:1::2
        up /sbin/ifconfig bond0 inet6 add xxxx:xxxx:xxxx:1::3
        up /sbin/ifconfig bond0 inet6 add xxxx:xxxx:xxxx:1::4
        up /sbin/ifconfig bond0 inet6 add xxxx:xxxx:xxxx:1::5
        up /sbin/ifconfig bond0 inet6 add xxxx:xxxx:xxxx:1::6
        up /sbin/ifconfig bond0 inet6 add xxxx:xxxx:xxxx:1::7
        up /sbin/ifconfig bond0 inet6 add xxxx:xxxx:xxxx:1::8
        up /sbin/ifconfig bond0 inet6 add xxxx:xxxx:xxxx:1::9
        up /sbin/ifconfig bond0 inet6 add xxxx:xxxx:xxxx:1::10
        up /sbin/ifconfig bond0 inet6 add xxxx:xxxx:xxxx:1::11
        up /sbin/ifconfig bond0 inet6 add xxxx:xxxx:xxxx:1::12
        up /sbin/ifconfig bond0 inet6 add xxxx:xxxx:xxxx:1::13
        up /sbin/ifconfig bond0 inet6 add xxxx:xxxx:xxxx:1::14
        up /sbin/ifconfig bond0 inet6 add xxxx:xxxx:xxxx:1::15
        up /sbin/ifconfig bond0 inet6 add xxxx:xxxx:xxxx:1::16
        up /sbin/ifconfig bond0 inet6 add xxxx:xxxx:xxxx:1::17
        up /sbin/ifconfig bond0 inet6 add xxxx:xxxx:xxxx:1::18
        up /sbin/ifconfig bond0 inet6 add xxxx:xxxx:xxxx:1::19
        up /sbin/ifconfig bond0 inet6 add xxxx:xxxx:xxxx:1::20
----

When I reboot, everything is pinging besides the additional IPv6 addresses (the 'up /sbin/ifconfig' lines).
When running these lines (without the 'up' bit) on SSH they all start pinging and work fine.

Besides this, all networking related commands completely break networking and require a reboot.
When I do '/etc/init.d/networking stop', all networking stops, but the bond0 device stays in ifconfig (not pinging)
When I then do '/etc/init.d/networking start', all devices are added to ifconfig again, but still nothing pings
When I then do 'ifup bond0', it says 'bond0 is not a configured device'
When I do 'ifconfig bond0 down' it goes down and is gone from ifconfig
When I do 'ifconfig bond0 up' it comes back in ifconfig and is not working

So the two problems are that I need to keep rebooting for network changes and manually adding the additional IPv6 addresses.

-- System Information:
Debian Release: 6.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash





More information about the Virtual-pkg-base-maintainers mailing list