From owner-freebsd-net@FreeBSD.ORG Fri Apr 24 16:54:39 2015 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A6000204 for ; Fri, 24 Apr 2015 16:54:39 +0000 (UTC) Received: from mail.in-addr.com (mail.in-addr.com [IPv6:2a01:4f8:191:61e8::2525:2525]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6B6C1154D for ; Fri, 24 Apr 2015 16:54:39 +0000 (UTC) Received: from gjp by mail.in-addr.com with local (Exim 4.85 (FreeBSD)) (envelope-from ) id 1Ylgs9-000IyN-Cm; Fri, 24 Apr 2015 17:54:37 +0100 Date: Fri, 24 Apr 2015 17:54:37 +0100 From: Gary Palmer To: "Paul S." Cc: freebsd-net@freebsd.org Subject: Re: net.inet.ip.forwarding is mysteriously set to 0 Message-ID: <20150424165437.GB22493@in-addr.com> References: <553A7350.40607@gmx.com> <553A73B6.8010307@winterei.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <553A73B6.8010307@winterei.se> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: gpalmer@freebsd.org X-SA-Exim-Scanned: No (on mail.in-addr.com); SAEximRunCond expanded to false X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Apr 2015 16:54:39 -0000 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? Gary