Using QNX 4.25E and TCP/IP v5.0
OK. I swear this is the last stupid routing question I’ll have. If the
answer is “You can’t do that” I’ll just accept it.
I have a QNX box that is happily acting as a router between network 10 on
en2 (10.0.0.35) and network 192.168.1 on en1 (192.168.1.2).
My gateway to the outside world is 10.0.0.4. NAT is also happily running on
my QNX router giving all my 192.168.1 hosts access to the outside world.
(BTW, neat stuff guys!)
I have one stinking NT box that is configured as 10.0.0.24 that uses
10.0.0.4 as it’s default route. I can’t change anything on the NT box.
(I.E. I can’t change it’s IP address, {which is what I really want to do,
but too many other things will break}, and I can’t change it’s default
route.)
Now here’s the kicker. I can’t plug it into the network 10 ethernet.
Is there any magic I can do on my QNX router box that says:
- Any packets received on en1 (my 192.168.1 network) FROM 10.0.0.24 should
be forwarded to en2 (my 10 network), and - Any packets seen on en2 that are destined for 10.0.0.24 should be
forwarded to en1 (my 192.168.1 network).
I know that this is a stupid thing to do. It’s just that my hands are tied
on everything else on this one stupid NT host. As I said, feel free to say
you can’t do that. But since I have NAT working I thought that there was
some magic I could work in there.