Carp Suppression

Josh Kayse josh.kayse at gmail.com
Mon Jun 13 14:10:58 GMT 2005


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 at 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 at 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


More information about the freebsd-net mailing list