From owner-freebsd-questions Thu Aug 30 17:23:36 2001 Delivered-To: freebsd-questions@freebsd.org Received: from aeon.tvd.be (aeon.tvd.be [195.162.196.20]) by hub.freebsd.org (Postfix) with ESMTP id B048B37B401 for ; Thu, 30 Aug 2001 17:23:31 -0700 (PDT) (envelope-from wvhemel@vub.ac.be) Received: from cocaine.cryolabs.net (cable-213-132-151-176.upc.chello.be [213.132.151.176]) by aeon.tvd.be (8.9.3/8.9.3/RELAY-1.1) with ESMTP id BAA14788; Fri, 31 Aug 2001 01:58:42 +0200 (MET DST) Date: Fri, 31 Aug 2001 01:58:32 +0200 (CEST) From: Wouter Van Hemel To: Hajimu UMEMOTO Cc: Subject: Re: ipv6 route configuration In-Reply-To: <20010830.223412.21853525.ume@mahoroba.org> Message-ID: PGP: 0B B4 BC 28 53 62 FE 94 6A 57 EE B8 A6 E2 1B E4 (0xAA5412F0) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 30 Aug 2001, Hajimu UMEMOTO wrote: > >>>>> On Wed, 29 Aug 2001 23:35:30 +0200 (CEST) > >>>>> Wouter Van Hemel said: > > wvhemel> So, now step by step, for the router, you would do this (ed0 is outside, > wvhemel> ed1 internal): > > wvhemel> route add -inet6 3ffe:b80:1c8:: -prefixlen 48 -interface lo0 > wvhemel> (to stop looping, right?) > > Yes. > > wvhemel> ifconfig ed1 inet6 3ffe:b80:1c8::1 prefixlen 64 > wvhemel> (route to internal interface) > > wvhemel> -- that's enough for the router? (no rtadv, just static route's) > > It seems you need to have default route for internet, too. > > wvhemel> However, this: > wvhemel> route add -inet6 default link-local-address-of-router%interface-of-the-host > > wvhemel> gives an error, 'No address associated with hostname: bad value'. > > Please replace link-local-address-of-router and interface-of-the-host > to your actuall address. > Eh that's what I did :) I'm using unix-systems for quite a long time now, it's just this thing that really doesn't want to work. I got it working now, one of the problems was the test machine in my internal network (an old openbsd machine). It didn't accept it's own ip until I messed with kernel-options and rtsol (weird... very weird); it refused to accept packets until I initialised it with rtsol (plug&play), then the manual 3ffe:b80:1c8::2 worked too. > wvhemel> So it's good measure to make /64 subnets... That's the kind of thing I'd > wvhemel> like to learn a bit more, about the reasons and thetechnical side. Do you > wvhemel> have any pointers? > > Please refer RFC2373 (IPv6 Addressing Architecture) 2.5.7 Aggregatable > Global Unicast Addresses. > Thanks, I'll do that. And thank you for your help! > -- > Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan > ume@mahoroba.org ume@bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org > http://www.imasy.org/~ume/ > . . . . . w o u t e r . . . o . . . , /\ __=__/`\______________________________ __o _/ . ` . \_ _=_ o// O\ | w o u t e r v a n h e m e l | <\o/\ P `| |_ . h t t p : / / w w w . i n s o m n i a . c x / . _| O _\ |\ \_________________________________o________\o_________/ <'> /O^ |()o _O\ . l a v i e e n m o u v e m e n t |`\ >> \\ << . . . . . . . . . To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message