From owner-freebsd-net@FreeBSD.ORG Wed Jun 29 08:04:03 2005 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 5236316A41C for ; Wed, 29 Jun 2005 08:04:03 +0000 (GMT) (envelope-from dnr@freemail.lt) Received: from relay.erdves.lt (relay.erdves.lt [217.9.240.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 138BC43D1D for ; Wed, 29 Jun 2005 08:04:02 +0000 (GMT) (envelope-from dnr@freemail.lt) Received: from donatas (p2p-241-242-ird.vln0.lrtc.net [217.9.241.242]) by relay.erdves.lt (Postfix) with ESMTP id 08B79598584 for ; Wed, 29 Jun 2005 11:04:10 +0300 (EEST) Message-ID: <03ce01c57c81$1b980460$9f90a8c0@DONATAS> From: "dnr" To: Date: Wed, 29 Jun 2005 11:04:00 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-4" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: ipfw2 question X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jun 2005 08:04:03 -0000 hello, i'm solving such a problem: router with 3 eth i-faces: em0(vlan10) (vlan1000)fxp0 em1(vlan11) I need to split traffic into two pipes pipe1 from vlan10 to vlan1000 pipe2 from vlan11 to vlan1000 fxp side supplys traffic to many different subnets em0 is trunk to the world networks em1 is trunk to the national networks so I cannot write these rules in IP level.... doing it in the following way doesn't works... ipfw add pipe1 pass all from any to any via vlan10 in recv vlan1000 ipfw add pipe1 pass all from any to any via vlan10 out xmit vlan1000