From owner-freebsd-questions Sun Sep 2 13:33:34 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 5EAAA37B401 for ; Sun, 2 Sep 2001 13:33:25 -0700 (PDT) Received: from cocaine.cryolabs.net (cable-213-132-151-127.upc.chello.be [213.132.151.127]) by aeon.tvd.be (8.9.3/8.9.3/RELAY-1.1) with ESMTP id WAA04137; Sun, 2 Sep 2001 22:33:15 +0200 (MET DST) Date: Sun, 2 Sep 2001 22:31:20 +0200 (CEST) From: Wouter Van Hemel To: JINMEI Tatuya Cc: Subject: Re: ipv6 route configuration In-Reply-To: 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=ISO-8859-15 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 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 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 _/ . ` . \_ _=_ 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