Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Apr 2011 08:02:07 -0400
From:      "J. Hellenthal" <jhell@DataIX.net>
To:        Baginski Darren <kickbsd@yandex.ru>
Cc:        Baginski Darren <kickbsd@yandex.ru>, freebsd-net@freebsd.org
Subject:   Re: Multiple gateways support
Message-ID:  <20110406120207.GA32062@DataIX.net>
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

--WIyZ46R2i8wDzkSu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Apr 06, 2011 at 01:45:54PM +0400, 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 capabil=
ities 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 wit=
h different wight)? If yes how it behaves with one link failure, in particu=
lar if interface is down?
> >

=46rom what you said here it seems that your looking for lagg(4) with
configured with the loadbalance option. Give this man page [1] a
thorough read and youll probably see what your looking for.

1) http://www.freebsd.org/cgi/man.cgi?query=3Dlagg


>=20
> 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.
>=20
> This is the one thing I know which can I do in linux easily and in
> freebsd with hacks.

--=20

  Regards,

  J. Hellenthal
  JJH48-ARIN
  0x89D8547E


--WIyZ46R2i8wDzkSu
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)
Comment: http://bit.ly/0x89D8547E

iQEcBAEBAgAGBQJNnFY+AAoJEJBXh4mJ2FR+qrIH/0gbhT7VEuA6sHzG8c1uTm3P
DZMI1OL8KDvUMsTYIJoG/EPkyFc1XgCg6H4tFBBs+xe1myLtorDByP739SjPzGvm
UOK9DzHrou9DyH0i+cjGhNd/vHaljEQvbTjyb1BpjLIQne/GvYL2/qa57RvjbYAr
kRlwpq6naqGoHKYdp6rVbv3tvovXEE81zHTQGt/cIsZfVoAc3YIlOiDQgokK3bOt
WIkpc90pm3oA3L6g7zhGMWzpV69qoQgnyuNr/XEDod05aCWWIrBKXIn0e4rsdPoR
/jBldT2geE74ARPia4FSttgjSKHV3ziCD8IrssV7IebA7ngmUBUDBackOJr9dp0=
=oBXz
-----END PGP SIGNATURE-----

--WIyZ46R2i8wDzkSu--



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