TCP/IP routing question

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:

  1. Any packets received on en1 (my 192.168.1 network) FROM 10.0.0.24 should
    be forwarded to en2 (my 10 network), and
  2. 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.

“Bill Caroselli (Q-TPS)” <QTPS@earthlink.net> wrote:

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:

  1. Any packets received on en1 (my 192.168.1 network) FROM 10.0.0.24 should
    be forwarded to en2 (my 10 network), and
  2. 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.

No, this is not a stupid question :slight_smile: Yes, there is a IP Filter rule
to do what you want. But, I am afraid the ipfilter on QNX4 won’t
support that :frowning:

Anyway, the rule will be:

pass in quick on en1 to en2:10.0.0.4 from 10.0.0.24 to any
pass in quick on en2 to en1:10.0.0.24 from any to 10.0.0.24

These will need direct access to interface structures, which,
the QNX4 ipfilter (based on Virtual Packet Interface) is
unable to do :frowning:

Probably not an option for you , but turn your router into
QNX Momentics 6.2 :slight_smile: and use the latest ipfilter port, you
will have all these functionality :slight_smile:

-xtang

Cool. I have a QNX 6 box but I Don’t have 6.2.

Will the 6.2 IP work as efficiently as the QNX V4 stuff. I ask because so
far I’m not very impressed with V6’s performance. Q4 blows the doors off
it.

“Xiaodan Tang” <xtang@qnx.com> wrote in message
news:aanapq$9sb$1@nntp.qnx.com

“Bill Caroselli (Q-TPS)” <> QTPS@earthlink.net> > wrote:
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:

  1. Any packets received on en1 (my 192.168.1 network) FROM 10.0.0.24
    should
    be forwarded to en2 (my 10 network), and
  2. 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.

No, this is not a stupid question > :slight_smile: > Yes, there is a IP Filter rule
to do what you want. But, I am afraid the ipfilter on QNX4 won’t
support that > :frowning:

Anyway, the rule will be:

pass in quick on en1 to en2:10.0.0.4 from 10.0.0.24 to any
pass in quick on en2 to en1:10.0.0.24 from any to 10.0.0.24

These will need direct access to interface structures, which,
the QNX4 ipfilter (based on Virtual Packet Interface) is
unable to do > :frowning:

Probably not an option for you , but turn your router into
QNX Momentics 6.2 > :slight_smile: > and use the latest ipfilter port, you
will have all these functionality > :slight_smile:

-xtang