NetBSD Problem Report #59083
From www@netbsd.org Mon Feb 17 18:45:57 2025
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits)
client-signature RSA-PSS (2048 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 7F7B31A923D
for <gnats-bugs@gnats.NetBSD.org>; Mon, 17 Feb 2025 18:45:57 +0000 (UTC)
Message-Id: <20250217184556.87B121A923E@mollari.NetBSD.org>
Date: Mon, 17 Feb 2025 18:45:56 +0000 (UTC)
From: feurry@gmail.com
Reply-To: feurry@gmail.com
To: gnats-bugs@NetBSD.org
Subject: setting net.inet6.ip6.forwarding=1 in /etc/sysctl.conf does not get applied on reboot
X-Send-Pr-Version: www-1.0
>Number: 59083
>Category: kern
>Synopsis: setting net.inet6.ip6.forwarding=1 in /etc/sysctl.conf does not get applied on reboot
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Feb 17 18:50:00 +0000 2025
>Last-Modified: Mon Feb 17 19:30:01 +0000 2025
>Originator: Peter Miller
>Release: HEAD
>Organization:
>Environment:
NetBSD vider 10.99.12 NetBSD 10.99.12 (GENERIC) #0: Sun Feb 16 18:54:49 UTC 2025 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
setting ip6 forwarding in /etc/sysctl.conf does not work
add to /etc/sysctl.conf
net.inet6.ip6.forwarding=1
reboot
sysctl -a | fgrep ip6.forwarding
net.inet6.ip6.forwarding = 0
>How-To-Repeat:
>Fix:
manually set the sysctl
sysctl -w net.inet6.ip6.forwarding=1
>Audit-Trail:
From: "Jonathan A. Kollasch" <jakllsch@kollasch.net>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: kern/59083: setting net.inet6.ip6.forwarding=1 in
/etc/sysctl.conf does not get applied on reboot
Date: Mon, 17 Feb 2025 13:25:34 -0600
The usual way to do this would be to set ip6mode=router in rc.conf(5)
instead.
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2025
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.