From owner-freebsd-questions@FreeBSD.ORG Sat Jun 28 17:06:38 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1791F106567F for ; Sat, 28 Jun 2008 17:06:38 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from kanga.honeypot.net (kanga.honeypot.net [IPv6:2001:470:a80a:1:2d0:b7ff:fe0e:3a4a]) by mx1.freebsd.org (Postfix) with ESMTP id BD2278FC14 for ; Sat, 28 Jun 2008 17:06:37 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from localhost (localhost [127.0.0.1]) by kanga.honeypot.net (Postfix) with ESMTP id DD26E5DE47F for ; Sat, 28 Jun 2008 12:06:36 -0500 (CDT) X-Virus-Scanned: amavisd-new at honeypot.net Received: from kanga.honeypot.net ([127.0.0.1]) by localhost (kanga.honeypot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9hIOpqYUzrIg for ; Sat, 28 Jun 2008 12:06:17 -0500 (CDT) Received: from pooh.honeypot.net (pooh.honeypot.net [IPv6:2001:470:a80a:1:20a:95ff:fed5:10f2]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by kanga.honeypot.net (Postfix) with ESMTPSA id 449055DCD56 for ; Sat, 28 Jun 2008 12:06:17 -0500 (CDT) Message-Id: From: Kirk Strauser To: FreeBSD Questions ML Mime-Version: 1.0 (Apple Message framework v924) Date: Sat, 28 Jun 2008 12:06:15 -0500 X-Mailer: Apple Mail (2.924) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Change in /etc/rc.conf:ipv6_defaultrouter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2008 17:06:38 -0000 I've been using IPv6 on my FreeBSD-7 host for quite some time. My IPv6 router is a different machine, so the FreeBSD server is just a regular host on the network. This morning I discovered that I couldn't pass packets to hosts outside my LAN from FreeBSD, although an OS X host on the same LAN had no problems pinging www.kame.net. I had this in my /etc/rc.conf: ipv6_ifconfig_fxp0="2001:470:a80a:1:2d0:b7ff:fe0e:3a4a prefixlen 64" ipv6_defaultrouter="fe80::213:10ff:fe79:137a" Whenever I'd try to ping6 my local router, I'd get: ping6: UDP connect: Network is unreachable Also, the routing table seemed a bit screwy and was sending everything to lo0: $ netstat -nr -f inet6 [...] default fe80::213:10ff:fe79:137a UGS lo0 I found two workarounds: ipv6_defaultrouter="2001:470:a80a:1::1" and ipv6_defaultrouter="fe80::213:10ff:fe79:137a%fxp0" I'm leaning slightly toward the latter, as it still uses the guaranteed-configured link local addresses, but the latter works OK too (although it didn't when I originally configured this many months ago, which is why I was using link local routing in the first place). So, I'm not too sure which is right or wrong, but I definitely know that something has changed recently. Consider this a heads-up if you want. -- Kirk Strauser