Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jun 1996 07:39:41 +0100
From:      "Gary Palmer" <gpalmer@FreeBSD.ORG>
To:        bill clarke <wlclarke@cats.ucsc>
Cc:        questions@FreeBSD.ORG, wlclarke@cats.ucsc.edu
Subject:   Re: intranet/internet routing 
Message-ID:  <13602.834820781@palmer.demon.co.uk>
In-Reply-To: Your message of "Sun, 14 Jan 1996 01:10:19 GMT." <30F857FB.167EB0E7@cats.ucsc> 

next in thread | previous in thread | raw e-mail | index | archive | help
bill clarke wrote in message ID
<30F857FB.167EB0E7@cats.ucsc>:
> i have a question about routing packets via user PPP. (i am running
> routed -q)

Umm. Why?

> i have two FreeBSD boxes on an ethernet with internal addresses 
> 10.0.0.1 (a server called neutron) and 10.0.0.2 (a client called
> neutrino).

> the server is at IP 205.199.113.103 and i can connect to my provider
> gateway capts.znet.net (205.199.113.253) by user PPP.

> i have my server set up as a gateway, and my default route on the 
> client set up as 10.0.0.1
> 
> i can ping the provider gateway 205.199.113.253 from the server,
> and i can ping the server from the client over the ethernet.
> 
> here's the problem: i cannot ping my provider gateway 205.199.113.253
> from the client 10.0.0.2 even though netstat -r says all the required
> routes appear to exist.

Read the RFC's, or /etc/hosts ... net 10.a.b.c is reserved, and CANNOT
be routed onto the internet. A lot of ISP's give host unreachable for
the reserved nets, e.g.:

traceroute to 172.16.1.1 (172.16.1.1), 30 hops max, 40 byte packets
 1  finch-141.access.demon.net (194.159.253.141)  173.382 ms  179.674 ms  158.114 ms
 2  trude-access.router.demon.net (194.159.253.99)  179.877 ms  192.276 ms  198.179 ms
 3  trude-access.router.demon.net (194.159.253.99)  180.063 ms !H  192.213 ms !H  198.221 ms !H

You are facing other problems. Your ISP won't have a route saying to
send net 10 destined packets to your gateway. You probably also don't
have packet forwarding enabled in your kernel.

Solution: use proxy servers on your gateway box, don't try and route
net 10. Alternatively, get more IP addresses allocated to you by your
ISP.

Gary
--
Gary Palmer                                          FreeBSD Core Team Member
FreeBSD: Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info



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