From owner-freebsd-net Fri Apr 12 5:23: 3 2002 Delivered-To: freebsd-net@freebsd.org Received: from mail1.kth.se (mail1.kth.se [130.237.32.62]) by hub.freebsd.org (Postfix) with ESMTP id 22A3737B400; Fri, 12 Apr 2002 05:22:59 -0700 (PDT) Received: from kth.se (yorick.admin.kth.se [130.237.32.55]) by mail1.kth.se (8.11.5/8.11.5) with SMTP id g3CCMu618868; Fri, 12 Apr 2002 14:22:57 +0200 (MEST) Message-ID: <55080-220024512122257348@kth.se> X-EM-Version: 6, 0, 1, 0 X-EM-Registration: #0000630010A41E00EC40 X-Originating-IP: 130.237.50.53 From: "Yidan Zhou" To: cjc@FreeBSD.ORG, zyd@kth.se Cc: freebsd-net@FreeBSD.ORG Subject: =?iso-8859-1?Q?Re: Re: How can I use ng bpf?= Date: Fri, 12 Apr 2002 14:22:57 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 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 Crist, But the bridge(4) can control bridge group very well. On my Freebsd box there are 2 physical ethernet interfaces and 1 virtual ethernet interface(created by TAP). I just want to put 1 physical interface and the virtual interface into 1 bridge group.But everytime after I start the bridge(4), the other physical one is always in the bridge group. That's why I switch to netgraph bridge. Anyway thank you very much! //Edward Zhou ------- Original message ------- From: cjc@FreeBSD.ORG Date: Thu, 11 Apr 2002 23:07:32 -0700 On Thu, Apr 11, 2002 at 12:26:25AM +0200, Yidan Zhou wrote: > Hi all, > I want to set up a bridge with filtering function on Freebsd. I checked > some webpages which mention that I can ng_bpf to implement filtering. But > the freebsd man page of ng_bpf is not clear(especially, how to use ngctl to > configure step by step). Has anybody a sample configuration or a example? ipfw(8) will filter with bridge(4) just fine. I have a simple patch on the website below to get ipf(8) to filter with bridge(4) too. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message