Date: Wed, 29 Aug 2001 23:35:30 +0200 (CEST) From: Wouter Van Hemel <wvhemel@vub.ac.be> To: Hajimu UMEMOTO <ume@mahoroba.org> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Re: ipv6 route configuration Message-ID: <Pine.LNX.4.33.0108292308110.236-100000@cocaine.cryolabs.net> In-Reply-To: <20010830.055029.48456313.ume@mahoroba.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 30 Aug 2001, Hajimu UMEMOTO wrote:
> Hi,
>
> >>>>> On Wed, 29 Aug 2001 21:55:56 +0200 (CEST)
> >>>>> Wouter Van Hemel <wvhemel@vub.ac.be> 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\ .
___________o30>__=__/`\______________________________ <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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.33.0108292308110.236-100000>
