Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Apr 2011 13:39:44 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Eir Nym <eirnym@gmail.com>
Cc:        Baginski Darren <kickbsd@yandex.ru>, freebsd-net@freebsd.org
Subject:   Re: Multiple gateways support
Message-ID:  <4D9C5100.3060806@quip.cz>
In-Reply-To: <BANLkTi=nNSeMmum3Ecoca2RFuQZS2BvbBA@mail.gmail.com>
References:  <1128701301678831@web100.yandex.ru> <BANLkTi=nNSeMmum3Ecoca2RFuQZS2BvbBA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Eir Nym wrote:
> On 1 April 2011 21:27, Baginski Darren<kickbsd@yandex.ru>  wrote:
>> Hi!
>>
>> Could please someone tell me about current state of multiple gw capabilities of FreeBSD?
>> I have dual homed FreeBSD box, one interface ISP1 another ISP2 :
>> 1) can I balance outgoing traffic across them ?
>> 2) Is there support of any kind dead gateway detection?
>> 3) Can I install multiple routes to the same network (with same and with different wight)? If yes how it behaves with one link failure, in particular if interface is down?
>
> about multiply GWs: you can set multiply gw via setfib(1) utility and
> use fib in your firewall rules. But it is not very handy with DHCP and
> rc(8) (setfib is located in /usr/bin and can't be used in /etc/rc.d).
> Due to this I have to add another FreeBSD box to handle dynamic
> routes.
>
> This is the one thing I know which can I do in linux easily and in
> freebsd with hacks.

There were some attempts to add setfib support to rc.subr, but it was 
not committed:
http://www.freebsd.org/cgi/query-pr.cgi?pr=conf/132483

I don't know the reason.

Miroslav Lachman



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