From owner-freebsd-current Mon Mar 6 8:28:42 2000 Delivered-To: freebsd-current@freebsd.org Received: from mail-blue.research.att.com (mail-blue.research.att.com [135.207.30.102]) by hub.freebsd.org (Postfix) with ESMTP id 9D50437BC02 for ; Mon, 6 Mar 2000 08:28:39 -0800 (PST) (envelope-from fenner@research.att.com) Received: from alliance.research.att.com (alliance.research.att.com [135.207.26.26]) by mail-blue.research.att.com (Postfix) with ESMTP id AD6AA4CE16; Mon, 6 Mar 2000 11:28:34 -0500 (EST) Received: from windsor.research.att.com (windsor.research.att.com [135.207.26.46]) by alliance.research.att.com (8.8.7/8.8.7) with ESMTP id LAA01913; Mon, 6 Mar 2000 11:28:33 -0500 (EST) From: Bill Fenner Received: (from fenner@localhost) by windsor.research.att.com (8.8.8+Sun/8.8.5) id IAA19733; Mon, 6 Mar 2000 08:28:00 -0800 (PST) Message-Id: <200003061628.IAA19733@windsor.research.att.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII To: jose@we.lc.ehu.es Subject: Re: IPv6: can a link-site (or global) address be configured in rc.conf? Cc: freebsd-current@freebsd.org Date: Mon, 6 Mar 2000 08:28:00 -0800 Versions: dmail (solaris) 2.2g/makemail 2.9a Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message