netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Fw: [Bugme-new] [Bug 4189] New: IPv6 link local addresses are not assigned correctly on multiple-bonding enviromrnts
@ 2005-02-10  8:23 Andrew Morton
  2005-02-10  9:22 ` YOSHIFUJI Hideaki / 吉藤英明
  0 siblings, 1 reply; 14+ messages in thread
From: Andrew Morton @ 2005-02-10  8:23 UTC (permalink / raw)
  To: netdev



Begin forwarded message:

Date: Thu, 10 Feb 2005 00:00:14 -0800
From: bugme-daemon@osdl.org
To: bugme-new@lists.osdl.org
Subject: [Bugme-new] [Bug 4189] New: IPv6 link local addresses are not assigned correctly on multiple-bonding enviromrnts


http://bugme.osdl.org/show_bug.cgi?id=4189

           Summary: IPv6 link local addresses are not assigned correctly on
                    multiple-bonding enviromrnts
    Kernel Version: 2.6.10
            Status: NEW
          Severity: normal
             Owner: yoshfuji@linux-ipv6.org
         Submitter: ikebe.takashi@lab.ntt.co.jp


Distribution:Fedora core 3
Hardware Environment: x86, x86_64, NIC is e1000 x4
Software Environment: kernel 2.6.10
Problem Description:
IPv6 link local addresses are not assigned correctly on multiple-bonding
enviromrnts.
Same link local address is assigned to bond0 & bond1

bond0     Link encap:Ethernet  HWaddr 00:04:23:A8:F7:78
          inet addr:129.60.11.15  Bcast:129.60.11.255  Mask:255.255.255.0
          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:4109866 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2624 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:360539888 (343.8 MiB)  TX bytes:352807 (344.5 KiB)

bond1     Link encap:Ethernet  HWaddr 00:04:23:A8:F7:79
          inet addr:129.60.11.21  Bcast:129.60.11.255  Mask:255.255.255.0
          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:2483103 errors:0 dropped:0 overruns:0 frame:0
          TX packets:378 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:221572495 (211.3 MiB)  TX bytes:47244 (46.1 KiB)

In the source, net/ipv6/addrconf.c, there is a function;
static int ipv6_generate_eui64(u8 *eui, struct net_device *dev)

It create ipv6 address from MAC address, however it seems dev->dev_addr is "0"
in the case of bonding.

Steps to reproduce:
1.set the multiple bonding to the machine.
(In my case, set 4 nics to use the bonding, and set the double bond as following
modprobe.conf.
alias bond0 bonding
options bond0 miimon=100 mode=1 max_bonds=2
options bond1 -o bonding1 miimon=100 mode=1
)
2.start the network.
3.show /sbin/ifconfig and check link local address.

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2005-02-11  3:44 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-10  8:23 Fw: [Bugme-new] [Bug 4189] New: IPv6 link local addresses are not assigned correctly on multiple-bonding enviromrnts Andrew Morton
2005-02-10  9:22 ` YOSHIFUJI Hideaki / 吉藤英明
2005-02-10  9:25   ` YOSHIFUJI Hideaki / 吉藤英明
2005-02-10 11:59     ` Takashi Ikebe
2005-02-10 18:17   ` [Bonding-devel] " Jay Vosburgh
2005-02-10 20:27     ` David S. Miller
2005-02-10 21:26       ` Rick Jones
2005-02-11  2:40       ` Jay Vosburgh
2005-02-11  3:44         ` David S. Miller
2005-02-10 20:25   ` David S. Miller
2005-02-11  0:29     ` YOSHIFUJI Hideaki / 吉藤英明
2005-02-11  1:06       ` David S. Miller
2005-02-11  1:40       ` Rick Jones
2005-02-11  2:17         ` YOSHIFUJI Hideaki / 吉藤英明

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).