From owner-freebsd-net@FreeBSD.ORG Wed Aug 10 17:04:13 2011 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A93481065672; Wed, 10 Aug 2011 17:04:13 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 516258FC17; Wed, 10 Aug 2011 17:04:13 +0000 (UTC) Received: by vxh11 with SMTP id 11so1362198vxh.13 for ; Wed, 10 Aug 2011 10:04:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=q249DMjNanS9Y18+f/fzCwQU+HTf6KJAmkBNXFAU2lM=; b=k7d/VdcKX4xIZ9CJIP5m37No1Yn3AylxDzqngvc2Yow41u0+tCxwM3PCZ7tRMnnWrx X6sRP41XUARa3ARz96FTLLBGZ/HX6h+kXgP40yYf58rxiRZxS6B5WSq7MWQgRkF9tECo gzPNRVWDSzQpYV1nYOVp3nogFWaK4/24Rx8Pg= MIME-Version: 1.0 Received: by 10.220.57.11 with SMTP id a11mr2641607vch.4.1312994284852; Wed, 10 Aug 2011 09:38:04 -0700 (PDT) Received: by 10.220.186.134 with HTTP; Wed, 10 Aug 2011 09:38:04 -0700 (PDT) In-Reply-To: <20110810160526.GO43567@FreeBSD.org> References: <20110810160526.GO43567@FreeBSD.org> Date: Wed, 10 Aug 2011 09:38:04 -0700 Message-ID: From: Freddie Cash To: Gleb Smirnoff Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: net@freebsd.org Subject: Re: new CARP implementation 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, 10 Aug 2011 17:04:13 -0000 2011/8/10 Gleb Smirnoff > I'd like to present for review and early testing (for brave ones) > a new CARP implementation. The reason for this rewrite was that CARP > protocol actually doesn't bring a new interface, but is a property of > interface address. Rewriting it in this way helps to remove several > hacks from incoming packet processing[1], simplifies some code, makes > CARP addresses more sane from viewpoint of routing daemons such as > quagga/zebra. It also brings support for a single redundant address > on the subnet, the thing that is called "carpdev feature" in OpenBSD, > long awaited in FreeBSD. > > More info and the patch itself is available here: > > http://people.freebsd.org/~glebius/newcarp/README > > I'm glad to here comments. > > Whoohoo! Thanks for working on this! :) I really like that you no longer need to "waste" IPs in order to share a virtual IP. This is the reason I've been experimenting with freevrrpd on FreeBSD, which isn't anywhere near as elegant as carp(4). However, I'm not sure I understand the reasoning for removing the carpX pseudo-interface. It's really nice having the symmetry between carpX, vlanX, brX, and other pseudo-interfaces, and keeping the configuration details separate from the underlying physical interface. This now makes creating/configuring CARP different from creating/configuring vLANs. :( -- Freddie Cash fjwcash@gmail.com