Multiple gateways support

J. Hellenthal jhell at DataIX.net
Wed Apr 6 12:02:15 UTC 2011


On Wed, Apr 06, 2011 at 01:45:54PM +0400, Eir Nym wrote:
> On 1 April 2011 21:27, Baginski Darren <kickbsd at 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?
> >

From 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=lagg


> 
> 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.

-- 

  Regards,

  J. Hellenthal
  JJH48-ARIN
  0x89D8547E

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 522 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20110406/ac7e6883/attachment.pgp


More information about the freebsd-net mailing list