From owner-freebsd-current Mon Mar 6 9:13:51 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 29A7737BE65 for ; Mon, 6 Mar 2000 09:13:30 -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 SAA20196; Mon, 6 Mar 2000 18:12:42 +0100 (MET) Message-ID: <38C3E709.2031D012@we.lc.ehu.es> Date: Mon, 06 Mar 2000 18:12:41 +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: Bill Fenner Cc: freebsd-current@freebsd.org, "Bruce A. Mah" Subject: Re: IPv6: can a link-site (or global) address be configured in rc.conf? References: <200003061628.IAA19733@windsor.research.att.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bill Fenner wrote: > > Bruce is right that machines expect to learn their prefixes from their > local router; however if you're just playing around you might want to > set it yourself. The easiest way I've found to do this is to say that > this machine is a router: > > # sysctl -w net.inet6.ip6.forwarding=1 > net.inet6.ip6.forwarding: 0 -> 1 > > and then run "prefix" to set a site-local prefix: > > # prefix dc0 fec0:0:0:1:: > # ifconfig dc0 > dc0: flags=8843 mtu 1500 > inet6 fe80::2a0:ccff:fe36:7410%dc0 prefixlen 64 scopeid 0x1 > inet6 fec0::1:2a0:ccff:fe36:7410 prefixlen 64 > > Of course, if you have global address space too you can assign that prefix > too. > Thanks Bruce and Bill!. I suspected something like this. I read about IPv6 autoconfiguration, but since I am playing with site-local addresses and I have no IPv6 router [yet], I wondered about how to configure the IPv6 site-local address. Well, my problem is solved, and now I understand IPv6 better. Thanks again, -- 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