How to change Netmask on QNX 4.

To whom it may concern:

I have been using ifconfig to set
the netmask without success. It appears
I can only set the lowest ordered
byte of the mask.

Andy

It sounds like you are trying to do supernetting (as opposed to subnetting).
To do this you will need the newest V 5.00 of TCP/IP for QNX 4.

Bill Caroselli

“Andrew Louder” <ajlouder@home.com> wrote in message
news:9lqji5$srb$1@inn.qnx.com

To whom it may concern:

I have been using ifconfig to set
the netmask without success. It appears
I can only set the lowest ordered
byte of the mask.

Andy

I really do not know if I am Super or Sub netting.

My IT guy said we need to put our QNX4 machines on
a netmask of 255.255.0.0 inorder to reach our servers
correctly.

When I try:

/usr/ucb/ifconfig en1 inet 192.168.10.242 up netmask 255.255.0.0

broadcast 192.168.255.255

The result gives me:

ifconfig en1

en1: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST>
inet 192.168.10.242 netmask ffffff00 broadcast 192.168.255.255
^^^^^^^^ expected ffff0000

Which appears to me I can not set the netmask to 255.255.0.0

Andy

“Bill Caroselli (Q-TPS)” <qtps@earthlink.net> wrote in message news:<9lreuf$fih$1@inn.qnx.com>…

It sounds like you are trying to do supernetting (as opposed to subnetting).
To do this you will need the newest V 5.00 of TCP/IP for QNX 4.

Bill Caroselli

“Andrew Louder” <> ajlouder@home.com> > wrote in message
news:9lqji5$srb$> 1@inn.qnx.com> …
To whom it may concern:

I have been using ifconfig to set
the netmask without success. It appears
I can only set the lowest ordered
byte of the mask.

Andy

Hi Andrew

Yes, this is supernetting. Normally an IP address starting with 192. is a
class C address. This means that the first 24 bits represent the network
and the last 8 bits represent the host on that network.

Subnetting means that you are using MORE than the default 24 bits to
represent the network. Actually it means that you are taking the last 8
bits which you own and SUB-dividing them into several different networks.

Supernetting means that you are using LESS then the default 24 bits to
represent your network. In your case you are claiming that anything that is
192.168. anything is considered to be on the same network. This is
supernetting.

Supernetting was not supported until QNX TCP/IP V5.00.

Good luck.

Bill Caroselli

“Andrew Louder” <ajlouder@yahoo.com> wrote in message
news:81ee297b.0108210603.5a289d92@posting.google.com

I really do not know if I am Super or Sub netting.

My IT guy said we need to put our QNX4 machines on
a netmask of 255.255.0.0 inorder to reach our servers
correctly.

When I try:

/usr/ucb/ifconfig en1 inet 192.168.10.242 up netmask 255.255.0.0

broadcast 192.168.255.255

The result gives me:

ifconfig en1

en1: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST
inet 192.168.10.242 netmask ffffff00 broadcast 192.168.255.255
^^^^^^^^ expected ffff0000

Which appears to me I can not set the netmask to 255.255.0.0

Andy

“Bill Caroselli (Q-TPS)” <> qtps@earthlink.net> > wrote in message
news:<9lreuf$fih$> 1@inn.qnx.com> >…
It sounds like you are trying to do supernetting (as opposed to
subnetting).
To do this you will need the newest V 5.00 of TCP/IP for QNX 4.

Bill Caroselli

“Andrew Louder” <> ajlouder@home.com> > wrote in message
news:9lqji5$srb$> 1@inn.qnx.com> …
To whom it may concern:

I have been using ifconfig to set
the netmask without success. It appears
I can only set the lowest ordered
byte of the mask.

Andy