Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 1997 14:17:51 -0600 (MDT)
From:      Wes Peters - Softweyr LLC <softweyr@xmission.com>
To:        simat@enta.net (Simon N Atkin)
Cc:        questions@freebsd.org
Subject:   Re: ?? How to set the Default Route
Message-ID:  <199704222017.OAA21913@xmission.xmission.com>
In-Reply-To: <335B831C.3111@enta.net> from "Simon N Atkin" at Apr 21, 97 04:09:17 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Simon N Atkin asked:
> last week I had the problem of routing between
> two class C networks this was resolved using
> 
> route add <network> -interface <host>
> 
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704222017.OAA21913>