From owner-freebsd-questions@FreeBSD.ORG Thu Feb 4 02:00:53 2010 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 5ABD91065797 for ; Thu, 4 Feb 2010 02:00:53 +0000 (UTC) (envelope-from brian.j.conway@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 019DA8FC23 for ; Thu, 4 Feb 2010 02:00:52 +0000 (UTC) Received: by vws11 with SMTP id 11so1039833vws.13 for ; Wed, 03 Feb 2010 18:00:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:date:from :x-x-sender:to:subject:in-reply-to:message-id:references:user-agent :mime-version:content-type; bh=K+dsSzpxkg0z3KIHIKs9c15dyiaXS6b3iv7Ey2yL6tg=; b=mxKYMlIg6qJVdjNWQDAJPU7kqnmOGXgd6uTlnq7bvqc0np7rpHbXldCh2UkmPymrVQ +rx99a6KHx/rjEcuAcr6eQR8lkp7FR0K1SB+iiSTyM1K90Cfo2aeD/O7t2rnsbQVHaeR xWLUpiiSc3Ifa/VNC/DI5dJ0B8uAvVV+Fxam0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:x-x-sender:to:subject:in-reply-to:message-id :references:user-agent:mime-version:content-type; b=vLGV2j05VPBqJaoILepBdk1KZgyC8jmQKWO+KHf3KT9p5xYS/fxd+LXdhtTp2UdJEk Zqe7CkewypVWet0fgEf8DjkNw9IosQy14Lvbwpq0VB0f9yxYNSXgAH4o0UBphjRt20YY oTb72IEcu9o69aiUzFSPbFwK9byg39smh8vu8= Received: by 10.220.125.8 with SMTP id w8mr568345vcr.48.1265248852092; Wed, 03 Feb 2010 18:00:52 -0800 (PST) Received: from ladyluck.zxvf.local (c-98-229-162-102.hsd1.ma.comcast.net [98.229.162.102]) by mx.google.com with ESMTPS id 28sm86179257vws.1.2010.02.03.18.00.50 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 03 Feb 2010 18:00:50 -0800 (PST) Sender: Brian Conway Received: from bconway (helo=localhost) by ladyluck.zxvf.local with local-esmtp (Exim 4.69) (envelope-from ) id 1Ncr1V-0001Ab-36 for freebsd-questions@freebsd.org; Wed, 03 Feb 2010 21:00:49 -0500 Date: Wed, 3 Feb 2010 21:00:49 -0500 (EST) From: Brian Conway X-X-Sender: bconway@ladyluck.zxvf.local To: freebsd-questions@freebsd.org In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: IPv6: rtsol must be run a second time after boot to pick up default route 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: Thu, 04 Feb 2010 02:00:53 -0000 On Wed, 3 Feb 2010, Brian Conway wrote: > I recently set up an HE.net tunnel using the following guides: > > http://www.freebsd.org/doc/handbook/network-ipv6.html > > http://www.freebsddiary.org/ipv6.php > > FreeBSD 7.2-p5 is used for the router and the host, and it works beautifully, > except that the host will only pick up the IPv6 prefix on boot and set its IP > accordingly (local network functions), but will NOT set the default route > unless I wait up to 10 minutes for the advertisement, or manually run rtsol. > The same problem happens with OS X 10.6.2, but not with Win7 (and Linux 2.6 > remains untested at this time). The host has no firewall running currently, > and there's no firewalling between the router and the host. Running rtsol > with debugging doesn't show anything out of the ordinary, either during boot > or after. Rtadvd is running on the router and my setup is identical to the > guides other than device name: > > $ cat /etc/rtadvd.conf > vr1:\ > :addrs#1:addr="2001:470:xxxx:yyyy::":prefixlen#64:tc=ether: > > Any suggestions? I've tried a few variations of rtadvd.conf without any > changes in behavior. I'm inclined to think it's router-related, given the > issue on multiple OSes, but I suppose it could go either way. I'd much > prefer not to add in extra calls of rtsol in /etc/rc.local. Thanks. > > Brian Conway > A few more (unusual) details as follow-up: - The missing route doesn't happen on Win7 or Linux 2.6 (Debian 5.0/Lenny) - The missing route still happens on both OS X 10.6.2 and FreeBSD 7.2-p5 - This ONLY happens after a warm reboot. Neither FreeBSD nor OS X have the issue with a cold boot. The boot-up's rtsol picks up the default route immediately. Weird. Brian Conway