Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Mar 2003 11:24:31 +0100
From:      Guido van Rooij <guido@gvr.org>
To:        "J. W. Ballantine" <jwb@homer.att.com>
Cc:        Iasen Kostov <ikostov@otel.net>, Kevin_Stevens@pursued-with.net, freebsd-net@FreeBSD.ORG
Subject:   Re: route pointing to a gateway that's not on net
Message-ID:  <20030314102431.GA97899@gvr.gvr.org>
In-Reply-To: <200303132034.PAA04880@hera.homer.att.com>
References:  <20030307065558.W52594-100000@shadowhand.OTEL.net> <200303132034.PAA04880@hera.homer.att.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 13, 2003 at 03:34:18PM -0500, J. W. Ballantine wrote:
>    round-trip min/avg/max/stddev = 3.022/3.428/5.029/0.801 ms
>    # ping 207.172.3.8                            <<< one of isp's name server
>    PING 207.172.3.8 (207.172.3.8): 56 data bytes
>    ping: sendto: Host is down
>    ping: sendto: Host is down
>    ping: sendto: Host is down
>    ping: sendto: Host is down
> 
> So this method allows my system to get to the 
> modem/dhcp server/gateway, but no further. (when I ping
> from windows I get a response, so the system isn't down.)

That is because 207.172.3.8 is not directly connected. By speficying a
route entry with -iface you specify it is directly connected. That
is the reason you can now reach the 10.*hosts.

The problem with the 207.172.3.* hosts exists because your routing
table expects the 207.172.3.* range to be directly connected.

So either you have to make them apear directly connected, or you must say that
they are not directly connected. The first can be doe by having your gateway
do proxy arp, or by manually setting arp entries on your host 
(for all 207.172.3.* hosts, do arp -s host MAC, where MAC is the mac address
of your gateway).
I don't know how to do the second one, except for adding single host routes
for each host, i.e.: route add host-ip-address gateway-ip-address.

-Guido

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?20030314102431.GA97899>