Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Aug 2006 09:22:59 -0700
From:      "Atom Powers" <atom.powers@gmail.com>
To:        "Joseph Gleason" <fireduck@gmail.com>
Cc:        questions@freebsd.org
Subject:   Re: multiple interfaces on same subnet?
Message-ID:  <df9ac37c0608010922r614d4c7ci41be5917ac0d460c@mail.gmail.com>
In-Reply-To: <7956f3200607311240g740c949cvbea994374967071f@mail.gmail.com>
References:  <7956f3200607311240g740c949cvbea994374967071f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7/31/06, Joseph Gleason <fireduck@gmail.com> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?df9ac37c0608010922r614d4c7ci41be5917ac0d460c>