Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Sep 2001 22:31:20 +0200 (CEST)
From:      Wouter Van Hemel <wvhemel@vub.ac.be>
To:        JINMEI Tatuya <jinmei@isl.rdc.toshiba.co.jp>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: ipv6 route configuration
Message-ID:  <Pine.LNX.4.33.0109022217320.104-100000@cocaine.cryolabs.net>
In-Reply-To: <y7vu1ylh9xc.wl@condor.jinmei.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 3 Sep 2001, JINMEI Tatuya / [ISO-2022-JP] 神明達哉 wrote:

> First of all, please specify the OS and its version of your router and
> hosts.  Without the information, we cannot diagnose the problem
> correctly.
>

I'm sorry, I'm running FreeBSD 4.3 (otherwise I wouldn't have send it to
this list :) ).

I got it working two days ago, the problem was the end-host in my eternal
network that I tried to reach from the outside, and not the router. I
disallowed it to accept route advertissements, because I wanted to
configure it manually (wasn't so fond of the complicated automaticly
assigned ipv6-address), but I added a route to my gateway like this:

  route add default inet6 ipv6-address-of-router

instead of the correct

  route add default inet6 link-local-address-router%interface


This caused my routes to time-out once route auto-config was disabled.

(Why does ipv6 need to know the mac (link-local) address, while with ipv4
you can just assign the ip of the gateway? Isn't this a step back instead
of forward?)

> >>>>> On Wed, 29 Aug 2001 17:06:08 +0200 (CEST),
> >>>>> Wouter Van Hemel <wvhemel@vub.ac.be> said:
>
> > 1) why does the /48 class get bound to lo0?
>
> I guess it should actually be:
>
> route add -inet6 3ffe:0b80:01c8:: -prefixlen 48 -interface lo0 -reject
>                                                                ^^^^^^^
>
> this is a typical configuration at a site-border router, in order to
> prevent packets towards non-existing internal address from being sent
> outside of the site.
>

Ah ok, that's why...

> > 2) how do I send the full /48 class to the internal net, using ::1 for the
> > router itself - like my ipv4 internal net?
>
> You don't have to advertise the full /48 route.  In this
> configuration, you should only advertise 3ffe:b80:1c8::/64 on the
> internal segment.  rtadvd will do this automatically.
>
> > 3) does rtadvd have to run on all machines, or just the router?
>
> No, rtadvd must run on routers only.
>
> One more related comment: you should not configure rtadvd.conf by
> hand.  rtadvd will automatically collect all information that it
> needs, and will advertise it without any configuration.  You should
> usually just invoke rtadvd like:
> # rtadvd ed1
>
> from KAME's rtadvd(8):
>
>      If there is no configuration file entry for an interface, or if the con-
>      figuration file does not exist altogether, rtadvd sets all the parameters
>      to their default values.  In particular, rtadvd reads all the interface
>      routes from the routing table and advertises them as on-link prefixes.
>

I'll remember that. Thanks for your comments!

> 					JINMEI, Tatuya
> 					Communication Platform Lab.
> 					Corporate R&D Center, Toshiba Corp.
> 					jinmei@isl.rdc.toshiba.co.jp
>


.
. . . .  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.0109022217320.104-100000>