From owner-freebsd-net Fri Aug 30 9: 0:26 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 62B6237B400 for ; Fri, 30 Aug 2002 09:00:20 -0700 (PDT) Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AD3443E65 for ; Fri, 30 Aug 2002 09:00:20 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: from iguana.icir.org (localhost [127.0.0.1]) by iguana.icir.org (8.12.3/8.11.3) with ESMTP id g7UG0EIb054069; Fri, 30 Aug 2002 09:00:14 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: (from rizzo@localhost) by iguana.icir.org (8.12.3/8.12.3/Submit) id g7UG0CrK054051; Fri, 30 Aug 2002 09:00:12 -0700 (PDT) (envelope-from rizzo) Date: Fri, 30 Aug 2002 09:00:12 -0700 From: Luigi Rizzo To: Jui-Nan Eric Lin Cc: freebsd-net@FreeBSD.ORG Subject: Re: Question about bridge(4): loop without physical loop Message-ID: <20020830090012.A53982@iguana.icir.org> References: <001101c24f3f$e39f5840$fa01a8c0@synvision.com.tw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <001101c24f3f$e39f5840$fa01a8c0@synvision.com.tw>; from ericlin@ericlin.cabin.idv.tw on Thu, Aug 29, 2002 at 05:38:19PM +0800 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org hi, these might be runt packets deriving e.g. from junk on the link. It is the first time that i see such reports so haven't worried too much about it. a possible fix could be to avoid bridging of packets that are too short for the ethernet specs or have crc errors. if the problem shows up frequently and you are willing to try some patches let me know, i could try to send you some code to fix this. cheers luigi On Thu, Aug 29, 2002 at 05:38:19PM +0800, Jui-Nan Eric Lin wrote: > Hi, all: > > I have installed bridge on my freebsd box, but the message showed on the > screen frequently and the network halted (packet missing): > > /kernel: -- loop (0) 55.55.55.55.55.55 to fxp1 from fxp0 (active) > /kernel: -- loop (0) 55.55.55.55.55.55 to fxp0 from fxp1 (active) > > It' weird because I didn't have a NIC which has mac address > 55.55.55.55.55.55. > I have searched with Google, and found the message below: > > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=180949+0+archive/2002/freebsd-n > et/20020707.freebsd-net > > It seems that bridge supports only NICs with "SIMPLEX" flag. > Therefore, I checked result of "ifconfig -a", but my two Intel 82550 (fxp0, > fxp1) has "SIMPLEX" flag: > > fxp0: flags=8943 mtu 1500 > fxp1: flags=8943 mtu 1500 > > Any suggestion? > > P.S. #1 sysctl -a | grep bridge > > #sysctl -a | grep bridge > net.link.ether.bridge_cfg: fxp0,fxp1 > net.link.ether.bridge: 1 > net.link.ether.bridge_ipfw: 1 > net.link.ether.bridge_ipf: 0 > net.link.ether.bridge_ipfw_drop: 0 > net.link.ether.bridge_ipfw_collisions: 749 > > P.S.#2 Sorry for my poor English :) > > Sincerely, > Jui-Nan Eric Lin > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message