From owner-freebsd-questions Wed Aug 29 11:44:18 2001 Delivered-To: freebsd-questions@freebsd.org Received: from light.imasy.or.jp (light.imasy.or.jp [202.227.24.4]) by hub.freebsd.org (Postfix) with ESMTP id 71BB137B406 for ; Wed, 29 Aug 2001 11:44:12 -0700 (PDT) (envelope-from ume@mahoroba.org) Received: (from uucp@localhost) by light.imasy.or.jp (8.11.6+3.4W/8.11.6/light) with UUCP id f7TIhw210426; Thu, 30 Aug 2001 03:43:58 +0900 (JST) (envelope-from ume@mahoroba.org) Received: from peace.mahoroba.org (IDENT:DpD2pOZXnMmo4sfU6hUr9I0KWbNrRvJh7uz+I43mO4friImCQfxBQJTUyzq5yEeZ@peace.mahoroba.org [2001:200:301:0:200:f8ff:fe05:3eae]) (authenticated as ume with CRAM-MD5) by mail.mahoroba.org (8.11.6/8.11.6/chaos) with ESMTP/inet6 id f7TIhKj02290; Thu, 30 Aug 2001 03:43:20 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Thu, 30 Aug 2001 03:43:58 +0900 (JST) Message-Id: <20010830.034358.39231250.ume@mahoroba.org> To: wvhemel@vub.ac.be Cc: freebsd-questions@FreeBSD.ORG Cc: ume@mahoroba.org Subject: Re: ipv6 route configuration From: Hajimu UMEMOTO In-Reply-To: References: X-Mailer: xcite1.38> Mew version 1.95b119 on Emacs 20.7 / Mule 4.0 =?iso-2022-jp?B?KBskQjJWMWMbKEIp?= X-PGP-Public-Key: http://www.imasy.org/~ume/publickey.asc X-PGP-Fingerprint: 6B 0C 53 FC 5D D0 37 91 05 D0 B3 EF 36 9B 6A BC X-URL: http://www.imasy.org/~ume/ X-Operating-System: FreeBSD 5.0-CURRENT Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Hi, # I'm not on -question list. >>>>> On Wed, 29 Aug 2001 17:06:08 +0200 (CEST) >>>>> Wouter Van Hemel said: wvhemel> route add -inet6 3ffe:0b80:01c8:: -prefixlen 48 -interface lo0 (--> why lo0 ?? shouldn't this subnet be send to ed1, the internal net?) It should be better to add -reject. wvhemel> and it makes a rtadvd.conf-file with: wvhemel> ##### start ##### wvhemel> default:\ wvhemel> :raflags#0:rltime#3600:\ wvhemel> :pinfoflags#64:vltime#360000:pltime#360000:mtu#1500: wvhemel> ether:\ wvhemel> :mtu#1280:tc=default: wvhemel> # interfaces. wvhemel> ed1:\ wvhemel> :addrs#1:\ wvhemel> :addr="3ffe:0b80:01c8:0001::":prefixlen#64:tc=ether: wvhemel> ##### end ##### Actually, you don't need rtadvd.conf. wvhemel> 1) why does the /48 class get bound to lo0? It is reject route to avoid loop at aggregate point. Actual segment should use /64. wvhemel> 2) how do I send the full /48 class to the internal net, using ::1 for the wvhemel> router itself - like my ipv4 internal net? wvhemel> 3) does rtadvd have to run on all machines, or just the router? Just on the router. wvhemel> Anybody with a better understanding of routing, please enlighten me, or wvhemel> point me to good resources... thanks :) Basically, if you use /etc/rc.conf, you can set something like: gif_interfaces="gif0" gifconfig_gif0="real_ip tunnel_end_point" ipv6_enable="YES" ipv6_network_interfaces="ed1" ipv6_prefix_ed1="3ffe:b80:1c8:1" ipv6_gateway_enable="YES" ipv6_router_enable="YES" ipv6_router_flags="-A 3ffe:b80:1c8::/48,gif0 -O 3ffe:b80:1c8::/48,gif0" rtadvd_enable="YES" rtadvd_interfaces="ed1" -- 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/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message