From owner-freebsd-net@FreeBSD.ORG Fri Mar 18 18:29:22 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54B9D1065673 for ; Fri, 18 Mar 2011 18:29:22 +0000 (UTC) (envelope-from jinmei@isc.org) Received: from mx.ams1.isc.org (mx.ams1.isc.org [IPv6:2001:500:60::65]) by mx1.freebsd.org (Postfix) with ESMTP id E9E8E8FC13 for ; Fri, 18 Mar 2011 18:29:21 +0000 (UTC) Received: from bikeshed.isc.org (bikeshed.isc.org [IPv6:2001:4f8:3:d::19]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "bikeshed.isc.org", Issuer "ISC CA" (verified OK)) by mx.ams1.isc.org (Postfix) with ESMTPS id 9FC515F991B; Fri, 18 Mar 2011 18:25:03 +0000 (UTC) (envelope-from jinmei@isc.org) Received: from jmb.jinmei.org (unknown [IPv6:2001:4f8:3:64:c62c:3ff:fe1f:6c75]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by bikeshed.isc.org (Postfix) with ESMTPSA id B284B216C22; Fri, 18 Mar 2011 18:25:01 +0000 (UTC) (envelope-from jinmei@isc.org) Date: Fri, 18 Mar 2011 11:25:00 -0700 Message-ID: From: JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= To: "Eugene M. Zheganin" In-Reply-To: <4D8389C4.8050408@zhegan.in> References: <4D8370AB.1070000@zhegan.in> <20110318115748.708aee22@shibato.opal.com> <4D8389C4.8050408@zhegan.in> User-Agent: Wanderlust/2.14.0 (Africa) Emacs/22.1 Mule/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00, T_RP_MATCHES_RCVD autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mx.ams1.isc.org Cc: freebsd-net@freebsd.org Subject: Re: ipv6, stateful config and non-default prefixlen 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: Fri, 18 Mar 2011 18:29:22 -0000 At Fri, 18 Mar 2011 21:35:16 +0500, "Eugene M. Zheganin" wrote: > > You don't say what prefix length rtadvd is sending or that you're seeing > > in the wireshark log. > > > > Do you have prefixlen#120 in your rtadvd.conf? Whether using /120 is a good idea might have to be debated, but anyway.. > %ps ax | grep dhc > 25672 ?? Is 0:00,01 /usr/local/sbin/dhclient -6 nfe0 I guess this is ISC DHCP. It always assumes /64 and (effectively) installs the given address this way: # ifconfig nfe0 inet6 fd00::7d2/64 alias A possible workaround is to rewrite dhclient-script to hardcode "/120". Another solution is to use a different DHCPv6 client implementation. (Although it's not actively maintained/enhanced recently) I believe WIDE DHCPv6 should work for your purpose: http://sourceforge.net/projects/wide-dhcpv6/ --- JINMEI, Tatuya Internet Systems Consortium, Inc.