From owner-freebsd-pf@FreeBSD.ORG Wed Apr 6 00:48:10 2005 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43AD116A4CE for ; Wed, 6 Apr 2005 00:48:10 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBB4A43D5D for ; Wed, 6 Apr 2005 00:48:09 +0000 (GMT) (envelope-from jsimola@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so35625wri for ; Tue, 05 Apr 2005 17:48:08 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=T1qA135Klu2VHsaMU0iP5HB6ZZDhQ7F2N5RMuAOoyk5W2dWSe+sD58wWsBYENA8Omlyg7iu+GFSBNQetsm3qsPr42UnoahF/vdo9L2KK3/jlIcDlPDo90dDoVLBnL+KKyiUM6vd3DS4y8LUDEU0aHQbL1e+nYE3GzjjRTNx1RO0= Received: by 10.54.28.8 with SMTP id b8mr138492wrb; Tue, 05 Apr 2005 17:48:08 -0700 (PDT) Received: by 10.54.39.6 with HTTP; Tue, 5 Apr 2005 17:48:07 -0700 (PDT) Message-ID: <8eea040805040517486ff96c0d@mail.gmail.com> Date: Tue, 5 Apr 2005 16:48:07 -0800 From: Jon Simola To: Glenn Lebumfacil , freebsd-pf@freebsd.org In-Reply-To: <425313F8.5030406@prolexic.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <425313F8.5030406@prolexic.com> Subject: Re: RELENG_5, CARP, and carpdev X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jon@abccomm.com List-Id: Technical discussion and general questions about packet filter (pf) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Apr 2005 00:48:10 -0000 On Apr 5, 2005 2:40 PM, Glenn Lebumfacil wrote: > If you don't have a place to specify the carp device (like > vlandev for vlan interfaces), how does it choose which interface to bind > to? Does it always choose the first interface? So... em0 in my case. The interface is chosen based on existing configured networks. So if you have 10.1.1.1/24 configured on em0, then configuring carp0 as 10.1.1.254 will have it running on em0. This does seem a bit odd, but it's how it works. http://marc.theaimsgroup.com/?l=openbsd-tech&m=110229937028512&w=2 Is a pach against OpenBSD-current that might be appearing in OpenBSD 3.7 that adds the carpdev keyword and binding to a physical interface. -- Jon Simola Systems Administrator ABC Communications