Date: Mon, 17 Mar 2003 09:13:18 -0500 From: "J. W. Ballantine" <jwb@homer.att.com> To: Guido van Rooij <guido@gvr.org> Cc: Barney Wolff <barney@pit.databus.com>, freebsd-net@FreeBSD.ORG Subject: Re: route pointing to a gateway that's not on net Message-ID: <200303171413.h2HEDIl22986@akiva.homer.att.com> In-Reply-To: Your message of "Sun, 16 Mar 2003 12:39:34 %2B0100." <20030316113934.GA30546@gvr.gvr.org>
next in thread | previous in thread | raw e-mail | index | archive | help
---------- In Response to your message ------------- > Date: Sun, 16 Mar 2003 12:39:34 +0100 > To: Barney Wolff <barney@pit.databus.com> > From: Guido van Rooij <guido@gvr.org> > 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 <local interface name> > # 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303171413.h2HEDIl22986>