From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HIYAo-0004iX-BU for garchives@archives.gentoo.org; Sat, 17 Feb 2007 22:36:54 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l1HMZ9ji020789; Sat, 17 Feb 2007 22:35:09 GMT Received: from atrey.karlin.mff.cuni.cz (atrey.karlin.mff.cuni.cz [195.113.31.123]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l1HMSnAe011364 for ; Sat, 17 Feb 2007 22:28:49 GMT Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 26684) id EAE31C7DA2; Sat, 17 Feb 2007 23:28:49 +0100 (CET) Date: Sat, 17 Feb 2007 23:28:48 +0100 From: "Michal 'vorner' Vaner" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Routing: how to enable.. Message-ID: <20070217222848.GA32624@tarantula> References: <200702172122.19163.surely@life.de> <45D768C0.6050008@signless.com> <200702172307.37468.surely@life.de> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=SHA1; protocol="application/pgp-signature"; boundary="zYM0uCDKw75PZbzx" Content-Disposition: inline In-Reply-To: <200702172307.37468.surely@life.de> Jabber-ID: michal.vaner@njs.netlab.cz User-Agent: Mutt 1.5.13 (2006-08-11) X-Archives-Salt: d0f2581b-0d6b-486f-aa34-63e12227da0c X-Archives-Hash: ad814409118941845c3cf05f4ece2936 --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, On Sat, Feb 17, 2007 at 11:07:34PM +0100, Roman Naumann wrote: > Here the whole configuration: (imagine it as a complicated line of differ= ent=20 > connections through the entire house...) > [SNIP] Hm, I think in theory you should have the PC in the middle with 2 IP addresses, on each interface different. On each segment (each side of the middle one) should be IPs from different range and there should be allowed routing (that I do not know how). It would look like this: -->( PC1 ) -- ( PC2 ) -- ( PC3 ) PC2 can comm with all (since it is on both nets). PC3 shloud use IP-C as its gateway, which will allow it to access PC1. PC1 should have static route for whole Range2 to IP-B, so it can send to PC3. Now, how is that set in Windows, who knows.. After this all is set, PC1 and PC3 should be able to talk to each other. However, you will not see the pings unless both directions work. So, you need to: =E2=80=A2 PC3: /etc/conf.d/net:routes_eth0 =3D { default via IP-C } =E2=80=A2 PC2: enable routing (I guess /etc/conf.d/net too) =E2=80=A2 PC1: add a static route Range2 -> IP-B. I just hope I did not mess that up. Or you can set up a bridge on PC2 to make both segments one net only: http://gentoo-wiki.com/HOWTO_setup_a_gentoo_bridge Have a nice day --=20 BOFH Excuse #452: Somebody ran the operating system through a spelling checker. Michal 'vorner' Vaner --zYM0uCDKw75PZbzx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.2 (GNU/Linux) iD4DBQBF14Gg7/oWwynB3bIRAsggAJ9xO3soS4xuKWfwF+zU3eQKQ+DlNwCYym1F 5a69M1ADAfbZQUuDHYW5Vg== =I5tA -----END PGP SIGNATURE----- --zYM0uCDKw75PZbzx-- -- gentoo-user@gentoo.org mailing list