From owner-freebsd-hackers@freebsd.org Tue Feb 21 06:00:43 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2A25CCE6EDA for ; Tue, 21 Feb 2017 06:00:43 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from mx1.scaleengine.net (mx1.scaleengine.net [209.51.186.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E3DE21BFB for ; Tue, 21 Feb 2017 06:00:42 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from [10.1.1.2] (unknown [10.1.1.2]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 03F1BD7E8 for ; Tue, 21 Feb 2017 06:00:35 +0000 (UTC) Subject: Re: FreeBSD CARP load balancing. To: freebsd-hackers@freebsd.org References: <5e139f90-89c0-e4c4-46c3-457f1fd02c74@multiplay.co.uk> From: Allan Jude Message-ID: <5b9f3663-c244-29c1-1771-d745fd0b0a98@freebsd.org> Date: Tue, 21 Feb 2017 01:00:21 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AopGWd3p7Xxdtc9QuV1U0rBvcnJvQj6lI" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2017 06:00:43 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --AopGWd3p7Xxdtc9QuV1U0rBvcnJvQj6lI Content-Type: multipart/mixed; boundary="GoNmI1XkwDgimkR68wQnh06AS1uHPEIkX"; protected-headers="v1" From: Allan Jude To: freebsd-hackers@freebsd.org Message-ID: <5b9f3663-c244-29c1-1771-d745fd0b0a98@freebsd.org> Subject: Re: FreeBSD CARP load balancing. References: <5e139f90-89c0-e4c4-46c3-457f1fd02c74@multiplay.co.uk> In-Reply-To: --GoNmI1XkwDgimkR68wQnh06AS1uHPEIkX Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2017-02-21 00:55, Gleb Popov wrote: > On Mon, Feb 20, 2017 at 10:16 PM, Steven Hartland > wrote: >=20 >> On 20/02/2017 19:07, Gleb Popov wrote: >> >> >> On Mon, Feb 20, 2017 at 12:01 PM, Steven Hartland >> wrote: >> >>> Does LAGG do what you need? >> >> >> Doesn't seem so. I need to balance incoming traffic between several ho= sts. >> If I understood it correctly, lagg can be used to load-balance outgoin= g >> traffic only. >> >> >> LAGG does incoming and outgoing but only on a single host, so it does >> sound like it won't help you. >> >> That said what your doing does sound quite out of the ordinary, >> >=20 > So, that *net.inet.carp.arpbalance *sysctl was out of ordinary feature= ? > That probably explains it. >=20 > is there a reason you're trying to copy the traffic to multiple hosts? >> >=20 > Not copy, but distribute. I just don't want to wait current CARP master= die > to make another computer become active, but to switch between them in s= ome > fashion (round-robin or whatever). >=20 >=20 >> >> Might be a good idea to explain exactly what your trying to achieve. >> >> Regards >> Steve >> > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.o= rg" >=20 I am not sure arpbalancing every worked very well. Without a hashing algorithm or something, how would you actually make a TCP session work? --=20 Allan Jude --GoNmI1XkwDgimkR68wQnh06AS1uHPEIkX-- --AopGWd3p7Xxdtc9QuV1U0rBvcnJvQj6lI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJYq9d5AAoJEBmVNT4SmAt+WvMP/R6mGhCQiDMBUriPXJRm32TS HJJbPGY/Yhxdre7BLS/ld5XFt7exfTCwhm2UGFuhpcKdzaR8hCYsHf5/YTzwdrBW d2isQGOz3c72yR62S+N3BfxqIZNxDYI/sjOUf5olL49IbMnrphAdBcymYeXcsUCk uxuQbTmHu3Cf2JF5BGDxdD+l15zmU2m9OLPQe1A6vTRCl6qFyuNz0G0j1zvKshsZ PjXVry9dKPrC6FLDY6xMBqUzgf5NeQNzLEwMtKeVV9xfej54gwFZqtEcXLl4kPZd b2UnXhfjMKgSZM8AfB0GkBSgs2P8YKmjXYheS3YAgyHgzUzIn57I0E5x+UtHc65V 5RbW3+WxGCQxl4J6KIfvZkL2vtbhjKGtMiuCnha6se2ziw71ShsmrNq4CZ1Hss5i Kw3NGjipDw5lAt1nnAsnUbePqQFAvG88hP6vfDdas72kRetn43gSWPe+AQJZX7Vk 3YodeZi1yEv/QBTQ5ofRImHThMcdjmzUSqcEe8aSxqaoBAwiX4ZwmTC24EckSDOG 9YM8MctDQhhqHHspi7SvQENVWIp+7C+uZhJAXsS6whY3CqSmQzR9XtNkN9l3nOm8 Q1BQoZlOAgchjImKlogBHsMJWySmVLaKu55hKP6RhBwMetHndIffMTAjdJAwob7n src+wryyImLrPkw2UB2W =bJn5 -----END PGP SIGNATURE----- --AopGWd3p7Xxdtc9QuV1U0rBvcnJvQj6lI--