How to know your OS/2 or eComStation IP address
If you want to know your local network assigned IP there are some tools that can help you.
If you want to know your OS/2 or eComStation IP assigned address you can use the following command.
This command will show the IP address assigned to your first network adapter.
lan0: flags=8843<UP,BROADCAST,RUNNING,MULTICAST,LOOPBRD> inet 10.0.2.15 netmask 0xffffff00 broadcast 10.0.2.255
There is also netstat:
It will show you something similar to:
addr 127.0.0.1 Interface 9 mask 0xff000000 broadcast 127.0.0.1 Multicast addrs: 18.104.22.168 addr 10.0.2.15 Interface 0 mask 0xffffff00 broadcast 10.0.2.255 Multicast addrs: 22.214.171.124
There is also a Presentation Manager (GUI) application called dhcpmon.exe that you can run. It will open an application showing your local network IP:
External - Internet IP
Sometimes you want to know your external IP, the one that the world sees from you and not necessary your local network.
You can get this tool from hobbes. This is a command tool will show you your external IP.
WebSites that shows you your IP
You can always use some web page that provides you the service to know your "Internet IP" like: