Date: Mon, 13 Jun 2005 10:10:54 -0400 From: Josh Kayse <josh.kayse@gmail.com> To: freebsd-net@freebsd.org, freebsd-pf@freebsd.org Subject: Re: Carp Suppression Message-ID: <7c8f279205061307103b1782f4@mail.gmail.com> In-Reply-To: <7c8f279205061116021f55e8da@mail.gmail.com> References: <7c8f2792050610090049064e11@mail.gmail.com> <7c8f279205061116021f55e8da@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
One last comment,
I managed to fix it so that carp runs on the plip interface by adding:
ifp->if_flags = LINK_STATE_UP;
Here is the diff:
diff -Nur /usr.orig/src/sys/dev/ppbus/if_plip.c /usr/src/sys/dev/ppbus/if_plip.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 |= IFF_RUNNING;
+ ifp->if_flags = LINK_STATE_UP;
}
break;
On 6/11/05, Josh Kayse <josh.kayse@gmail.com> 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?
>
> On 6/10/05, Josh Kayse <josh.kayse@gmail.com> 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 interface.
> >
> > 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
> >
>
>
> --
> Joshua Kayse
> Computer Engineering
>
--
Joshua Kayse
Computer Engineering
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7c8f279205061307103b1782f4>
