From owner-freebsd-questions Tue Apr 22 13:23:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA00842 for questions-outgoing; Tue, 22 Apr 1997 13:23:15 -0700 (PDT) Received: from xmission.xmission.com (softweyr@xmission.xmission.com [198.60.22.2]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA00834 for ; Tue, 22 Apr 1997 13:23:08 -0700 (PDT) Received: (from softweyr@localhost) by xmission.xmission.com (8.8.5/8.7.5) id OAA21913; Tue, 22 Apr 1997 14:17:53 -0600 (MDT) From: Wes Peters - Softweyr LLC Message-Id: <199704222017.OAA21913@xmission.xmission.com> Subject: Re: ?? How to set the Default Route To: simat@enta.net (Simon N Atkin) Date: Tue, 22 Apr 1997 14:17:51 -0600 (MDT) Cc: questions@freebsd.org In-Reply-To: <335B831C.3111@enta.net> from "Simon N Atkin" at Apr 21, 97 04:09:17 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Simon N Atkin asked: > last week I had the problem of routing between > two class C networks this was resolved using > > route add -interface > > On this other class C network there is a gateway > which is host 20, this is our default gateway to the internet > I can ping this router fine, but as soon as I go past > it gives me No route to host. > > PING msn.com (207.68.142.28): 56 data bytes > ping: sendto: No route to host > ping: wrote msn.com 64 chars, ret=-1 > > has anyone got any suggestions. So your network is basically: | | | | +--- Router X --+ | | | | | +--- Router Y --- The Internet | | | | Net A Net B You have routing between Net A and Net B via Router X. Now you want to route between Net A and the Internet. You must make certain that the *entire Internet* knows that Router Y is the route to Net A; this is typically done by your ISP. You must also make sure that Router Y knows that Router X is the route the Net A; if you can ping Router Y right now, this is already setup. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.xmission.com/~softweyr softweyr@xmission.com