From owner-freebsd-pf@FreeBSD.ORG Mon Jun 13 14:10:58 2005 Return-Path: X-Original-To: freebsd-pf@freebsd.org 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 8558016A41C for ; Mon, 13 Jun 2005 14:10:58 +0000 (GMT) (envelope-from josh.kayse@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19EF543D5C for ; Mon, 13 Jun 2005 14:10:56 +0000 (GMT) (envelope-from josh.kayse@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so1014467wra for ; Mon, 13 Jun 2005 07:10:56 -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:content-disposition:references; b=F3BLe6qIOdXnd7sgROp7qM7BZKqdZ6f26iqoScdbe4EBxl+aB283woww3X92OrcsY7n2qJAL+BH1C/Lj915WPvvD3w48sNAbghxlecaZp9T8AJQWz66KDRSdlqud9HAnOl6xQzLocqv6kerJ4lQJG9gxOk8raiD2YhQnMaxlGAU= Received: by 10.54.116.2 with SMTP id o2mr2549398wrc; Mon, 13 Jun 2005 07:10:55 -0700 (PDT) Received: by 10.54.23.52 with HTTP; Mon, 13 Jun 2005 07:10:54 -0700 (PDT) Message-ID: <7c8f279205061307103b1782f4@mail.gmail.com> Date: Mon, 13 Jun 2005 10:10:54 -0400 From: Josh Kayse To: freebsd-net@freebsd.org, freebsd-pf@freebsd.org In-Reply-To: <7c8f279205061116021f55e8da@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <7c8f2792050610090049064e11@mail.gmail.com> <7c8f279205061116021f55e8da@mail.gmail.com> Cc: Subject: Re: Carp Suppression X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gtg062h@mail.gatech.edu 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: Mon, 13 Jun 2005 14:10:58 -0000 One last comment, I managed to fix it so that carp runs on the plip interface by adding: ifp->if_flags =3D LINK_STATE_UP; Here is the diff: diff -Nur /usr.orig/src/sys/dev/ppbus/if_plip.c /usr/src/sys/dev/ppbus/if_p= lip.c --- /usr.orig/src/sys/dev/ppbus/if_plip.c Wed Sep 15 11:14:18 2004 +++ /usr/src/sys/dev/ppbus/if_plip.c Mon Jun 13 10:05:56 2005 @@ -359,6 +359,7 @@ ppb_wctr(ppbus, IRQENABLE); ifp->if_flags |=3D IFF_RUNNING; + ifp->if_flags =3D LINK_STATE_UP; } break; On 6/11/05, Josh Kayse wrote: > I think I've narrowed it down to the plip interface, but I'm not > completely sure. Has anyone gotten carp running over a plip > interface? >=20 > On 6/10/05, Josh Kayse wrote: > > I am cross-posting this to -net and -pf because I am not sure where it = goes. > > > > I am running 2 carp interfaces on a pair of transparent firewalls > > running FreeBSD 5.4. > > > > One of the interfaces is a xl interface and the other is a plip interfa= ce. > > > > I am having trouble in that the carp interfaces are not failing over > > between the 2 machines. > > > > When I check net.inet.carp.suppress_preempt it returns 1 and I do not > > understand why that is. > > > > Can anyone shed some light on this? > > > > If you need any more information, just let me know. > > > > Thanks > > > > Josh > > -- > > Joshua Kayse > > Computer Engineering > > >=20 >=20 > -- > Joshua Kayse > Computer Engineering >=20 --=20 Joshua Kayse Computer Engineering