From owner-freebsd-hackers@freebsd.org Tue Feb 21 05:56:15 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 83640CE6DE5 for ; Tue, 21 Feb 2017 05:56:15 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-lf0-x229.google.com (mail-lf0-x229.google.com [IPv6:2a00:1450:4010:c07::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 286B81A35 for ; Tue, 21 Feb 2017 05:56:15 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: by mail-lf0-x229.google.com with SMTP id b80so22307371lfe.3 for ; Mon, 20 Feb 2017 21:56:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=F/DM6QRvXkordAPASE3HfuNAWD3x/K+Ku9C9N/n6zn0=; b=C4sS2vt+x8BVVZYA9phJYsqGXzk0MpoSwwmOByd15X9Q3MRmrAzT6Uyu+lu/kb85Bv Onumr89lzwnET8A8ghO7wwNHAYG7duqMtEuDXZL2/28ELPNcrztYShCme6H500Z/KI7r ZXP9AIx91RZkXsVq6n776r4WWLpx6/MxQPqYowY+tna7dU/TL6XoqjhOqIWEwKa/1F+0 1TZWLj0K0sYCyCtEx215sTM6OtwY2fMtHfxPEw7uXlVm9XYCVa1ZUClt0bWyvGPUZJU0 sdqERLaorMCLgN6m3p3Eq9w9mobhW7yEiaXqye3hl+dUkyElhbI1M7T7XciYz2VJ948A nfRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=F/DM6QRvXkordAPASE3HfuNAWD3x/K+Ku9C9N/n6zn0=; b=OPJNgOWI5KmJFeG3B3vyH7iufIM8Y5gUli/7TnfU+LKs7vy8vDd5GpzCwlu/AJ2Dgx 2PWkQFGgAFaI/Cv0mWkWbvqJX2PVSBcVzxRl/axKCrTQh6vjlbx6fAIT/1zHxBt3ZQqv yDg/BpYHijDtfx+Cvsqp2lzhW9sPmKGbw4Mlo6W28lfBw4gNXG9ESWDIkq2EqlFVtvFX uNO1fPcTVPIxN7M/p08n8EhC4SmYLFhz1fn24ghTZd3l/p7U8iXO4tt+46I9zmetc0uP STw6gozLwt0b7LnCeZRnXDI8cDyJlFX+XLu+pmsT44ub1upldOWshc9uKaI8ohWKyWig xzWA== X-Gm-Message-State: AMke39nqQhLIEAN1hFXwsRUZLxl5McTcg5Qfxks8sJxTrFXwpKRKIs+yaHqvIwuAEwn3iVbQRN/r+YMzHW5MFw== X-Received: by 10.46.88.79 with SMTP id x15mr6307790ljd.39.1487656573077; Mon, 20 Feb 2017 21:56:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.27.84 with HTTP; Mon, 20 Feb 2017 21:55:42 -0800 (PST) In-Reply-To: References: <5e139f90-89c0-e4c4-46c3-457f1fd02c74@multiplay.co.uk> From: Gleb Popov <6yearold@gmail.com> Date: Tue, 21 Feb 2017 08:55:42 +0300 Message-ID: Subject: Re: FreeBSD CARP load balancing. To: Steven Hartland Cc: freebsd-hackers Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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 05:56:15 -0000 On Mon, Feb 20, 2017 at 10:16 PM, Steven Hartland wrote: > 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 hosts. > If I understood it correctly, lagg can be used to load-balance outgoing > 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, > So, that *net.inet.carp.arpbalance *sysctl was out of ordinary feature? That probably explains it. is there a reason you're trying to copy the traffic to multiple hosts? > 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 some fashion (round-robin or whatever). > > Might be a good idea to explain exactly what your trying to achieve. > > Regards > Steve >