From owner-freebsd-current@FreeBSD.ORG Fri Oct 15 18:05:10 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B62F106566C for ; Fri, 15 Oct 2010 18:05:10 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from gromit.grondar.org (unknown [IPv6:2001:ba8:0:1d5:216:d4ff:fe0d:d845]) by mx1.freebsd.org (Postfix) with ESMTP id AFE768FC14 for ; Fri, 15 Oct 2010 18:05:09 +0000 (UTC) Received: from uucp by gromit.grondar.org with UUCP (Exim 4.72) (envelope-from ) id 1P6oeS-0007Ig-Pd for current@freebsd.org; Fri, 15 Oct 2010 19:05:08 +0100 Received: from localhost ([127.0.0.1] helo=groundzero.grondar.org) by groundzero.grondar.org with esmtp (Exim 4.72 (FreeBSD)) (envelope-from ) id 1P6oe7-0000lL-JV for current@freebsd.org; Fri, 15 Oct 2010 19:04:47 +0100 Message-Id: To: current@freebsd.org From: Mark Murray Date: Fri, 15 Oct 2010 19:04:47 +0100 Cc: Subject: Setting up IPv6 in /etc/rc.conf X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Oct 2010 18:05:10 -0000 Hi IPv6 gurus: what are the CURRENT /etc/rc.conf incantations to do the following (which works): $ ifconfig gif0 create $ ifconfig gif0 tunnel 192.168.0.2 11.22.33.44 $ ifconfig gif0 inet6 2001:1111:2222:3333::2 2001:1111:2222:3333::1 prefixlen 128 $ route -n add -inet6 default 2001:1111:2222:3333::1 $ ifconfig gif0 up ... when my non-working setup in /etc/rc.conf contains gif_interfaces="gif0" gifconfig_gif0="192.168.0.2 11.22.33.44" gifconfig_gif0_ipv6="2001:1111:2222:3333::2 2001:1111:2222:3333::1 prefixlen 128" ipv6_defaultrouter="-inet6 default 2001:1111:2222:3333::1" ... which used to work. The bit that fails is the bit where gif0 gets its tunnel IPv6 addresses. I've tried both gifconfig_gif0_ipv6="..." and ifconfig_gif0_ipv6="...". The IPv6 endmpoints never make it onto gif0. This used to work, but setting up IPv6 in CURRENT is a moving target, and I can't find a working example any more. I've looked in /etc/defaults/rc.conf, but the gifN examples there are all devoid of any IPv6 examples. M -- Mark R V Murray Cert APS(Open) Dip Phys(Open) BSc Open(Open) BSc(Hons)(Open) Pi: 132511160