From owner-freebsd-net Mon Aug 12 21:57:32 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 0B35437B400 for ; Mon, 12 Aug 2002 21:57:31 -0700 (PDT) Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93C3F43E77 for ; Mon, 12 Aug 2002 21:57:30 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020813045727.CZAZ19356.rwcrmhc51.attbi.com@blossom.cjclark.org>; Tue, 13 Aug 2002 04:57:27 +0000 Received: from blossom.cjclark.org (localhost. [127.0.0.1]) by blossom.cjclark.org (8.12.3/8.12.3) with ESMTP id g7D4vQJK002151; Mon, 12 Aug 2002 21:57:26 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: (from cjc@localhost) by blossom.cjclark.org (8.12.3/8.12.3/Submit) id g7D4vO41002150; Mon, 12 Aug 2002 21:57:24 -0700 (PDT) X-Authentication-Warning: blossom.cjclark.org: cjc set sender to crist.clark@attbi.com using -f Date: Mon, 12 Aug 2002 21:57:24 -0700 From: "Crist J. Clark" To: Ulrich Kiermayr Cc: freebsd-net@FreeBSD.ORG Subject: Re: Source Based Routing of locally originated connections Message-ID: <20020813045724.GC1675@blossom.cjclark.org> Reply-To: "Crist J. Clark" References: <20020810213354.A1086673@ap.univie.ac.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020810213354.A1086673@ap.univie.ac.at> User-Agent: Mutt/1.4i X-URL: http://people.freebsd.org/~cjc/ 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 On Sat, Aug 10, 2002 at 09:33:54PM +0200, Ulrich Kiermayr wrote: > Hello list, > > I have the following Question: I know that i can use either ipfinler > (fastroute) or ipfw (fwd) to acomplish source based touting of packets > going through my machine. > > Now I have a machine with several ip-Addresses, and i want to route > packets differenly depending on which of the local addresses is the > source address of the packet. > > Is this possible, and if yes how? ipfw(8) doesn't care if the packets originate locally or are being forwarded. -- 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