Gateway load balance

Tim Judd tajudd at
Thu Jun 18 00:17:31 UTC 2009

I've not yet had the luck with assigning more than one default gateway
in BSD, compared to Windows and my crash course with Linux (which my
opinion still stands as it was when I first used it).

See my thread I started earlier..

The thread is broken because the replier wrote to me personally for
clarification, after which he sent his answer to the list.

I just recently tried the setfib way, and it still didn't work.  Was
getting errors but I can't recall them at the moment.  So a firewall's
"routing table" that's based on source/destination has to be
redirected.  I've seen the pf firewall do that.

OpenBSD's FAQ on pf (the creator of pf) is very good, consult it if
you have questions.

On 6/17/09, Nikos Vassiliadis <nvass9573 at> wrote:
> Gary Gatten wrote:
>> I meant, the original source flows are nat'd to whatever outbound
>> interface ip they are RRLB to. That way any internal flow can use any isp
>> connection.  Most of my interesting routing, NAT, etc I do with Ci$co so
>> not all that up on BSD's options.
> Yes, works with ci$co, doesn't with FreeBSD ;)
> You cannot add more than one next hop for any given prefix.
> Well, you can achieve almost the same result, but only with
> the help of a packet filter which can bypass the routing table
> lookup and forward to the next hop of preference. But that's
> hardly the same with ECMP which many vendors support...
> Yet, that's about to change. There is ECMP support in 8.0:)
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list