From owner-freebsd-net Tue Nov 5 17: 0:42 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C601637B401 for ; Tue, 5 Nov 2002 17:00:40 -0800 (PST) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9899243E42 for ; Tue, 5 Nov 2002 17:00:40 -0800 (PST) (envelope-from mux@freebsd.org) Received: by elvis.mu.org (Postfix, from userid 1920) id 7DF21AE2D9; Tue, 5 Nov 2002 17:00:40 -0800 (PST) Date: Tue, 5 Nov 2002 17:00:40 -0800 From: Maxime Henrion To: net@FreeBSD.org Subject: problems with stf(4) and ipv6_gateway_enable Message-ID: <20021106010040.GJ26605@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi all, I'm having problems setting my box as an ipv6 router. It's already doing 6to4 using the following configuration without problems. ipv6_enable="YES" ipv6_defaultrouter="2002:c058:6301::" # Use this for 6to4 (RFC 3068) ipv6_prefix_xl1="2002:5143:8351:" stf_interface_ipv4addr="81.67.131.81" When I add the following knobs : ipv6_gateway_enable="YES" rtadvd_enable="YES" rtadvd_interfaces="xl0" The ipv6_gateway_enable causes the startup script to issue another ifconfig command (line 101 of /etc/rc.d/network_ipv6) which fails with the following error message : ifconfig: 2002:5143:8351:::: bad value I assume I must be doing something stupid since I'm no IPv6 expert. Another odd thing to note is that the boot scripts output : IPv4 mapped IPv6 address support=NO while it works fine (except for the gateway thing). Any thoughts are of course appreciated. Cheers, Maxime To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message