From owner-freebsd-net Mon Mar 17 6:13:24 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 E66FE37B404 for ; Mon, 17 Mar 2003 06:13:22 -0800 (PST) Received: from kcmso2.proxy.att.com (kcmso2.att.com [192.128.134.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D6CE43F75 for ; Mon, 17 Mar 2003 06:13:21 -0800 (PST) (envelope-from jwb@homer.att.com) Received: from ulysses.homer.att.com ([135.205.193.8]) by kcmso2.proxy.att.com (AT&T IPNS/MSO-4.0) with ESMTP id h2HEDJFl006902; Mon, 17 Mar 2003 08:13:19 -0600 (CST) Received: from akiva.homer.att.com (akiva.homer.att.com [135.205.212.39]) by ulysses.homer.att.com (8.9.3/8.9.3) with ESMTP id JAA27100; Mon, 17 Mar 2003 09:13:18 -0500 (EST) Received: from akiva.homer.att.com (localhost [127.0.0.1]) by akiva.homer.att.com (8.11.6+Sun/8.9.3) with ESMTP id h2HEDIl22986; Mon, 17 Mar 2003 09:13:18 -0500 (EST) Message-Id: <200303171413.h2HEDIl22986@akiva.homer.att.com> X-Mailer: exmh version 2.6.2 03/12/2003 with nmh-1.0.4 To: Guido van Rooij Cc: Barney Wolff , freebsd-net@FreeBSD.ORG Subject: Re: route pointing to a gateway that's not on net In-reply-to: Your message of "Sun, 16 Mar 2003 12:39:34 +0100." <20030316113934.GA30546@gvr.gvr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 17 Mar 2003 09:13:18 -0500 From: "J. W. Ballantine" 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 ---------- In Response to your message ------------- > Date: Sun, 16 Mar 2003 12:39:34 +0100 > To: Barney Wolff > From: Guido van Rooij > Subject: Re: route pointing to a gateway that's not on net > > 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 a Hybrid cable modem box, that AFAIK I can't do the route add on. > > 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 > FWIW, and I know it's not much, windows, mac and linux will work with this strange setup. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message