From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JDBtK-0001vT-Gk for garchives@archives.gentoo.org; Fri, 11 Jan 2008 04:53:14 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 35CBEE096A; Fri, 11 Jan 2008 04:52:50 +0000 (UTC) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.241]) by pigeon.gentoo.org (Postfix) with ESMTP id 9EC10E095E for ; Fri, 11 Jan 2008 04:52:49 +0000 (UTC) Received: by an-out-0708.google.com with SMTP id c8so224280ana.47 for ; Thu, 10 Jan 2008 20:52:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=d6jNfkllV+RwzO7zOvS7KrGtRgwiPV4c1X5aUngUsos=; b=GOail5W/la9H5Ho4z0TUkHN9+BDKoqVN2pCQBe8MUTas+CIHx+pDn+dY9eg1Di8mOLD/Y3U99jAO9Io79eMlCdGPWz1llbVCXw2gZZLVDL5NIMmITqrJBE+9hfN9M1er2WOzHBjVHSvXa3p9hFulj9OBHOOtqT99oYU77o6EcaU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jFtxmirt5uQfxZxgfDNKSnuK8M+/ppKlKbHCGxdedAUiUtr4Wkjc+6QXpjDgMRYDw1WO8cInJsoU8ycHRbZ2cd5zcwuXw2UsLRh+XGz4MPhqJkSq1fF6hb4p5Wjyof7QdWyKZxekANl5DuizYQf6lWcEHm9VBvyPHOnID4kABsY= Received: by 10.101.71.16 with SMTP id y16mr5904591ank.50.1200027169203; Thu, 10 Jan 2008 20:52:49 -0800 (PST) Received: by 10.35.29.11 with HTTP; Thu, 10 Jan 2008 20:52:49 -0800 (PST) Message-ID: <184110a70801102052m2b2a1a13g1b61d1d1259d4c5b@mail.gmail.com> Date: Fri, 11 Jan 2008 13:52:49 +0900 From: "Mike Mazur" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Routing problem ? In-Reply-To: <4786DF20.8000306@badapple.net> 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: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <51e438da0801101736j4e0f1f01lccf0d27817909942@mail.gmail.com> <4786DF20.8000306@badapple.net> X-Archives-Salt: 4f3b440d-1f57-4734-a4a1-187c37afd74b X-Archives-Hash: 9d4b7cf5f0f9bfd6d1a3798e3e14c45e Hi, On Jan 11, 2008 12:14 PM, kashani wrote: > Holla wrote: > > 192.168.1.1 > > +-+ +------------+ > > | |-----------| Router1 |=========ASDL conn > > | | +------------+ > > | | > > | | > > | | > > | | 192.168.1.23 +-------+ 192.168.2.43 > > | |------------------| PC1 |----)))............. > > +-+ +-------+ . > > . > > Passive Hub . > > 192.168.2.1 . > > +------------+ . > > | Router2 |--))).. > > +------------+ > > | > > | > > +------+ > > | PC2 | > > +------+ > > 192.168.2.24 > > Yep it's a routing problem. > > Router1 needs a route to point back to PC2 so when traffic bound for it > comes it, it'll know what to do with it. > route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.1.23 Also if you want PC2 to access the net, you would need PC1 to be smart enough to route/NAT packets from PC2 to Router 1. Mike -- gentoo-user@lists.gentoo.org mailing list