From owner-freebsd-net@FreeBSD.ORG Wed Apr 6 12:02:15 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F5B11065674 for ; Wed, 6 Apr 2011 12:02:15 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2CAE68FC2A for ; Wed, 6 Apr 2011 12:02:14 +0000 (UTC) Received: by iwn33 with SMTP id 33so1605338iwn.13 for ; Wed, 06 Apr 2011 05:02:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:x-openpgp-key-id:x-openpgp-key-fingerprint :x-openpgp-key-url; bh=zCPt4eQvJ3pYpXYkB1lEZkBl7aCnFApCPQK3m0Pefrc=; b=bJUP0aUPAjy/QpzXmq19QEv48wmSatjzD+G94tmI/CHazjHqaSyj+yNP1nhfs6fWUu BE9qty4Mc7cEvLygmmM9DEZkfaS2cdNY+TQ8K5+hqo/rrgB+tBByBvXaLT6xOoLcUEW6 h6kPxvvnHTAqCvLKKCyamO4Ir3OgcWcZOoG7A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:x-openpgp-key-id :x-openpgp-key-fingerprint:x-openpgp-key-url; b=Rm+przdvdzdgVVpS8qRygRsumwAj2Gkp1O24ejHk1kh1B4XhlHWdnuhnkYo5iYVE0u CMufK3mcUl3IqKuVLkTiDVI1RY2ebh2FEWXC4+mH5nk70I5Qy8av3/cB5B3KQRdvFAJd kzbBiGVt3lRRzpOS6lXkNwFGkiZXt+A8wr614= Received: by 10.42.39.210 with SMTP id i18mr835287ice.53.1302091333222; Wed, 06 Apr 2011 05:02:13 -0700 (PDT) Received: from DataIX.net (adsl-99-190-87-163.dsl.klmzmi.sbcglobal.net [99.190.87.163]) by mx.google.com with ESMTPS id 13sm383740ibo.59.2011.04.06.05.02.11 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 06 Apr 2011 05:02:12 -0700 (PDT) Sender: "J. Hellenthal" Received: from DataIX.net (localhost [127.0.0.1]) by DataIX.net (8.14.4/8.14.4) with ESMTP id p36C28bE033657 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Apr 2011 08:02:09 -0400 (EDT) (envelope-from jhell@DataIX.net) Received: (from jhell@localhost) by DataIX.net (8.14.4/8.14.4/Submit) id p36C27cl033652; Wed, 6 Apr 2011 08:02:07 -0400 (EDT) (envelope-from jhell@DataIX.net) Date: Wed, 6 Apr 2011 08:02:07 -0400 From: "J. Hellenthal" To: Baginski Darren Message-ID: <20110406120207.GA32062@DataIX.net> References: <1128701301678831@web100.yandex.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WIyZ46R2i8wDzkSu" Content-Disposition: inline In-Reply-To: X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E X-OpenPGP-Key-URL: http://bit.ly/0x89D8547E Cc: Baginski Darren , freebsd-net@freebsd.org Subject: Re: Multiple gateways support X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Apr 2011 12:02:15 -0000 --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 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--