Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title How do I obtain the IP address of my node?
Ref. No. QNX.000007754
Category(ies) Configuration
Issue How do I obtain the IP address of my node? while on my machine, and when on another machine.


Solution While on the local node you can type "netstat -n" and it will return the "Local Address" which will be the IP address of the node on the TCP/IP network.

From a remote location you can either "ditto" to the node and run "netstat -n" or check in the /etc/hosts file to see if there is an entry in it that has the assigned IP.

For more information, please look at the TCP/IP installation and configuration manual.