Subject: Re: Adding routes through gateways on a different network??
To: Tony Hernandez <firstname.lastname@example.org>
From: Michael Richardson <email@example.com>
Date: 11/04/2000 20:42:01
[belongs on tech-net]
>>>>> "Tony" == Tony Hernandez <firstname.lastname@example.org> 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 18.104.22.168 as a gateway while my machine is on lets
Tony> say 22.214.171.124 ?? 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 126.96.36.199 and 188.8.131.52 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 184.108.40.206 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 220.127.116.11, 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[
] email@example.com http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another NetBSD/notebook using, kernel hacking, security guy"); [