From owner-freebsd-stable@freebsd.org Fri Aug 7 14:32:19 2015 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DBFCF9B57B9 for ; Fri, 7 Aug 2015 14:32:18 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-wi0-x22a.google.com (mail-wi0-x22a.google.com [IPv6:2a00:1450:400c:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 76A93CC0 for ; Fri, 7 Aug 2015 14:32:18 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: by wibhh20 with SMTP id hh20so68424256wib.0 for ; Fri, 07 Aug 2015 07:32:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=islAIy+K8OUGMXMlYsHGisx6okD7ErNaBcwYTQA/s1A=; b=lfUfcAQmSWktU1eP7fcUjo65pUWJ9rXXSczbk8k6+NHWteE382FWGBYopHWHCpEo3U 3iUM96KOkqZwC9HxVGwW9pRzqR31+1QTYDU5DW/RdwcnkoKRDwtB10NSzn2DWgpiuPEE KeBpoS5LF0Lj6xUFF1dQL4RRZPZERu36L1ueXfDPNj+jJgtcAEGAl3BlcUCFvlVn7fY/ AAneYDv7BCfwfLzUPZNrsnPZF93fkQVEI0EEZey+YzO8WpxrCpFGodvkFjQpUm7xRNBJ 8xybz6yJKH94NYwgJi/PgiVkzU0aOoz0ez0Xh8l1Wr90l2aRpUKgmV68+OHVeS8shKv7 iDkw== MIME-Version: 1.0 X-Received: by 10.194.23.167 with SMTP id n7mr14952733wjf.112.1438957936820; Fri, 07 Aug 2015 07:32:16 -0700 (PDT) Received: by 10.28.151.204 with HTTP; Fri, 7 Aug 2015 07:32:16 -0700 (PDT) In-Reply-To: <55C4C0BB.5070204@bsdinfo.com.br> References: <55C3E641.9060305@bsdinfo.com.br> <55C4AFC8.9030302@yandex.ru> <55C4C0BB.5070204@bsdinfo.com.br> Date: Fri, 7 Aug 2015 16:32:16 +0200 Message-ID: Subject: Re: Routing stops working when we create a new vlan From: Andreas Nilsson To: Marcelo Gondim Cc: "Andrey V. Elsukov" , FreeBSD Stable Mailing List Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Aug 2015 14:32:19 -0000 On Fri, Aug 7, 2015 at 4:29 PM, 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. > > > []'s > Gondim > > The change to 0 is probably due to not having gateway_enable="YES" in rc.conf Best regards Andreas