From owner-freebsd-ipfw Fri Oct 6 22:50:43 2000 Delivered-To: freebsd-ipfw@freebsd.org Received: from rapidnet.com (rapidnet.com [205.164.216.1]) by hub.freebsd.org (Postfix) with ESMTP id 11FBD37B671 for ; Fri, 6 Oct 2000 22:50:40 -0700 (PDT) Received: from localhost (nick@localhost) by rapidnet.com (8.9.3/8.9.3) with ESMTP id XAA69748; Fri, 6 Oct 2000 23:50:32 -0600 (MDT) Date: Fri, 6 Oct 2000 23:50:32 -0600 (MDT) From: Nick Rogness To: cjclark@alum.mit.edu Cc: achilov@granch.ru, freebsd-ipfw@FreeBSD.ORG Subject: Re: Where I was wrong? In-Reply-To: <20001006211946.O25121@149.211.6.64.reflexcom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 6 Oct 2000, Crist J . Clark wrote: > On Fri, Oct 06, 2000 at 11:17:15PM +0700, Rashid N. Achilov wrote: > > I have a some FreeBSD box, connected to two different ISPs and my own > > private network. For example first ISP is 10.0.0.0/24, second > > 10.0.1.0/24 and my own network is 10.0.2.0/24, and FreeBSD router has: > > 10.0.0.1 to first ISP (10.0.0.2 other side, interface fxp0), 10.0.1.1 to > > second (10.0.1.2 other side, interface rl0) and 10.0.2.1 to private > > (interface ed0). My box in private is 10.0.2.2 and there are some other > > Windozes... > The 'fwd' command probably does not do what you think. Read ipfw(8) > again. > > I don't understand what you want to do when you say you wish to > 'forward all traffic to the first ISP.' Are we just talking about > routing here? He is trying to do source address/policy routing. AFAIK, fwd is the only way I know how to do that with FBSD...unless someone has a better way to do this type of source routing? Nick Rogness - Drive defensively. Buy a tank. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message