From owner-freebsd-questions@FreeBSD.ORG Tue Sep 28 06:51:53 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F8FF16A4CE for ; Tue, 28 Sep 2004 06:51:53 +0000 (GMT) Received: from mx2.mail.ru (mx2.mail.ru [194.67.23.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B7E543D49 for ; Tue, 28 Sep 2004 06:51:53 +0000 (GMT) (envelope-from infofarmer@mail.ru) Received: from [83.237.61.7] (port=1236 helo=SATPC) by mx2.mail.ru with smtp id 1CCBq3-000Lfj-00; Tue, 28 Sep 2004 10:51:51 +0400 Message-ID: <004501c4a527$d22898c0$4611a8c0@SATPC> From: "Andrew" To: "Mark Jayson Alvarez" References: <20040928034910.32013.qmail@web51605.mail.yahoo.com> Date: Tue, 28 Sep 2004 10:53:11 +0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Spam: Not detected cc: freebsd-questions@freebsd.org Subject: Re: How can I route through a pc that is also using a router?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Sep 2004 06:51:53 -0000 Hi! Describe the test-machine, please. If both workstations are on the same subnet, you should probably configure the test-machine as an ip-forwarder or even as an ethernet-level bridge. If your personal workstation is on a different subnet, which is not serviced by proxy or dns, you should configure NAT on the test-machine. In general, there's little problem in cascading gateway installations. Regards, Andrew P. > Good day! > I have two workstations at work, 1 my personal, and > the other, a test machine. > > My boss told me to configure a pcrouter, that is, the > testmachine and let my personal pc connect through the > internet through the testmachine: > > Here's the scenario: > > The testmachine already knows how to connect through > the outside world but, also through a gateway.... > > testmachine(10.10.8.111)--->gateway(10.10.8.254)---->[proxy]---->[DNS]-- -->internet > > > And to let my pc connect to the internet through the > testmachine, I've set its default gateway to the ip of > the test machine. > > > But it doesn't seem to work. When I tried to lauch my > browser, the error indicates that it cannot seem to > find its way to the proxy server. > > I've tried adding another line in my routing table > like this: > > Destination Gateway > proxy(202.90.128.14) testmachine(10.10.8.111) > > But it still won't work. > > Do you know what i've been missing here? I'm thinking > perhaps the test machine should connect to the > internet directly without using a gateway anymore.. > > Any idea?