From owner-freebsd-net@FreeBSD.ORG Mon Sep 26 05:52:24 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 3F5CC1065670 for ; Mon, 26 Sep 2011 05:52:24 +0000 (UTC) (envelope-from gadidot@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 037B08FC0C for ; Mon, 26 Sep 2011 05:52:23 +0000 (UTC) Received: by gyf2 with SMTP id 2so4982604gyf.13 for ; Sun, 25 Sep 2011 22:52:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=PvnweJrA226fqdLFhPz/trKsezmDOuVggFXE1GhECIo=; b=nZlOE4m74lU/UvzzChdlxn3pUzXlR3n3WbKhPbRFkqU+RXmmOhKxedxRH1ezUFFJTT 91idU7J7rhrF0w8iiUWWb2+Rlbr604zTWRosWPqDWNhqgAIZjMNJGIwQgQUbPYveDKBy OOZ9zjkvKyOIFvCH//qj3rVG4h2GzdfL0tZD8= MIME-Version: 1.0 Received: by 10.68.8.71 with SMTP id p7mr27468273pba.110.1317016342801; Sun, 25 Sep 2011 22:52:22 -0700 (PDT) Received: by 10.143.44.13 with HTTP; Sun, 25 Sep 2011 22:52:22 -0700 (PDT) Date: Mon, 26 Sep 2011 13:52:22 +0800 Message-ID: From: Gi Dot To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Data centers failure proof with CARP. 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: Mon, 26 Sep 2011 05:52:24 -0000 Hi, Is it a good idea to use CARP to manage data centers failover? Say for instance I have a total of 3 public IPs: Data center A (master CARP): x.x.x.x Data center B (backup CARP): y.y.y.y CARP Virtual IP: z.z.z.z If there is a network outage occurs at data center A, all traffic to IP z.z.z.z will be routed to IP y.y.y.y. But I guess this will only work if both x.x.x.x and y.y.y.y IPs belong to the same subnet? If this is not a recommended idea (or not feasible), I would appreciate for any suggestion to make my website 'data centers failure proof'. Thanks. -- dot.