From owner-freebsd-questions Wed Aug 29 14:35:13 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hood.tvd.be (hood.tvd.be [195.162.196.21]) by hub.freebsd.org (Postfix) with ESMTP id C0A4537B403 for ; Wed, 29 Aug 2001 14:35:08 -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 hood.tvd.be (8.9.3/8.9.3/RELAY-1.1) with ESMTP id XAA16447; Wed, 29 Aug 2001 23:35:01 +0200 (MET DST) Date: Wed, 29 Aug 2001 23:35:30 +0200 (CEST) From: Wouter Van Hemel To: Hajimu UMEMOTO Cc: Subject: Re: ipv6 route configuration In-Reply-To: <20010830.055029.48456313.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: > Hi, > > >>>>> On Wed, 29 Aug 2001 21:55:56 +0200 (CEST) > >>>>> Wouter Van Hemel said: > > > It is reject route to avoid loop at aggregate point. Actual segment > > should use /64. > > wvhemel> So I can't assign a /48 straight to my internal network? > > I forgot to answer this. > Why you want to assign such large prefix for one segment? /48 means > you have 16bits /64 subnets. > Just for the sake of simplicity in administation, actually... I rather type 3ffe:b80:1c8::1 (which is already annoying) than something like 3ffe:b80:1c8:1:1:1:1:1. > wvhemel> What's the logic behind that? > > Use of /64 for each subnet is principle. > > wvhemel> What about static routes from > wvhemel> 3ffe:b80:1c8::1 --> router > wvhemel> 3ffe:b80:1c8::2 --> server1 > wvhemel> 3ffe:b80:1c8::3 --> server2 ? > > You can still use 3ffe:b80:1c8::1/64 ... > Heh, good point :) So, now step by step, for the router, you would do this (ed0 is outside, ed1 internal): route add -inet6 3ffe:b80:1c8:: -prefixlen 48 -interface lo0 (to stop looping, right?) ifconfig ed1 inet6 3ffe:b80:1c8::1 prefixlen 64 (route to internal interface) -- that's enough for the router? (no rtadv, just static route's) However, this: route add -inet6 default link-local-address-of-router%interface-of-the-host gives an error, 'No address associated with hostname: bad value'. -- So it's good measure to make /64 subnets... That's the kind of thing I'd like to learn a bit more, about the reasons and thetechnical side. Do you have any pointers? > -- > 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