Qnet on different Subnets

Does anyone know of a way of qnetting two machine on two different subnets?
It works if the two machines are on the same subnet but I’ve like to network
to another machine in a different building that I am. I could simply start
nfs services and then fs-nfs2 but can this be done using QNET?


Jeffrey B. Holtz
Software Engineering
Electro Scientific Industries, Inc.
Ph: 734-332-7054
Fax: 734-332-7077
email: holtzj@esi.com

Jeff Holtz <holtzj@esi.com> wrote:

Does anyone know of a way of qnetting two machine on two different subnets?
It works if the two machines are on the same subnet but I’ve like to network
to another machine in a different building that I am. I could simply start
nfs services and then fs-nfs2 but can this be done using QNET?

Yes, it is possiable, you need to do “these” :

  1. mount -Tio-net -o “bind=ip,resolve=dns” /lib/dll/npm-qnet.so
  2. ls /net/my_node_on_another_subnet

“my_node_on_another_subnet” may not show up at first, but you still
should be able to “ls” it.

You can of cause, also try ls /net/x.y.z.c

-xtang

Thanks!!


Jeffrey B. Holtz
Software Engineering
Electro Scientific Industries, Inc.
Ph: 734-332-7054
Fax: 734-332-7077
email: holtzj@esi.com
“Xiaodan Tang” <xtang@qnx.com> wrote in message
news:alqt0r$r1g$1@nntp.qnx.com

Jeff Holtz <> holtzj@esi.com> > wrote:
Does anyone know of a way of qnetting two machine on two different
subnets?
It works if the two machines are on the same subnet but I’ve like to
network
to another machine in a different building that I am. I could simply
start
nfs services and then fs-nfs2 but can this be done using QNET?

Yes, it is possiable, you need to do “these” :

  1. mount -Tio-net -o “bind=ip,resolve=dns” /lib/dll/npm-qnet.so
  2. ls /net/my_node_on_another_subnet

“my_node_on_another_subnet” may not show up at first, but you still
should be able to “ls” it.

You can of cause, also try ls /net/x.y.z.c

-xtang

Interesting.
What version and patch are you using?

Xiaodan Tang <xtang@qnx.com> wrote in message
news:alqt0r$r1g$1@nntp.qnx.com

Jeff Holtz <> holtzj@esi.com> > wrote:
Does anyone know of a way of qnetting two machine on two different
subnets?
It works if the two machines are on the same subnet but I’ve like to
network
to another machine in a different building that I am. I could simply
start
nfs services and then fs-nfs2 but can this be done using QNET?

Yes, it is possiable, you need to do “these” :

  1. mount -Tio-net -o “bind=ip,resolve=dns” /lib/dll/npm-qnet.so
  2. ls /net/my_node_on_another_subnet

“my_node_on_another_subnet” may not show up at first, but you still
should be able to “ls” it.

You can of cause, also try ls /net/x.y.z.c

-xtang

I’m trying this between two qnx boxes at different subnet.
I setup qnet as said. When I ls to each others I got “ls: No route to host
(net/)”.
I have both hosts entries in /etc/hosts and I can ping the ip addresses and
names from each others.
Is there another other configurations I missed out?

derek


“Xiaodan Tang” <xtang@qnx.com> ¼¶¼g©ó¶l¥ó news:alqt0r$r1g$1@nntp.qnx.com

Jeff Holtz <> holtzj@esi.com> > wrote:
Does anyone know of a way of qnetting two machine on two different
subnets?
It works if the two machines are on the same subnet but I’ve like to
network
to another machine in a different building that I am. I could simply
start
nfs services and then fs-nfs2 but can this be done using QNET?

Yes, it is possiable, you need to do “these” :

  1. mount -Tio-net -o “bind=ip,resolve=dns” /lib/dll/npm-qnet.so
  2. ls /net/my_node_on_another_subnet

“my_node_on_another_subnet” may not show up at first, but you still
should be able to “ls” it.

You can of cause, also try ls /net/x.y.z.c

-xtang