From mohacsi@niif.hu  Mon Feb 25 15:27:06 2008
Return-Path: <mohacsi@niif.hu>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id AA69716A401
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 25 Feb 2008 15:27:06 +0000 (UTC)
	(envelope-from mohacsi@niif.hu)
Received: from mail.ki.iif.hu (mail.ki.iif.hu [IPv6:2001:738:0:411::241])
	by mx1.freebsd.org (Postfix) with ESMTP id 9277A13C469
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 25 Feb 2008 15:27:05 +0000 (UTC)
	(envelope-from mohacsi@niif.hu)
Received: from localhost (localhost [IPv6:::1])
	by mail.ki.iif.hu (Postfix) with ESMTP id 884A784466
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 25 Feb 2008 16:27:04 +0100 (CET)
Received: from mail.ki.iif.hu ([127.0.0.1])
	by localhost (mignon.ki.iif.hu [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id csMvSNOyIaCj for <FreeBSD-gnats-submit@freebsd.org>;
	Mon, 25 Feb 2008 16:26:57 +0100 (CET)
Received: by mail.ki.iif.hu (Postfix, from userid 9002)
	id 8BFD784855; Mon, 25 Feb 2008 16:26:57 +0100 (CET)
Message-Id: <20080225152657.8BFD784855@mail.ki.iif.hu>
Date: Mon, 25 Feb 2008 16:26:57 +0100 (CET)
From: Mohacsi Janos <mohacsi@niif.hu>
Reply-To: Mohacsi Janos <janos.mohacsi@bsd.hu>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: IPv6 NUD problem on multi address config on bge0
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         121080
>Category:       kern
>Synopsis:       [bge] IPv6 NUD problem on multi address config on bge0
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    yongari
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 25 15:30:03 UTC 2008
>Closed-Date:    Fri Aug 27 17:58:59 UTC 2010
>Last-Modified:  Fri Aug 27 17:58:59 UTC 2010
>Originator:     Mohacsi Janos
>Release:        FreeBSD 6.3-STABLE i386
>Organization:
NIIF
>Environment:
System: FreeBSD mignon.ki.iif.hu 6.3-STABLE FreeBSD 6.3-STABLE #11: Thu Feb 21 22:34:31 CET 2008 root@mignon.ki.iif.hu:/usr/obj/usr/src/sys/MIGNON2 i386


	
>Description:

	If more than one IPv6 address is configured on a bge0 interface, the 
	system does not answer to neighbor solicitation messages.
	After a tcpdump (probably because of promiscous mode) it starts 
	answering.
	I suspect a bug introduced somewhere between FreBSD 6.2 and FreeBSD 6.3-Stable in bge(4) multicast initialisation code. Multicast is essential in IPv6 autoconfiguration.

	bge part of kernel:
bge0: <Broadcom BCM5701 B5, ASIC rev. 0x105> mem 0xfcd10000-0xfcd1ffff irq 28 at device 6.0 on pci3
miibus0: <MII bus> on bge0
brgphy0: <BCM5701 10/100/1000baseTX PHY> on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
bge0: Ethernet address: 00:06:5b:f3:1a:bc

	
>How-To-Repeat:
	Try configuring multiple address on FreeBSD 6.3 system 
	relevant part of /etc/rc.conf
ipv6_ifconfig_bge0="2001:0db8:0:11::240/64"
ipv6_ifconfig_bge0_alias0="2001:0db8:0:11::241/64"
ipv6_ifconfig_bge0_alias1="2001:0db8:0:11::242/64"
ipv6_enable="YES"
ipv6_default_interface="bge0"


Try pinging outside of the tested machine. Until you don't enable promiscours 
only the first interface address will be active.

>Fix:

	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-net 
Responsible-Changed-By: vwe 
Responsible-Changed-When: Thu May 8 21:29:08 UTC 2008 
Responsible-Changed-Why:  

Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121080 
Responsible-Changed-From-To: freebsd-net->yongari 
Responsible-Changed-By: andre 
Responsible-Changed-When: Mon Aug 23 18:11:03 UTC 2010 
Responsible-Changed-Why:  
Over to expert. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121080 
State-Changed-From-To: open->feedback 
State-Changed-By: yongari 
State-Changed-When: Fri Aug 27 00:18:28 UTC 2010 
State-Changed-Why:  
Is it still issue on more recent FreeBSD releases, say 8.1-RELEASE 
or 7.3-RELEASE? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121080 
State-Changed-From-To: feedback->closed 
State-Changed-By: yongari 
State-Changed-When: Fri Aug 27 17:58:37 UTC 2010 
State-Changed-Why:  
Submitter confirms that 6.4-RELEASE fixed the issue. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121080 
>Unformatted:
