From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Pwr1t-0003KV-Vk for garchives@archives.gentoo.org; Tue, 08 Mar 2011 07:08:26 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AF56FE0478; Tue, 8 Mar 2011 07:07:00 +0000 (UTC) Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 4A008E0478 for ; Tue, 8 Mar 2011 07:07:00 +0000 (UTC) Received: by wwj40 with SMTP id 40so589303wwj.10 for ; Mon, 07 Mar 2011 23:06:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:reply-to:to:subject:date:user-agent :references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=XMi6z+jrUGA8xmRmcMdmwLMc4fOIpwLsD7HxcsDkumY=; b=Wwdq/HWzCUKozSXCJuWrV0m6LqeUqxAu0qz59sNjVUlIdXpBokidAzer0HrGz3QNZZ TUmvl6ZeAHedIN/lnN4oqwZ/lP+k5zrJLhIRiElgcf9cQOVPmax8MMkE+nGF5lOc8i81 CPMqCz2HMmWu325cwK+27rfxq6tB+Kr3A5hjA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=lpH6nPVWIKhQnRGM3A0W83iPG+D5B2/EMgbI6TLCRJdjt+MEh2PmLQ4PPt3yqe+9YR d1xfikILakgAMUuvEtnmNB/xBTc9lyax2tO40Sa5Eyc4e9T5TtT/QX1lF1olUgoUX9J1 9RYp6IJvNXiDK2rJ+I1sAfFvyAyJYJ4bRujJs= Received: by 10.216.4.82 with SMTP id 60mr3063643wei.89.1299568019497; Mon, 07 Mar 2011 23:06:59 -0800 (PST) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa [217.169.3.230]) by mx.google.com with ESMTPS id s50sm159509weh.46.2011.03.07.23.06.56 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 Mar 2011 23:06:57 -0800 (PST) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Two local subnets and IPv6 Date: Tue, 8 Mar 2011 07:07:02 +0000 User-Agent: KMail/1.13.5 (Linux/2.6.36-gentoo-r5; KDE/4.4.5; x86_64; ; ) References: <20110307235418.GA4330@x7bj.fritz.box> In-Reply-To: <20110307235418.GA4330@x7bj.fritz.box> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2267098.BqXS1qKPHa"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201103080707.14998.michaelkintzios@gmail.com> X-Archives-Salt: X-Archives-Hash: a6da658698c108b729e48891788ec528 --nextPart2267098.BqXS1qKPHa Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Monday 07 March 2011 23:54:18 Nils Holland wrote: > Hi folks, >=20 > well, this is not a strictly Gentoo-related question, but probably > someone in here has an idea on this anyway. >=20 > I currently have the following situation here: > |Internet| > | > | (Dynamic public IPv4 address) >=20 > DSL-Router >=20 > | (192.168.178.1) >=20 > - >=20 > | (192.168.178.40, via WLAN) >=20 > GentooBox1 >=20 > | (192.168.0.1, via Ethernet) >=20 > - >=20 > | (192.168.0.2...n, via Ethernet) >=20 > GentooBox2...n >=20 > The point in this setup is to have one machine with the best WLAN > reception the Internet connection via WLAN, and serve as a router so > that the other machines (many of which have problems receiving the > weak WLAN signal) are connected via Ethernet and can reach the > Internet via GentooBox1 (and communicate with one another at 100 > MBit/s or GigE speed). Works fine. Will do the job at least until > I'll finally come around to pulling a cable between the DSL router in > the floor below me and this room, which is the eventually planned > solution. >=20 > Now, however, IPv6 has entered the picture and makes things more > difficult. At least I have not yet been able to find a way to make it > work nicely in this scenario. Currently, I'm receiving IPv6 via a 6to4 > tunnel established directly by my DSL router. So the above diagram, >=20 > with regard to IPv6, would look like this: > |Internet| >=20 > DSL-Router >=20 > | (dynamic /48 based on its current public IPv4 address) >=20 > - >=20 > | (/64 address based on prefix and MAC of interface, > |=20 > | assigned magically by the DSL router (I guess) (WLAN)) >=20 > GentooBox1 >=20 > | ??? (Ethernet) >=20 > - >=20 > | ??? (Ethernet) >=20 > GentooBox2...n >=20 > The ??? are where my problems start. I don't really have a clue what > to do here. I probably shouldn't really manually assign IPv6 addresses > to GentooBox1's and GentooBox2's Ethernet cards, since these wouldn't > be worth much, as the prefix would change any time the IPv4 address > that serves as a basis for the 6to4 address changes. I could also > install radvd on GentooBox1, but the changing prefix would probably be > a problem in that case as well, and I have the feeling that this > wouldn't help me much anyway, as I'd probably have to add some routes > to my DSL router's routing table for things to work - problem is, the > DSL router will only let me manually add IPv4 routes, not IPv6 ones > (at least with its official firmware). >=20 > So, any ideas or pointers what I could do here? Of course, if I didn't > have two subnets, things would be simple (then the DSL router could > handle everything), but this just isn't the situation I have here > right now. Bridging the Ethernet interface and the WLAN interface on > GentooBox1 was my first idea actually, but doesn't seem to work with > its WLAN NIC. And of course, any machines "behind" GentooBox2 could > establish their own IPv6 tunnel connections, but ... well ... I the > strong feeling that what I've been trying above should work as well > ... somehow! ;-) I have not tried this myself (my router won't do ipv6 yet) so you'll need t= o=20 try it out yourself. Instead of terminating the tunnel at your router,=20 forward it as is and terminate it at gentoo box 1. Then forward the ipv6=20 addresses from there for each of your clients. This means that the router= =20 will no longer function as such and for all intends and purposes you can pl= ace=20 it in a fully bridged mode (no WAN IP address, no NAT-ing, no DHCP-ing. Hope this helps. =2D-=20 Regards, Mick --nextPart2267098.BqXS1qKPHa Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEABECAAYFAk111aIACgkQVTDTR3kpaLZMMgCg1T7iPpZd0DmrglB/yZZbT1ES vo8AoOzXENA+t4iek0XJt5uH7Urg4cPI =5Ayx -----END PGP SIGNATURE----- --nextPart2267098.BqXS1qKPHa--