From owner-freebsd-hackers Thu Aug 22 16:54:44 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA04148 for hackers-outgoing; Thu, 22 Aug 1996 16:54:44 -0700 (PDT) Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.109.160]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id QAA04130 for ; Thu, 22 Aug 1996 16:54:41 -0700 (PDT) Received: (from jgreco@localhost) by brasil.moneng.mei.com (8.7.Beta.1/8.7.Beta.1) id SAA25487; Thu, 22 Aug 1996 18:53:31 -0500 From: Joe Greco Message-Id: <199608222353.SAA25487@brasil.moneng.mei.com> Subject: Re: A questionon on IP routing To: luigi@labinfo.iet.unipi.it (Luigi Rizzo) Date: Thu, 22 Aug 1996 18:53:31 -0500 (CDT) Cc: hackers@FreeBSD.org In-Reply-To: <199608222158.XAA01449@labinfo.iet.unipi.it> from "Luigi Rizzo" at Aug 22, 96 11:58:49 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > Hi, > > for some test I would like to do, I need to make two systems, on > the same subnet, say A and B, talk to each other with IP traffic > going through a router R which is far away (several hops) from both > A and B. Is there any chance to achieve this behaviour in general, > and in particular if A, B and possibly R run some version of FreeBSD ? It would be difficult, very difficult. If you have two links off of your subnet, it might be somewhat easier. If not, you need a router that can route based on source address. If you have two links off your subnet (and two routers), I would suspect that you can set the routing tables on each machine to point to a respective router for the other host, that router (and probably the intermediates) would do the same, until you reached R. It would be ugly, at least in general. ... JG