From owner-freebsd-net@FreeBSD.ORG Thu Dec 18 23:33:04 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 181451065670 for ; Thu, 18 Dec 2008 23:33:04 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by mx1.freebsd.org (Postfix) with ESMTP id A25E78FC0C for ; Thu, 18 Dec 2008 23:33:03 +0000 (UTC) (envelope-from max@love2party.net) Received: from vampire.homelinux.org (dslb-088-066-020-216.pools.arcor-ip.net [88.66.20.216]) by mrelayeu.kundenserver.de (node=mrelayeu0) with ESMTP (Nemesis) id 0MKwh2-1LDSMY0cmr-0007WX; Fri, 19 Dec 2008 00:33:02 +0100 Received: (qmail 13501 invoked from network); 18 Dec 2008 23:33:01 -0000 Received: from fbsd8.laiers.local (192.168.4.151) by laiers.local with SMTP; 18 Dec 2008 23:33:01 -0000 From: Max Laier Organization: FreeBSD To: freebsd-net@freebsd.org Date: Fri, 19 Dec 2008 00:33:01 +0100 User-Agent: KMail/1.10.1 (FreeBSD/8.0-CURRENT; KDE/4.1.1; i386; ; ) References: <494AC323.9070007@ibctech.ca> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812190033.01630.max@love2party.net> X-Provags-ID: V01U2FsdGVkX1+Key6S/iS8pxiGHNnVMiwix7eVPU/goxpXrJ5 H57CcwhUx5JzRWOd8lKVtswYLr7ed7R4sk0caEHhE8dgYzoF3l UvS9hfMXP2ol9kYAD9M8g== Cc: Ivan Voras Subject: Re: IPv6 routing help? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Dec 2008 23:33:04 -0000 On Thursday 18 December 2008 23:08:12 Ivan Voras wrote: > Steve Bertrand wrote: > > Ivan Voras wrote: > >> As far as I understand ipv6 (very little), this basically says the > >> router told the client it can't send packets to outside addresses with > >> source addresses that are link-local. Is this correct? > > > > I don't know much about 6to4. All of my IPv6 is native, but what you are > > saying appears correct. > > > > It is almost like a translation at the router should be happening, but > > it is not. > > Yes. No! IPv6 gets rid of all the translation madness! > >> However, adding an ipv6 address to the client, in this case > >> 2002:xxyy:xxyy::10/64 doesn't help and breaks even pinging the router's > >> external address. It looks to me like I'm missing something important in > >> the relation between the link-local and the global addresses, but what? > > > > In this case, you are implementing the same IP prefix on both sides of > > the router, which won't work. > > I don't follow you - is something significantly different than ipv4? What you need to do is something like the following: On the interface you are running rtadvd you need a global address out of your stf prefix, e.g. 2002:aabb:ccdd:1::/64. Once you do that, everything else should just fall into place. The client will configure an address out of that prefix and adds a route via 2002:aabb:ccdd:1::/64. This should get you going. > > Try to ping6 www.freebsd.org from the router itself. If that works, the > > issue is most certainly the router. If this is the case, hopefully > > someone with more 6to4 experience can explain why your router is not > > doing the expected thing. > > IPv6 from and to the "router" (it's actually an ordinary machine doing > lots of stuff) works for all purposes. -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News