From owner-freebsd-current Tue Mar 7 4:30:56 2000 Delivered-To: freebsd-current@freebsd.org Received: from polaris.we.lc.ehu.es (polaris.we.lc.ehu.es [158.227.6.43]) by hub.freebsd.org (Postfix) with ESMTP id 6025F37BFA4 for ; Tue, 7 Mar 2000 04:30:44 -0800 (PST) (envelope-from jose@we.lc.ehu.es) Received: from we.lc.ehu.es (v-ger [158.227.6.179]) by polaris.we.lc.ehu.es (8.9.1/8.9.1) with ESMTP id NAA24217; Tue, 7 Mar 2000 13:30:03 +0100 (MET) Message-ID: <38C4F649.501C98CA@we.lc.ehu.es> Date: Tue, 07 Mar 2000 13:30:01 +0100 From: "Jose M. Alcaide" Organization: Universidad del =?iso-8859-1?Q?Pa=EDs?= Vasco - Dpto. de Electricidad y =?iso-8859-1?Q?Electr=F3nica?= X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 3.4-RELEASE i386) X-Accept-Language: es-ES, es, en-US, en MIME-Version: 1.0 To: Yoshinobu Inoue Cc: freebsd-current@FreeBSD.ORG Subject: Re: IPv6: can a link-site (or global) address be configured inrc.conf? References: <38C3C9A6.28E3A38@we.lc.ehu.es> <20000307102149S.shin@nd.net.fujitsu.co.jp> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Yoshinobu Inoue wrote: > > There seems to be already another answers and I might be > missing a point, but you might mean you want to assigne an > address with simple number in its lower 8byte? > > Such as, > 3ffe:501:100e:2000::1 > or > 3ffe:501:100e:2000::2 > > not like > 3ffe:501:100e:2000:200:eff:fe74:41d2 > ? > > In that case, yes, you need to do ifconfig to assign former > kind of address. They are relatively easy to memorize and > useful as server addr. But you don't necessarily need to > manually assign it. You can use existing > > ifconfig_ifname= > > and > > ifconfig_ifname_aliasnum= > > also for IPv6. > (But there is no example for IPv6. I'll add examles.) > > E.g. if you want to assign > 3ffe:501:100e:2000::1 and 3ffe:501:100e:2000::2 > to ed0, I think following configuration works. > > ifconfig_ed0_alias0="inet6 3ffe:501:100e:2000::1 prefixlen 64" > ifconfig_ed0_alias1="inet6 3ffe:501:100e:2000::2 prefixlen 64" > > (By the way, this is local addr here, and please not use > exactly same prefix at another place. :-) > Yes, I am using site-local addresses like "fec0::9ee3:6b4", where I am coding the IPv4 address in the lower 32 bits, and I am using a prefixlen=120. Just wondering: is the "alias" necessary? I can add a site-local IPv6 address to the same interface without the "alias" ifconfig keyword. If this is valid, then something as ifconfig_fxp0="inet 158.227.6.180 netmask 255.255.255.0 inet6 fec0::9ee3:6b4 prefixlen 120" should be OK. -- JMA ----------------------------------------------------------------------- José Mª Alcaide | mailto:jose@we.lc.ehu.es Universidad del País Vasco | mailto:jmas@FreeBSD.org Dpto. de Electricidad y Electrónica | http://www.we.lc.ehu.es/~jose Facultad de Ciencias - Campus de Lejona | Tel.: +34-946012479 48940 Lejona (Vizcaya) - SPAIN | Fax: +34-946013071 ----------------------------------------------------------------------- "Beware of Programmers who carry screwdrivers" -- Leonard Brandwein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message