From owner-freebsd-current@FreeBSD.ORG Sat Apr 16 09:35: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 8E159106564A for ; Sat, 16 Apr 2011 09:35:17 +0000 (UTC) (envelope-from mattia.rossi.mate@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5ACC58FC15 for ; Sat, 16 Apr 2011 09:35:17 +0000 (UTC) Received: by pzk27 with SMTP id 27so1722634pzk.13 for ; Sat, 16 Apr 2011 02:35:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:organization :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=+cmBdkFyfPgYa7dMjvEgxMPjts6/6fCJKqXM9ZR4byg=; b=dbZNKfb4jV47FD8hm4QTqw7vw1Y8RppY0+hBaMfPz67EIMy3LvQeTcQ+HOctCy/yQj z0N6lEIjK+KUZSk+5pXPsV6yUbyeq9tAS2+mkpm7L83Zm+1qRzlK2qmS32HPIQ8MptpB oHb4ScmZ7rW6GG1Sqh0rMKoIpTmjNdj4Crm0M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:organization:user-agent:mime-version :to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; b=SN5HJN9PVZHAmFFNu9Ffu93dV0AzLQ5iPPgxrtdZv3WOCllMY0ODNKwPwimIJMm315 8axujIqh86mLgBUuSDWn6x6hUwS946YQCrDEN8AHmXt0JzjvzFBViSsYEvYQsnaInjYm uPJv//uvWxmyxYq0Lu3pCMjXdlP9dtSrF1nmM= Received: by 10.142.200.1 with SMTP id x1mr1361296wff.82.1302944630605; Sat, 16 Apr 2011 02:03:50 -0700 (PDT) Received: from [192.168.15.65] (124-168-216-221.dyn.iinet.net.au [124.168.216.221]) by mx.google.com with ESMTPS id m10sm4796020wfl.11.2011.04.16.02.03.47 (version=SSLv3 cipher=OTHER); Sat, 16 Apr 2011 02:03:49 -0700 (PDT) Message-ID: <4DA95BAF.1080909@swin.edu.au> Date: Sat, 16 Apr 2011 19:04:47 +1000 From: Mattia Rossi Organization: Swinburne University of Technology User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: Marcin Cieslak References: <4DA7EAB5.9090204@swin.edu.au> <4DA84876.9020402@swin.edu.au> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: IPv6 tunnel problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mrossi@swin.edu.au List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Apr 2011 09:35:17 -0000 On 15/04/11 23:58, Marcin Cieslak wrote: >>> 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 > Having ACCEPT_RTADV doesn't change anything. I can disable it by hand, so my options are 21 as well and it doesn't work. >> 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 > There's no duplicate, maybe obfuscating the IPv6 address was not so smart.. There's a link local address (scopeid 0x5) starting with fe80 installed by auto_linklocal, and the proper address set by the tunnel > >> 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" > Haven't realized there was an ifdisabled set. But it doesn't change anything unsetting it. Still no IPv6 > 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 > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"