From nobody@FreeBSD.org  Tue Apr  1 01:43:21 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 0BE211065682
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  1 Apr 2008 01:43:21 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 9620E8FC1A
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  1 Apr 2008 01:43:20 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m311gs2f055946
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 1 Apr 2008 01:42:55 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m311gsEZ055941;
	Tue, 1 Apr 2008 01:42:54 GMT
	(envelope-from nobody)
Message-Id: <200804010142.m311gsEZ055941@www.freebsd.org>
Date: Tue, 1 Apr 2008 01:42:54 GMT
From: Paul Hoffman <phoffman@proper.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Need to use ipv6_enable="YES" even when it is obvious
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         122320
>Category:       misc
>Synopsis:       Need to use ipv6_enable="YES" even when it is obvious
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 01 01:50:01 UTC 2008
>Closed-Date:    Tue Apr 01 06:41:47 UTC 2008
>Last-Modified:  Tue Apr  1 15:00:01 UTC 2008
>Originator:     Paul Hoffman
>Release:        7.0-RELEASE
>Organization:
self
>Environment:
FreeBSD justv6.proper.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
/etc/rc.conf has:
ipv6_network_interfaces="sis0"
ifconfig_sis0="inet6 2001:470:8095::2 prefixlen 48"
ipv6_defaultrouter="2001:470:8095::1"

ifconfig shows the right IPv6 address, and the box can ping 2001:470:8095::1. However, it can't get anywhere off the local network. 'netstat -r' shows that there is no default route, even though the ipv6_defaultrouter was specified.

Adding:
ipv6_enable="YES"
fixed the problem. There seems to be some ipv6ish things that require that line, while lots of other ipv6ish stuff doesn't.
>How-To-Repeat:

>Fix:
For the user:
ipv6_enable="YES"

For the OS: not sure. Maybe don't require that if you see other IPv6ish things such as ifconfigs and ipv6_defaultrouter.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Tue Apr 1 06:41:46 UTC 2008 
State-Changed-Why:  
This is not a problem record item, but something that might need 
discussion. Though I think this was done on purpose to let people 
explicitly enable IPv6 instead of letting it go loose on the internet 
without additional configuration. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122320 

From: Paul Hoffman <phoffman@proper.com>
To: bug-followup@FreeBSD.org, phoffman@proper.com
Cc:  
Subject: Re: misc/122320: Need to use ipv6_enable="YES" even when it is
 obvious
Date: Tue, 1 Apr 2008 07:52:43 -0700

 I can accept that this might need discussion. I think a succinct 
 starting topic is:
 
 If ipv6_defaultrouter or other IPv6-specific variables are specified 
 in rc.conf but ipv6_enable is not, how do we alert the user that only 
 some of the expected actions were taken?
>Unformatted:
