kern/115360: IPv6 address and if_bridge don't play well together.

David Gilbert dgilbert at daveg.ca
Thu Aug 9 11:30:02 PDT 2007


>Number:         115360
>Category:       kern
>Synopsis:       IPv6 address and if_bridge don't play well together.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 09 18:30:01 GMT 2007
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:


More information about the freebsd-bugs mailing list