From owner-freebsd-net@FreeBSD.ORG Mon Oct 16 11:25:48 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 4419E16A415 for ; Mon, 16 Oct 2006 11:25:48 +0000 (UTC) (envelope-from shteryana@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BB3F43D5D for ; Mon, 16 Oct 2006 11:25:22 +0000 (GMT) (envelope-from shteryana@gmail.com) Received: by nz-out-0102.google.com with SMTP id o37so347250nzf for ; Mon, 16 Oct 2006 04:25:19 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=rkxxcCP6rLo9MEONhFFmhvcRnQYdTNcVMuaW9UljMA2sCOZ1h1t7/L+oRqkjFu1qb8bokaoO9mBev2HIrAZVEF4/t7YUH2ziU/hqBAGVvN9F0UH6zNMexsYDGCVUYX4uKGpE4VlAGRmsnmjOrNAN7nQOXwOt3Dzt4aNA50w/Zt8= Received: by 10.65.234.3 with SMTP id l3mr9832055qbr; Mon, 16 Oct 2006 04:25:19 -0700 (PDT) Received: by 10.65.121.10 with HTTP; Mon, 16 Oct 2006 04:25:19 -0700 (PDT) Message-ID: <61b573980610160425x556f83a3obff10ae0e6e75991@mail.gmail.com> Date: Mon, 16 Oct 2006 14:25:19 +0300 From: "Shteryana Shopova" Sender: shteryana@gmail.com To: "Jon Otterholm" In-Reply-To: <61b573980610160412j7db5e2feief7998cc1ccc074a@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45335BB1.6050809@ide.resurscentrum.se> <61b573980610160412j7db5e2feief7998cc1ccc074a@mail.gmail.com> X-Google-Sender-Auth: 65ae80c8939df46b Cc: freebsd-net@freebsd.org Subject: Re: If_bridge behaving as HUB X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: syrinx@FreeBSD.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Oct 2006 11:25:48 -0000 On 10/16/06, Shteryana Shopova wrote: > On 10/16/06, Jon Otterholm wrote: > > Hi. > > > > I have a bridge setup with a number of vlan IF's as members. After a > > while traffic destined for one member IF are sent to all member IF's. > > > > From man if_bridge: > > > > A bridge works like a hub, forwarding traffic from one interface to > > another. Multicast and broadcast packets are always forwarded to all > > interfaces that are part of the bridge. For unicast traffic, the > > bridge > > learns which MAC addresses are associated with which interfaces and > > will > > forward the traffic selectively. > > > > Has anyone else got this problem? How do I debug this? > > > > #ifconfig bridge0 addr > will show the addresses learnt on the bridge - the destination MACs of > the packets you're sending should be present in the address table, > learnt on the interface you want the packets switched to. Are you > running STP on the bridge? Could it be that the bridge address table > was not properly flushed on a link up/down? > Could be aslo you're exceeding the max number of entries in bridge table (100 by default) - (you can change that with #ifconfig bridge0 maxaddr N) Shteryana