From owner-freebsd-questions@freebsd.org Tue Jun 18 03:10:05 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7029215CCC9E; Tue, 18 Jun 2019 03:10:05 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 9D1B38F055; Tue, 18 Jun 2019 03:10:04 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: by segfault.tristatelogic.com (Postfix, from userid 1237) id 78DE44E654; Mon, 17 Jun 2019 20:10:03 -0700 (PDT) From: "Ronald F. Guilmette" To: freebsd-questions@freebsd.org, freebsd-net@freebsd.org Subject: Eliminating IPv6 (?) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <6974.1560827403.1@segfault.tristatelogic.com> Date: Mon, 17 Jun 2019 20:10:03 -0700 Message-ID: <6975.1560827403@segfault.tristatelogic.com> X-Rspamd-Queue-Id: 9D1B38F055 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of rfg@tristatelogic.com designates 69.62.255.118 as permitted sender) smtp.mailfrom=rfg@tristatelogic.com X-Spamd-Result: default: False [-5.89 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[tristatelogic.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-2.81)[ip: (-7.39), ipnet: 69.62.128.0/17(-3.69), asn: 14051(-2.91), country: US(-0.06)]; MX_GOOD(-0.01)[cached: mx1.tristatelogic.com]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.87)[-0.867,0]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14051, ipnet:69.62.128.0/17, country:US]; RCVD_COUNT_TWO(0.00)[2]; SUBJECT_HAS_QUESTION(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jun 2019 03:10:05 -0000 I do not wish to begin any religious war here. I understand that IPv6 can be a sensitive and sometimes even emotional issue for many people. Speaking only for myself, and only for the present moment, I can say that for me, IPv6 represents only an annoyance and a very sizable distraction. At present, I don't use it and have absolutely no need to do so. I would thus like to simplify my life by eliminating it from my (12.0-RELEASE) system, so that I won't even have to think about it, or wonder about it, e.g. when I am configuring my firewall, my daemons, etc. I have tried searching for instructions on how to do this online, but the suggestions and recommendations for how to do this vary widely. There does not seem to be any "standard" set of recommendations for how to simply turn off all IPv6 for a given system, short of rebuilding the kernel, from scratch, with proper options to eliminate IPv6 support in the kernel entirely. I finally settled on trying to add the following options to my /etc/rc.conf file: ipv6_network_interfaces="none" ip6addrctl_enable="NO" ip6addrctl_policy="ipv4_prefer" ipv6_activate_all_interfaces="NO" These seem to have worked only marginally. After a fresh reboot, my loopback interface (lo0) for example is still configured to have -both- IPv4 -and- IPv6 addresses... and routes... associated with it. How can I turn off IPv6 entirely without rebuilding the kernel? Regards, rfg P.S. Please, please, please, refrain from giving me a sermon about how I am an idiot and/or about how IPv6 is going to save mankind and/or the galaxy as we know it. I am pro choice, and I don't really wish to have IPv6 rammed down my throat before I am ready to swallow. I don't need it, don't use it, and for me, life is much simpler without it for now.