From owner-freebsd-net Sun Mar 16 3:39:39 2003 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAB8C37B401 for ; Sun, 16 Mar 2003 03:39:37 -0800 (PST) Received: from gvr.gvr.org (gvr.gvr.org [212.61.40.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B9E443FAF for ; Sun, 16 Mar 2003 03:39:36 -0800 (PST) (envelope-from guido@gvr.org) Received: by gvr.gvr.org (Postfix, from userid 657) id A3FF61A; Sun, 16 Mar 2003 12:39:34 +0100 (CET) Date: Sun, 16 Mar 2003 12:39:34 +0100 From: Guido van Rooij To: Barney Wolff Cc: "J. W. Ballantine" , freebsd-net@FreeBSD.ORG Subject: Re: route pointing to a gateway that's not on net Message-ID: <20030316113934.GA30546@gvr.gvr.org> References: <20030314202944.GA5071@gvr.gvr.org> <200303142117.h2ELHdl21193@akiva.homer.att.com> <20030315214239.GA23489@gvr.gvr.org> <20030315222000.GA40787@pit.databus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030315222000.GA40787@pit.databus.com> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Why don't we just start all over again. IIRC this is his situation: 1) Local LAN 10.0.0.0/8 2) gateway on that LAN: 10.17.47.37 3) Host X on the LAN that should have an 209.122.66.XXX IP address. I assume here that he controls the 10.17.47.37 gateway. This is what he should do: # give host IP address ifconfig xl0 inet 209.122.66.XXX # make sure host can send packets to 10.* hosts route add -net 10.0.0.0 -iface xl0 # make sure 10.* hosts can send something back # I assume that all 10.* hosts have a deault route to 10.17.47.37 # The following is done on the gatewaym: route add -host 209.122.66.XXX -iface # Okay..now 209.122.66.XXX should be able to reach all 10 hosts # the following should add reachbility of the rest of the world, except # 209.122.66.* route add default 10.17.47.37 at this point he an do what I suggested to give reachability to the other 209.122.66.* hosts -Guido To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message