From owner-freebsd-current@FreeBSD.ORG Fri Apr 15 13:58:17 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39923106564A for ; Fri, 15 Apr 2011 13:58:17 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id B41638FC14 for ; Fri, 15 Apr 2011 13:58:16 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QAjXL-0003T6-5w for freebsd-current@freebsd.org; Fri, 15 Apr 2011 15:58:15 +0200 Received: from l.saper.info ([91.121.203.103]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Apr 2011 15:58:15 +0200 Received: from saper by l.saper.info with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Apr 2011 15:58:15 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Marcin Cieslak Date: Fri, 15 Apr 2011 13:58:03 +0000 (UTC) Organization: http://saper.info Lines: 55 Message-ID: References: <4DA7EAB5.9090204@swin.edu.au> <4DA84876.9020402@swin.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: l.saper.info User-Agent: slrn/0.9.9p1 (FreeBSD) Subject: Re: IPv6 tunnel problem 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 Apr 2011 13:58:17 -0000 >> Mattia Rossi wrote: > I have accept_rtadv enabled if it's not a router. See my post. I think I have a similar setup (only using sixxs-aiccu). Since my machine is a gateway to the outside IPv6 world (via www.sixxs.net) I am not accepting router adverisements there, but I'm running rtadvd and sending them to other hosts on the LAN: nd6 options=21 > ifconfig with tunnel up is: > > ifconfig > bge0: flags=8843 metric 0 mtu 1500 > > options=8009b > ether 00:0d:9d:51:d4:7e > inet 136.186.229.112 netmask 0xffffff00 broadcast xxx.xxx.xxx.xxx > inet6 fe80::xxxx:xxxx:xxxx:xxxx%bge0 prefixlen 64 scopeid 0x5 > inet6 xxxx:xxxx:xxxx:xxxx::xxxx prefixlen 64 duplicated ********** what's up here? > nd6 options=23 > media: Ethernet autoselect (1000baseT ) > status: active Why is this address "duplicated"? If this machine *is* the gateway to the outside IPv6 world, should *not* it be accepting rtadv and have a global IPv6 address configured statically > tun0: flags=8051 metric 0 mtu 1280 > options=80000 > inet6 fe80::xxxx:xxxx:xxxx:xxxx%tun0 prefixlen 64 scopeid 0x9 > inet6 xxxx:xxxx:xxxx::xxxx --> xxxx:xxxx:xxxx::xxxx prefixlen 128 > nd6 options=29 ********** Does "ifconfig tun0 inet6 -ifdisabled" help? I don't know why gateway6 (I don't use this software) leaves it as "IFDISABLED" This is /etc/rc.conf from my tunnel gateway machine (two tunnels, tun0 and tun1) - it runs a few-month-old -CURRENT: ipv6_gateway_enable="YES" rtadvd_enable="YES" # Internal WLAN rtadvd_interfaces="wlan0" ifconfig_wlan0_ipv6="inet6 aaaaa:bbbb:cccc::1/64" # Tunnel via tun0 is configured automatically by aiccu # and has NO /etc/rc.conf entry at all # Tunnel via tun1 is configured statically (it serves only some networks) ifconfig_tun1_ipv6="inet6 aaaaa:bbbb:cccc:8000::1" //Marcin