Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Sep 2004 04:12:21 -0000
From:      sam <samwun@hgdbroadband.com>
To:        pf4freebsd@freelists.org
Subject:   [pf4freebsd] Re: Carp work (re)started
Message-ID:  <4121A8E0.8040806@hgdbroadband.com>
In-Reply-To: <20040817034647.GA4488@kt-is.co.kr>
References:  <200408052130.51026.max@love2party.net> <200408161934.23219.max@love2party.net> <4120F693.8080305@hgdbroadband.com> <200408162008.20768.max@love2party.net> <4121772A.9020703@hgdbroadband.com> <20040817034647.GA4488@kt-is.co.kr>

next in thread | previous in thread | raw e-mail | index | archive | help
Pyun YongHyeon wrote:

>On Tue, Aug 17, 2004 at 11:10:34AM +0800, sam wrote:
> > Max Laier wrote:
> > 
> > >On Monday 16 August 2004 20:01, sam wrote:
> > > 
> > >
> > >>Max Laier wrote:
> > >>   
> > >>
> > ><...>
> > > 
> > >
> > >>>Fixed in the mean time. See:
> > >>>http://people.freebsd.org/~mlaier/CARP/
> > >>>     
> > >>>
> > >>Thanks, I have applied all 3 patches on top of the previous one in
> > >>love2party.
> > >>   
> > >>
> > >
> > >err .. NO! ... each patchset is complete. You just check out a clean tree 
> > >and apply the most recent set (while hoping that it does not create 
> > >rejects).
> > >
> > > 
> > >
> > Hi, do I still need RANDOM_IP_ID in the kernel configuration file?
>
>Probably not.
>You need a sysctl OID in sysctl.conf(5) in latest -CURRENT.
>
>net.inet.ip.random_id=1
>
> > I got the following error with options RANDOM_IP_ID in the kernel conf file:
> > 
> > # config SEC5-2a
> > SEC5-2a: unknown option "RANDOM_IP_ID"
> > 
> > I enclosed portion of the kernel conf file:
> > #-------for PF configuration -----#
> > device          bpf
> > options         PFIL_HOOKS
> > options         RANDOM_IP_ID
> >      
> > device          pf              # required
> > device          pflog           # optional
> > device          pfsync          # optional
> > 
> > device          CARP
> > #---------------------------------#
> > 
> > Thanks
> > sam
> > 
> > 
>
>  
>
Hi, do  you know how to build it with CARP support?
I tried the commandline "config mykern", and it returned error like 
"unkown device CARP"
After commented out the "device CARP" in mykern file, the "config 
mykern" works.
But doing a "make depend;make" in the ../compile/mykern/ directory 
returned error:
../../../net/if_ethersubr.c: In function `ether_demux':
../../../net/if_ethersubr.c:697: warning: label `pre_stats' defined but 
not used
*** Error code 1
I known the new way of building the kernel is "make buildkernel=mykern" 
in the /usr/src directory. But it had error with opt_carp.* not found 
when I did that 3 months ago. As far as I known, all the opt_*.h files 
are generated by the executing the command "config mykern", so I m 
wondering whether "make buildkernel=mykern does create opt_*h now, 
especially the opt_carp.h file.

Thanks
sam





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4121A8E0.8040806>