Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 May 2009 09:19:52 -0700
From:      Steven Schlansker <scs@eecs.berkeley.edu>
To:        freebsd-questions@freebsd.org
Subject:   pfsync in GENERIC?
Message-ID:  <89C182FE-81B9-474E-84EA-FBB6F68C4E75@eecs.berkeley.edu>

next in thread | raw e-mail | index | archive | help
Hello freebsd-questions,

I'm attempting to set up a redundant NAT system where failover is  
provided by ucarp and using pfsync to keep NAT tables in sync.

When I try to set up pfsync,

[steven@gateway2:~]% sudo /etc/rc.d/pfsync start
/etc/rc.d/pfsync: WARNING: pfsync(4) must be statically compiled in  
the kernel.
[steven@gateway2:~]% ifconfig pfsync0
ifconfig: interface pfsync0 does not exist

additionally:
[steven@gateway2:~]% sudo ifconfig pfsync0 create
ifconfig: SIOCIFCREATE2: Invalid argument

Is pfsync not in GENERIC?  I checked the amd64 config file and indeed  
it does not show up, however pf and pflog are not there either but are  
usable in the base system, so I am not positive that pfsync being  
missing is therefore conclusive.

I would like to if at all possible use GENERIC so that I can take  
advantage of freebsd-update etc.  Is there some way to get this all  
running without recompiling the kernel?  (You may notice I'm using  
ucarp instead of carp to avoid recompiling)

Thank you for any guidance,
Steven Schlansker



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?89C182FE-81B9-474E-84EA-FBB6F68C4E75>