From owner-freebsd-net@FreeBSD.ORG Fri Apr 29 08:32:55 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C685B16A4CE for ; Fri, 29 Apr 2005 08:32:55 +0000 (GMT) Received: from Neo-Vortex.net (203-173-19-223.dyn.iinet.net.au [203.173.19.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93A7E43D1F for ; Fri, 29 Apr 2005 08:32:50 +0000 (GMT) (envelope-from root@Neo-Vortex.net) Received: from localhost.Neo-Vortex.got-root.cc (Neo-Vortex@localhost.Neo-Vortex.got-root.cc [127.0.0.1]) by Neo-Vortex.net (8.13.1/8.12.10) with ESMTP id j3T8WmWc068392; Fri, 29 Apr 2005 18:32:48 +1000 (EST) (envelope-from root@Neo-Vortex.net) Date: Fri, 29 Apr 2005 18:32:48 +1000 (EST) From: Neo-Vortex To: JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= In-Reply-To: Message-ID: <20050429183116.S68101@Neo-Vortex.net> References: <4270C6E7.4010701@he.iki.fi> <4271AC95.3080309@he.iki.fi> <20050429170308.Y54816@Neo-Vortex.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE cc: freebsd-net@freebsd.org Subject: Re: ipv6 host part X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 29 Apr 2005 08:32:55 -0000 On Fri, 29 Apr 2005, JINMEI Tatuya / [ISO-2022-JP] =BF=C0=CC=C0=C3=A3=BA=C8= wrote: > >>>>> On Fri, 29 Apr 2005 17:04:22 +1000 (EST), > >>>>> Neo-Vortex said: > > >> - assuming the prefix is "P/64", do the followings: > >> # ifconfig IFNAME inet6 P::1 prefixlen 64 alias autoconf > >> # ifconfig IFNAME inet6 P::2 prefixlen 64 alias autoconf > >> # ifconfig IFNAME inet6 P::3 prefixlen 64 alias autoconf > > > IIRC, the first address within the prefix should have a prefixlen of 64= , > > (providing the prefixlen is actually 64) but others on the same prefix > > should have 128. > > I don't remember any such restriction. What is your source (e.g., > RFC) of this information? alias Establish an additional network address for this interface. T= his is sometimes useful when changing network numbers, and one wis= hes to accept packets addressed to the old interface. If the addr= ess is on the same subnet as the first network address for this interface, a non-conflicting netmask must be given. Usually 0xffffffff is most appropriate. That is for IPv4 taken from ifconfig(8), one would assume for IPv6 it is the same and i use it like that without issues (although i have not tried it the other way)