From owner-freebsd-net@FreeBSD.ORG Sat Mar 10 05:13:24 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DD7A916A402 for ; Sat, 10 Mar 2007 05:13:24 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx24.fluidhosting.com [204.14.89.7]) by mx1.freebsd.org (Postfix) with SMTP id 7ACDE13C48E for ; Sat, 10 Mar 2007 05:13:24 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 3675 invoked by uid 399); 10 Mar 2007 05:13:23 -0000 Received: from localhost (HELO ?192.168.0.4?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 10 Mar 2007 05:13:23 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <45F23E6A.9020205@FreeBSD.org> Date: Fri, 09 Mar 2007 21:13:14 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0b2 (Windows/20070116) MIME-Version: 1.0 To: Jason Arnaute References: <888880.69225.qm@web51015.mail.yahoo.com> In-Reply-To: <888880.69225.qm@web51015.mail.yahoo.com> X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "Bruce A. Mah" , freebsd-net@freebsd.org Subject: Re: what is wrong with ipv6_defaultrouter ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 05:13:24 -0000 Jason Arnaute wrote: > --- "Bruce A. Mah" wrote: > >> If memory serves me right, Jason Arnaute wrote: >>> (FreeBSD 6.2-RELEASE) >>> >>> I have two ipv6 related lines in my /etc/rc.conf: >>> >>> ifconfig_em0_alias0="inet6 XXX::2/48" >>> ipv6_defaultrouter="XXX::1" >>> >>> When I boot like this, I do not get a default ipv6 >>> route in my routing table. 'netstat -rn' shows me >> a >>> default route for ipv4, but no default route for >> ipv6. >> >> You probably want to replace that first line with: >> >> ipv6_ifconfig_em0="XXX::2/48" >> >> Also make sure to set ipv6_enable="YES". > > > But the ipv6 ifconfig and the ipv6 networking all work > fine without either of those changes. I'd prefer not > to fix anything that isn't broken ... There is a difference between "what I need to type after the system is up" and "what I need to add to rc.conf so that the boot scripts understand what I'm trying to do." Read the rc.conf man page, and particularly the ipv6_network_interfaces entry. > Are you suggesting that one or both of those changes > will cause the ipv6_defaultrouter declaration to > suddenly begin working ? You can't have a default route for an interface that isn't up, and you can't do IPv6 at boot without ipv6_enable, so yes, both are required. hth, Doug -- This .signature sanitized for your protection