From owner-freebsd-questions@FreeBSD.ORG Tue Aug 1 16:23:02 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7010F16A4DA for ; Tue, 1 Aug 2006 16:23:02 +0000 (UTC) (envelope-from atom.powers@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0B2343D45 for ; Tue, 1 Aug 2006 16:23:01 +0000 (GMT) (envelope-from atom.powers@gmail.com) Received: by py-out-1112.google.com with SMTP id b36so996748pyb for ; Tue, 01 Aug 2006 09:22:59 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=V1HcFc2KK8FLXFFTTnBqcRWhV8fPg5FHnu/3tyN9W21qrf7DFpWO6JqbK7bs3Af31iMCEIIea1mbIYDmZ3/9nAf/F6KIWW+rvosRwiuRSb1c32XknD5Fc233x7x+k56SN5JwX9cTXqJjAsrb5l0C45nWnCx1uw4xz1vDkTAtOdU= Received: by 10.35.127.7 with SMTP id e7mr3623095pyn; Tue, 01 Aug 2006 09:22:59 -0700 (PDT) Received: by 10.35.110.6 with HTTP; Tue, 1 Aug 2006 09:22:59 -0700 (PDT) Message-ID: Date: Tue, 1 Aug 2006 09:22:59 -0700 From: "Atom Powers" To: "Joseph Gleason" In-Reply-To: <7956f3200607311240g740c949cvbea994374967071f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7956f3200607311240g740c949cvbea994374967071f@mail.gmail.com> Cc: questions@freebsd.org Subject: Re: multiple interfaces on same subnet? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Aug 2006 16:23:02 -0000 On 7/31/06, Joseph Gleason wrote: > Is it possible to reach two hosts via two interfaces that are both on > the same subnet? ... > My objective is to have a FreeBSD box balance outbound traffic between > two NICs, while being able to select from among many routers that > could be the default gateway and having the two NICs connect to > different switches for fault tolerance. (I would do the fault > tolerance via a watchdog script of some sort) > Take a look at pf. pf has some very powerful nat rules that should be able to do what you want. Use a table to specify the next-hop and use a pfctl script for your watchdog. -- -- Perfection is just a word I use occasionally with mustard. --Atom Powers--