net.inet.ip.forwarding is mysteriously set to 0

Gary Palmer gpalmer at freebsd.org
Fri Apr 24 16:54:39 UTC 2015


On Sat, Apr 25, 2015 at 01:47:50AM +0900, Paul S. wrote:
> Can confirm that anything to do with netif restart on a forwarding 
> interface also creates the same problem.
> 
> On 4/25/2015 ?????? 01:46, Nikos Vassiliadis wrote:
> > Hi,
> >
> > Just saw this. Can somebody re-produce this?
> >
> >> root at m4fh2:~ # sysctl net.inet.ip.forwarding
> >> net.inet.ip.forwarding: 1
> >> root at m4fh2:~ # ifconfig bridge0 create
> >> root at m4fh2:~ # sysctl net.inet.ip.forwarding
> >> net.inet.ip.forwarding: 0
> >
> > That's on GENERIC 10-STABLE from the day before yesterday.
> >
> > Thanks,
> > Nikos

What is your setting for gateway_enable in /etc/rc.conf?

Gary


More information about the freebsd-net mailing list