From owner-freebsd-stable Sat Aug 3 10:51:40 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 99D1037B400 for ; Sat, 3 Aug 2002 10:51:35 -0700 (PDT) Received: from horsey.gshapiro.net (horsey.gshapiro.net [209.220.147.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id E668543E6A for ; Sat, 3 Aug 2002 10:51:34 -0700 (PDT) (envelope-from gshapiro@gshapiro.net) Received: from horsey.gshapiro.net (gshapiro@localhost [IPv6:::1]) by horsey.gshapiro.net (8.12.5/8.12.5) with ESMTP id g73HpYvE045496 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sat, 3 Aug 2002 10:51:34 -0700 (PDT) Received: (from gshapiro@localhost) by horsey.gshapiro.net (8.12.5/8.12.5/Submit) id g73HpX0T045493; Sat, 3 Aug 2002 10:51:33 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15692.6181.368549.652902@horsey.gshapiro.net> Date: Sat, 3 Aug 2002 10:51:33 -0700 From: Gregory Neil Shapiro To: Erwin Lansing Cc: freebsd-stable@FreeBSD.ORG Subject: Re: rc.conf hooks for IPv6 and gif0 IPv6 tunnel interfaces? In-Reply-To: <20020803123456.E3782@droso.net> References: <20020803122546.L1015-100000@phoenix.vh.laserfence.net> <20020803123456.E3782@droso.net> X-Mailer: VM 7.03 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG erwin> ipv6_enable="YES" # Set to YES to set up for IPv6 erwin> gifconfig_gif0="62.79.90.66 62.242.0.222" erwin> ipv6_ifconfig_gif0="2001:6c8:9:1::6 2001:6c8:9:1::5 prefixlen 128" erwin> ipv6_defaultrouter="2001:6c8:9:1::5" I believe you also need: gif_interfaces="gif0" erwin> is just for my tunnel. In case it helps, my tunnel is slightly different in that it gives me a full network which my firewall routes to my internal network. The above is just for a single IPv6 node. Here are my settings (with commentary): # The basic tunnel setup gif_interfaces="gif0" gifconfig_gif0="209.220.147.177 216.98.98.82" # Enable IPv6 ipv6_enable="YES" ipv6_network_interfaces="sis0 gif0" # Enable IPv5 firewall ipv6_firewall_enable="YES" ipv6_firewall_type="/etc/ip6fw.rules" ipv6_firewall_quiet="YES" ipv6_firewall_logging="YES" ipv6_firewall_flags="-p m4" # Make this machine the router for the IPv6 network ipv6_gateway_enable="YES" # Set the prefix for my network (for autoconfiguration of addresses) ipv6_prefix_sis0="3ffe:0507:018b:0001" # Start router advertisement daemon so other machines on my network can # autoconfigure rtadvd_enable="YES" rtadvd_interfaces="sis0" # Enable routed to talk to my upstream provider (tunnel) # You only need this is you have a RIPng based tunnel, not a static tunnel ipv6_router_enable="YES" ipv6_router_flags="-A 3ffe:0507:018b::/48,gif0 -O 3ffe:0507:018b::/48,gif0" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message