From owner-freebsd-questions@FreeBSD.ORG Wed Nov 12 09:17:21 2003 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 2D6BD16A4CE for ; Wed, 12 Nov 2003 09:17:21 -0800 (PST) Received: from web14007.mail.yahoo.com (web14007.mail.yahoo.com [216.136.175.123]) by mx1.FreeBSD.org (Postfix) with SMTP id EBDB443FB1 for ; Wed, 12 Nov 2003 09:17:19 -0800 (PST) (envelope-from jimxoch@yahoo.gr) Message-ID: <20031112171715.22738.qmail@web14007.mail.yahoo.com> Received: from [213.16.183.88] by web14007.mail.yahoo.com via HTTP; Wed, 12 Nov 2003 17:17:14 GMT Date: Wed, 12 Nov 2003 17:17:14 +0000 (GMT) From: =?iso-8859-7?q?Dimitris=20Xochellis?= To: Vince Hoffman , freebsd-questions@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-7 Content-Transfer-Encoding: 8bit Subject: RE: Routing problems 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: Wed, 12 Nov 2003 17:17:21 -0000 Hi Vince, Hi list, --- Vince Hoffman wrote: > > > > The 10.X.X.X subnet will never need to use any of > the > > services of the 193.X.X.X subnet or the 193.R.R.R > > router. It will always access internet via its own > > 10.R.R.R router, which only routes packets towards > the > > internet and never towards the 193.X.X.X subnet. > Thus, > > what's the need to do any of the above? > > > Well a packet originating on the 193.x.x.x network > will have a return > address on the 193.x.x.x network even after its been > routed via the freebsd > box, (unless you nat, which if your adsl router is a > rubbish as mine was you > may have to as i couldnt add static routes to mine, > but thats another > issue.) and so the 10.R.R.R router wont know where > to forward to if it has > no route to 10.x.x.x (or at least the sending host > on that network.) > Currently, I have solved all my problems, (it seems so) without adding any routes to the 10.R.R.R router. I have just added the 193.x.x.x interface to it and I gave it an address in that interface. This seems to be sufficient enough! What I have learned from this problems is that a router can only route packets that are coming from interfaces that it knows. Thus it either has to be a member of the source subnet or we have to appropriately translate the addresses via NAT. Am I right? Although I have not followed your advice I am very grateful to you, because you helped me think towards the right direction. I will also keep in mind what you have said in case I face problems in the future... Thanks a lot Jim Xochellis ____________________________________________________________ Do You Yahoo!? Αποκτήστε τη δωρεάν @yahoo.gr διεύθυνση σας στο http://www.otenet.gr