QNX4 Supernetting or Net routing question.

Our company just connected my office’s LAN to our other offices’ LANs with
magical hardware. It looks something like this:

X.Y.4.0 Lan for office 1
X.Y.5.0 Lan for my office
X.Y.6.0 Lan for office 3
X.Y.7.0 Lan for office 4

We were told to use a netmask of 255.255.252.0 (or oxFFFFFC00). This
actually represents a supernet for our 4 consecutive class C addresses. We
are running Socket 4.25H. When I issue the command:
ifconfig en1 netmask 0xFFFFFC00
and then redisplay it with
ifconfig en1
it is always changed back to 0xFFFFFF00

Consequently, I can not access any of the .4 .6 or .7 nets.

I can subnet but not supernet. Is this possible with QNX4?

Unfortunately the Winblows box right next to me works fine like this. (Boo,
hiss)

=====================

I thought of the alternative of adding net routs. Since I am on the .5 net
I added:
route add X.Y.4.0 X.Y.5.0
route add X.Y.6.0 X.Y.5.0
route add X.Y.7.0 X.Y.5.0

This gives the illusion of working when I do a
netstat -rn

But when I try a ping as in:
ping X.Y.4.1
I get no responce at all. Notice that I an NOT getting “No Route to Host”
errors so I assume that my packets are getting out. I’m just not getting
the responce back.

Again, the Winblows box right next to me works fine like this. (Double Boo,
hiss)

Can I get either of these scenerios to work for me?

=====================

I was told by our MIS guy that they can’t get a Winblows box to gateway for
me because the Winblows box believes that these four networks ARE the same
network (and unfortunately, its right) and it won’t forward packets from a
network to the same network.

Bill,

This is just a wild guess, maybe ifconfig refuses to do this
unless the IP address is class A, or B. I don’t really know
what “super netting” is, and maybe ifconfig is as dumb as me.:slight_smile:.


Previously, Bill at Sierra Design wrote in comp.os.qnx:

Our company just connected my office’s LAN to our other offices’ LANs with
magical hardware. It looks something like this:

X.Y.4.0 Lan for office 1
X.Y.5.0 Lan for my office
X.Y.6.0 Lan for office 3
X.Y.7.0 Lan for office 4

We were told to use a netmask of 255.255.252.0 (or oxFFFFFC00). This
actually represents a supernet for our 4 consecutive class C addresses. We
are running Socket 4.25H. When I issue the command:
ifconfig en1 netmask 0xFFFFFC00
and then redisplay it with
ifconfig en1
it is always changed back to 0xFFFFFF00

Consequently, I can not access any of the .4 .6 or .7 nets.

I can subnet but not supernet. Is this possible with QNX4?

Unfortunately the Winblows box right next to me works fine like this. (Boo,
hiss)

=====================

I thought of the alternative of adding net routs. Since I am on the .5 net
I added:
route add X.Y.4.0 X.Y.5.0
route add X.Y.6.0 X.Y.5.0
route add X.Y.7.0 X.Y.5.0

This gives the illusion of working when I do a
netstat -rn

But when I try a ping as in:
ping X.Y.4.1
I get no responce at all. Notice that I an NOT getting “No Route to Host”
errors so I assume that my packets are getting out. I’m just not getting
the responce back.

Again, the Winblows box right next to me works fine like this. (Double Boo,
hiss)

Can I get either of these scenerios to work for me?

=====================

I was told by our MIS guy that they can’t get a Winblows box to gateway for
me because the Winblows box believes that these four networks ARE the same
network (and unfortunately, its right) and it won’t forward packets from a
network to the same network.

\


Mitchell Schoenbrun --------- maschoen@pobox.com