Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Aug 2015 10:31:57 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        Marcelo Gondim <gondim@bsdinfo.com.br>, "Andrey V. Elsukov" <bu7cher@yandex.ru>, FreeBSD Stable Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: Routing stops working when we create a new vlan
Message-ID:  <55C4C15D.4080907@sentex.net>
In-Reply-To: <55C4C0BB.5070204@bsdinfo.com.br>
References:  <55C3E641.9060305@bsdinfo.com.br> <55C4AFC8.9030302@yandex.ru> <55C4C0BB.5070204@bsdinfo.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/7/2015 10:29 AM, Marcelo Gondim wrote:
> On 07-08-2015 10:16, Andrey V. Elsukov wrote:
>> On 07.08.2015 01:57, Marcelo Gondim wrote:
>>> For all work again I need to restart the router.
>>> I don't know if I could correctly explain the problem.
>> Do you have gateway_enable="YES" in your /etc/rc.conf?
>>
> I have net.inet.ip.forwarding=1 but when I create a new vlan, the system
> is changing to: net.inet.ip.forwarding=0. Why?
> I try to go back to the value 1 and the system does not return to work.
> Only back to work if I restart the system.


devd.  As suggested, have gateway_enable="YES" in rc.conf so interface
creations dont mess that up.  I am not sure why devd wants/needs to do
this, but it does.

	---Mike


-- 
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, mike@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55C4C15D.4080907>