Date: Tue, 25 Aug 2015 23:33:40 -0500 From: Chris Petrik <maillist@bsdjunk.com> To: freebsd-questions@freebsd.org Subject: Re: Disabling IPv6 in FreeBSD 10.2 Message-ID: <55DD41A4.1010702@bsdjunk.com> In-Reply-To: <55DCCF61.9080301@schwerberg.com> References: <55DCCF61.9080301@schwerberg.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 08/25/15 15:26, Jason Schwerberg wrote: > 10.2-RELEASE > FreeBSD bsd.junaos.com 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286666: > Wed Aug 12 15:26:37 UTC 2015 > > I've already added the following lines to my rc.conf: > ipv6_network_interfaces="none" > ipv6_activate_all_interfaces="NO" > > but certain connections are still trying to use IPv6, namely 'jwhois': > > $ truss jwhois google.com > ... > __sysctl(0x7fffffffe740,0x4,0x0,0x7fffffffe7c0,0x0,0x0) = 0 (0x0) > __sysctl(0x7fffffffe740,0x4,0x80147b300,0x7fffffffe7c0,0x0,0x0) = 0 (0x0) > socket(PF_INET6,0x10000002,17) = 4 (0x4) > connect(4,{ AF_INET6 [2001:502:8c25:1000::74]:1 },28) ERR#65 'No route > to host' > ... > > How can I disable ipv6 in FreeBSD 10.2? > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Add WITHOUT_IPV6= to /etc/src.conf (create it if it doesn't exist) and rebuild the world And remove the INET6 from the kernel config. Is what I got from your "How do I disable ipv6 in FreeBSD"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55DD41A4.1010702>