[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Carp Suppression



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_(_dot_)_kayse_(_at_)_gmail_(_dot_)_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_(_dot_)_kayse_(_at_)_gmail_(_dot_)_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
_______________________________________________
freebsd-pf_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-pf
To unsubscribe, send any mail to "freebsd-pf-unsubscribe_(_at_)_freebsd_(_dot_)_org"


Visit your host, monkey.org