From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C49A41381F3 for ; Wed, 22 May 2013 17:52:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1E52DE084F; Wed, 22 May 2013 17:52:17 +0000 (UTC) Received: from mail-gg0-f179.google.com (mail-gg0-f179.google.com [209.85.161.179]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DA7A6E077B for ; Wed, 22 May 2013 17:52:15 +0000 (UTC) Received: by mail-gg0-f179.google.com with SMTP id c4so772916ggn.10 for ; Wed, 22 May 2013 10:52:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; bh=s9vHqk/cSFTfewOPBK0gvB32WSjj5TPnvyo4j7acuUE=; b=ET2aIBolp5T42d2f+IQHPYu3Sq6D5DW8woIzA4QI37Q6gncFJ42tPaChTvit4wUKR0 HETqMIWuHGmkKB2Yq+TMuHB0UimhjeWlBjsDDL61vbAfLzA2Lc6kJeY9/oS0av98S33a hkFR3Hax5reBJoNBMAcO3JcBUYYmh6lfWA/9QMX8y3JB2W+64OwJrM0fyVINSooWPsTa Sr2i4Ae+gVF5VMZdnmXgRZEz+77+U+DB47t7guL402mK2UJTnMwy/alrtr+5iWHl1U+i 2l/G/fOHTRRx/BA+OKHNiE7C6KltvsUIlTu+fB2VArNI6xhqodEMEBBt/Q7W4ZVasuDg OsIg== X-Received: by 10.236.82.46 with SMTP id n34mr6385418yhe.65.1369245135051; Wed, 22 May 2013 10:52:15 -0700 (PDT) Received: from ?IPv6:2001:5c0:1000:a::6e5? ([2001:5c0:1000:a::6e5]) by mx.google.com with ESMTPSA id e64sm12441641yhm.4.2013.05.22.10.52.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 22 May 2013 10:52:14 -0700 (PDT) Message-ID: <519D05C9.8000308@gmail.com> Date: Wed, 22 May 2013 13:52:09 -0400 From: Michael Mol User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130222 Thunderbird/17.0.2 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] VPN vs LAN address hostname resolution References: <519CF41B.5040108@gmail.com> <519D021D.2050006@orlitzky.com> In-Reply-To: <519D021D.2050006@orlitzky.com> X-Enigmail-Version: 1.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2BSQVHTNUVGAXBMMLGEET" X-Archives-Salt: 460654a8-443e-4752-b682-eb7eccb2d497 X-Archives-Hash: 7b7c5d4b954a0d7e1f0fc868dddb0409 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2BSQVHTNUVGAXBMMLGEET Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 05/22/2013 01:36 PM, Michael Orlitzky wrote: > On 05/22/13 12:36, Samuraiii wrote: >> Hello, >> >> I am trying to get hostname address resolution on my LAN and VPN with >> one serious problem: >> I have two "networks" eg. 10.1.1.0 and 10.2.2.0 which are representing= >> local address space for LAN (10.1.1.0/8) and VPN address space (10.2.2= =2E0/8). > This isn't two networks, it's one network and you've got the VPN space > overlapping the LAN space. To oversimplify a little, Don't Do That. > > Use a separate subnet for the VPN. Then traffic to the VPN will be > routed over the VPN interface as intended, but traffic to the LAN will > be routed over the LAN interface. This is what you want, but right now > the VPN and the LAN are the same network, so "routing to the LAN" is th= e > same as "routing to the VPN", and your network stack doesn't know what > to do with it. > > To be clear, replacing /8 with /24 would do this: 10.1.1.0/8, as a "network", is really just 10.0.0.0/8. This is also true of 10.2.2.0/8. The bits after the first 8 are irrelevant, since a /8 is being used. Use /24 instead, in this case. It would be good for Samuraiii to read up: http://www.tcpipguide.com/free/t_IPAddressing.htm ------enig2BSQVHTNUVGAXBMMLGEET Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJRnQXMAAoJED5TcEBdxYwQ+u4IAKkDiUVmAWGKLP9aN/3cjWac XIbOsI6BCINKxV/onZGnJIL/Bj8mRt2jROoxNwQnyouTfqFwUrWC13Xm2YcWvlHc zRVkyMWKl/TbwAqZkBpBrVuTj3WkP8FQbOYhgmwZr+oh2gv/U4N4qTVWpabZGgAO MlWY47LP+7dC4xJvkk+x74EIbdF3I/mlmzlP9x07bAAmQO/VieQtw2li2kJIqIdO Tyuv3hY/mKpfGGxDlenhCUlTcnRG1GKxjJ0jH7wtp1SAF4vzdteGRQk/B+HTvrfZ EOvYIrlz2Wj++hFd9n691OPUFimVAa15W63Ba0JhYZFIAO+MDCOOuW1HFAywrKU= =sDjF -----END PGP SIGNATURE----- ------enig2BSQVHTNUVGAXBMMLGEET--