net.inet.ip.forwarding is mysteriously set to 0
Paul Thornton
prt at prt.org
Fri Apr 24 16:54:54 UTC 2015
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 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
>> _______________________________________________
>> freebsd-net at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-net
>> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
More information about the freebsd-net
mailing list