From dgilbert@daveg.ca  Thu Aug  9 18:24:08 2007
Return-Path: <dgilbert@daveg.ca>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id E93FF16A417
	for <freebsd-gnats-submit@freebsd.org>; Thu,  9 Aug 2007 18:24:08 +0000 (UTC)
	(envelope-from dgilbert@daveg.ca)
Received: from ox.eicat.ca (ox.eicat.ca [66.96.30.35])
	by mx1.freebsd.org (Postfix) with ESMTP id CB3A413C46A
	for <freebsd-gnats-submit@freebsd.org>; Thu,  9 Aug 2007 18:24:08 +0000 (UTC)
	(envelope-from dgilbert@daveg.ca)
Received: by ox.eicat.ca (Postfix, from userid 66)
	id DC242D482; Thu,  9 Aug 2007 14:24:07 -0400 (EDT)
Received: by canoe.dclg.ca (Postfix, from userid 101)
	id 184B761C82; Thu,  9 Aug 2007 14:24:09 -0400 (EDT)
Message-Id: <20070809182409.184B761C82@canoe.dclg.ca>
Date: Thu,  9 Aug 2007 14:24:09 -0400 (EDT)
From: David Gilbert <dgilbert@daveg.ca>
Reply-To: David Gilbert <dgilbert@daveg.ca>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: IPv6 address and if_bridge don't play well together.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         115360
>Category:       kern
>Synopsis:       [ipv6] IPv6 address and if_bridge don't play well together.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-net
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 09 18:30:01 GMT 2007
>Closed-Date:    Sun Jan 27 13:05:42 UTC 2008
>Last-Modified:  Sun Jan 27 13:05:42 UTC 2008
>Originator:     David Gilbert
>Release:        FreeBSD 6.2-RELEASE-p3 i386
>Organization:
DaveG.ca
>Environment:
System: FreeBSD canoe.dclg.ca 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #12: Fri Mar 23 16:39:53 EDT 2007 dgilbert@canoe.dclg.ca:/usr/obj/usr/src/sys/CANOE i386


The machine in question is actually 6-STABLE as of May 13th.
>Description:
On the machine in question, I have a 4 port card that shows up with
the 'dc' driver, and a single PCI card 'em'.  I have cable internet on dc0, dsl on dc3 and local stuff attacked to dc1, dc2 and em0.  In particular, em0 talks to the GigE switch and dc1 and dc2 talk to 100 meg switches ... so as not to waste the scarce GigE ports.

if_bridge says:
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ether 06:fb:3c:26:67:6c
        id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
        maxage 20 holdcnt 6 proto stp maxaddr 100 timeout 1200
        root id 00:00:00:00:00:00 priority 0 ifcost 0 port 0
        member: em0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
        member: dc2 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
        member: dc1 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>

The ipv4 address for the lan is on dc1.  The ipv6 address for the lan _was_
on dc1.  If this is the case, ipv6 nodes on the Gigabit lan (em0) can't
talk to the dc1 address.  If I remove the address from dc1 and place
it on em0, Gigabit clients are happy.  There are no 100meg clients,
so I can't test that right now.
>How-To-Repeat:
configure ipv6 and if_bridge as above.
>Fix:

don't use if_bridge with ipv6?


>Release-Note:
>Audit-Trail:

From: Andrew Thompson <thompsa@FreeBSD.org>
To: bug-followup@FreeBSD.org, dgilbert@daveg.ca
Cc:  
Subject: Re: kern/115360: IPv6 address and if_bridge don't play well together.
Date: Fri, 10 Aug 2007 06:52:13 +1200

 Hi David,
 
 
 Both the ipv4 and ipv6 addresses should really be assigned to the
 bridge0 interface itself. Please report back if it works or not.
 
 
 cheers,
 Andrew
Responsible-Changed-From-To: freebsd-bugs->freebsd-net 
Responsible-Changed-By: remko 
Responsible-Changed-When: Thu Aug 9 19:21:31 UTC 2007 
Responsible-Changed-Why:  
This sounds more suitable for the networking team, reassign. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=115360 

From: David Gilbert <dgilbert@dclg.ca>
To: Andrew Thompson <thompsa@FreeBSD.org>
Cc: bug-followup@FreeBSD.org,
    dgilbert@daveg.ca
Subject: Re: kern/115360: IPv6 address and if_bridge don't play well together.
Date: Thu, 9 Aug 2007 15:13:58 -0400

 >>>>> "Andrew" == Andrew Thompson <thompsa@FreeBSD.org> writes:
 
 Andrew> Hi David, Both the ipv4 and ipv6 addresses should really be
 Andrew> assigned to the bridge0 interface itself. Please report back
 Andrew> if it works or not.
 
 I will test this later this evening as I'm trying to get work done now
 (after having solved the immediate problem).  However, if this is the
 case, I respectfully submit that this should be a doc-bug, then, as
 there is no clue in the if_bridge manual page that addresses on the
 added ethernet segments will not work correctly.
 
 Dave.
 
 -- 
 ============================================================================
 |David Gilbert, Independent Contractor.       | Two things can be          |
 |Mail:       dave@daveg.ca                    |  equal if and only if they |
 |http://daveg.ca                              |   are precisely opposite.  |
 =========================================================GLO================
State-Changed-From-To: open->feedback 
State-Changed-By: kmacy 
State-Changed-When: Fri Nov 16 02:34:19 UTC 2007 
State-Changed-Why:  

Awaiting feedback. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=115360 
State-Changed-From-To: feedback->closed 
State-Changed-By: rwatson 
State-Changed-When: Sun Jan 27 13:04:33 UTC 2008 
State-Changed-Why:  
Close due to feedback timeout (>2 months).  If you have further information 
to help debug this problem, please follow up on the PR and we can reopen it. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=115360 
>Unformatted:
Can you please provide follow-up? Thanks.
