Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Mar 2011 11:25:00 -0700
From:      JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= <jinmei@isc.org>
To:        "Eugene M. Zheganin" <eugene@zhegan.in>
Cc:        freebsd-net@freebsd.org
Subject:   Re: ipv6, stateful config and non-default prefixlen
Message-ID:  <m2d3lo1e2r.wl%jinmei@isc.org>
In-Reply-To: <4D8389C4.8050408@zhegan.in>
References:  <4D8370AB.1070000@zhegan.in> <20110318115748.708aee22@shibato.opal.com> <4D8389C4.8050408@zhegan.in>

next in thread | previous in thread | raw e-mail | index | archive | help
At Fri, 18 Mar 2011 21:35:16 +0500,
"Eugene M. Zheganin" <eugene@zhegan.in> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m2d3lo1e2r.wl%jinmei>