Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Apr 2015 17:57:11 +0100
From:      Paul Thornton <prt@prt.org>
To:        freebsd-net@freebsd.org
Subject:   Re: net.inet.ip.forwarding is mysteriously set to 0
Message-ID:  <553A75E7.4090804@prt.org>
In-Reply-To: <553A73B6.8010307@winterei.se>
References:  <553A7350.40607@gmx.com> <553A73B6.8010307@winterei.se>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi

This happens when any interface is created if you've enabled forwarding 
with the sysctl and not using gateway_enable in rc.conf.  It is easily 
fixed though.

See this thread from January:
https://docs.freebsd.org/cgi/getmsg.cgi?fetch=403720+0+archive/2015/freebsd-net/20150104.freebsd-net

Paul.

On 24/04/2015 17:47, 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@m4fh2:~ # sysctl net.inet.ip.forwarding
>>> net.inet.ip.forwarding: 1
>>> root@m4fh2:~ # ifconfig bridge0 create
>>> root@m4fh2:~ # sysctl net.inet.ip.forwarding
>>> net.inet.ip.forwarding: 0
>>
>> That's on GENERIC 10-STABLE from the day before yesterday.
>>
>> Thanks,
>> Nikos
>> _______________________________________________
>> freebsd-net@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-net
>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?553A75E7.4090804>