wrong MAC address in netmap file

Why is it that if I have an incorrect MAC address in the netmap file,
TCP/IP utilities won’t work however, if I have no netmap file, the TCP/IP
utilities do work.

Doug

If you have not netmap file, or if the netmap entry for you local node is
missing from the netmap, then that entry will be dynamically added to the in
ram netmap, i.e. not the file on disk.

The auto adding of a netmap entry can be disabled if desired. If I recall
the option is ‘-A’ to Net, but that is from memory. Do a ‘use Net’ to
double check me.


Bill Caroselli – 1(530) 510-7292
Q-TPS Consulting
QTPS@EarthLink.net


“Doug Rixmann” <rixmannd@rdsdata.com> wrote in message
news:9supnr$5t2$2@inn.qnx.com

Why is it that if I have an incorrect MAC address in the netmap file,
TCP/IP utilities won’t work however, if I have no netmap file, the TCP/IP
utilities do work.

Doug

Doug Rixmann <rixmannd@rdsdata.com> wrote:

Why is it that if I have an incorrect MAC address in the netmap file,
TCP/IP utilities won’t work however, if I have no netmap file, the TCP/IP
utilities do work.

Because Net gets its MAC address from this, then tells the TCP/IP stack
that is the MAC address for the node, then the TCP/IP stack ARPs that
address out to everyone else, then everyone sends packets to you with
that address, then the network card discards them, because they don’t
belong to its address.

If you’re not going to be using QNX networking (which is what needs the
netmap file), either don’t build/use a netmap file, or don’t run the
netmap utility (which is the actual piece that reads the netmap file
and tells Net about the contents.)

If you are using QNX networking, you’ll need an accurate netmap file.
(Or equivalent. e.g. Automap from Mario Charest.)

-David

QNX Training Services
I do not answer technical questions by email.