Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Apr 2015 19:01:03 +0200
From:      Nikos Vassiliadis <nvass@gmx.com>
To:        Gary Palmer <gpalmer@freebsd.org>, "Paul S." <contact@winterei.se>
Cc:        freebsd-net@freebsd.org
Subject:   Re: net.inet.ip.forwarding is mysteriously set to 0
Message-ID:  <553A76CF.8040407@gmx.com>
In-Reply-To: <20150424165437.GB22493@in-addr.com>
References:  <553A7350.40607@gmx.com> <553A73B6.8010307@winterei.se> <20150424165437.GB22493@in-addr.com>

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


On 04/24/15 18:54, Gary Palmer wrote:
> 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@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
>
> What is your setting for gateway_enable in /etc/rc.conf?

Thanks Gary,

I was not using anything in rc.conf. I was just using
the sysctl in /etc/sysctl.conf. Setting gateway_enable to yes
fixes the issue.

I am kind of surprised. Is this behaviour new?





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