Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Aug 2005 17:53:25 +0900
From:      Hajimu UMEMOTO <ume@freebsd.org>
To:        Mark Andrews <Mark_Andrews@isc.org>
Cc:        stable@freebsd.org
Subject:   Re: IPv6 router solicitation not being received
Message-ID:  <ygeoe844zy2.wl%ume@mahoroba.org>
In-Reply-To: <200508110055.j7B0tNOp047256@drugs.dv.isc.org>
References:  <200508110055.j7B0tNOp047256@drugs.dv.isc.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

>>>>> On Thu, 11 Aug 2005 10:55:23 +1000
>>>>> Mark Andrews <Mark_Andrews@isc.org> said:

Mark_Andrews> 	I have a problem in that the router solicitations are not
Mark_Andrews> 	being received by my FreeBSD IPv6 router unless I enable
Mark_Andrews> 	promiscuous mode on the tx0 interface.  This causes delays
Mark_Andrews> 	to autoconf for other IPv6 boxes on the net until the
Mark_Andrews> 	periodic router announcement is sent.

Mark_Andrews> 	This leads me to believe that either the multicast hash
Mark_Andrews> 	function is wrong or the request for multicast reception
Mark_Andrews> 	on the interface is not getting through to the driver.

Mark_Andrews> 	"rtadvd tx0" is running so theoretically it should be getting
Mark_Andrews> 	through.  Anyone aware of any issues in this area?  Yes the
Mark_Andrews> 	kernel is a bit old and needs to be updated.

Could you try this patch?  Since I don't have SMC 83c170 card, I
cannot test it by myself.

Index: sys/dev/tx/if_tx.c
diff -u -p sys/dev/tx/if_tx.c.orig sys/dev/tx/if_tx.c
--- sys/dev/tx/if_tx.c.orig	Tue Oct 29 10:43:49 2002
+++ sys/dev/tx/if_tx.c	Thu Aug 11 17:47:45 2005
@@ -1274,7 +1274,7 @@ epic_set_mc_table(sc)
 {
 	struct ifnet *ifp = &sc->sc_if;
 	struct ifmultiaddr *ifma;
-	u_int16_t filter[4];
+	u_int32_t filter[4];
 	u_int8_t h;
 
 	if (ifp->if_flags & (IFF_ALLMULTI | IFF_PROMISC)) {


Sincerely,

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume@mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ygeoe844zy2.wl%ume>