Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Mar 2003 12:39:34 +0100
From:      Guido van Rooij <guido@gvr.org>
To:        Barney Wolff <barney@pit.databus.com>
Cc:        "J. W. Ballantine" <jwb@homer.att.com>, freebsd-net@FreeBSD.ORG
Subject:   Re: route pointing to a gateway that's not on net
Message-ID:  <20030316113934.GA30546@gvr.gvr.org>
In-Reply-To: <20030315222000.GA40787@pit.databus.com>
References:  <20030314202944.GA5071@gvr.gvr.org> <200303142117.h2ELHdl21193@akiva.homer.att.com> <20030315214239.GA23489@gvr.gvr.org> <20030315222000.GA40787@pit.databus.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 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

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?20030316113934.GA30546>