Subject: Re: Adding routes through gateways on a different network??
To: Tony Hernandez <email@example.com>
From: Michael Richardson <firstname.lastname@example.org>
Date: 11/04/2000 20:42:01
[belongs on tech-net]
>>>>> "Tony" == Tony Hernandez <email@example.com> writes:
Tony> It is possible to add a route to a machine on a different network through a
Tony> gateway on a different network? like say I wanted to add a route to
Tony> 192.168.0.0 through 188.8.131.52 as a gateway while my machine is on lets
Tony> say 184.108.40.206 ?? Is there any way to do this? I'm just curious to see
Tony> if can work somehow it would answer a lot of questions over here.
If 220.127.116.11 and 18.104.22.168 are on the same wire, then you can either
place games with arp, or you can use "route -iface".
If you not, you may be able to use a source route, but I don't know of a
way to do this with stock netbsd. Seems that we ought to have an option to
route to do this.
If you know that 22.214.171.124 is running something IPIP support,
(e.g. netbsd), then you may be able to build a tunnel, but I'd have to look
at the code to know if you have to have a GIF configured for the
decapsulation code to work. The question as to how to get packets back to you
is another question.
If you control 126.96.36.199, then setup a GIF/IPIP tunnel or IPsec tunnel.
] Train travel features AC outlets with no take-off restrictions| firewalls [
] Michael Richardson, Sandelman Software Works, Ottawa, ON |net architect[
] firstname.lastname@example.org http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another NetBSD/notebook using, kernel hacking, security guy"); [