How to know your OS/2 or eComStation IP address

=Local IP= If you want to know your local network assigned IP there are some tools that can help you.

ifconfig
If you want to know your OS/2 or eComStation IP assigned address you can use the following command.

ifconfig lan0

This command will show the IP address assigned to your first network adapter.

lan0: flags=8843 inet 10.0.2.15 netmask 0xffffff00 broadcast 10.0.2.255

netstat
There is also netstat: netstat -a

It will show you something similar to: addr 127.0.0.1 Interface 9 mask 0xff000000 broadcast 127.0.0.1 Multicast addrs: 224.0.0.1 addr 10.0.2.15 Interface 0 mask 0xffffff00 broadcast 10.0.2.255 Multicast addrs: 224.0.0.1

DHCPMON
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.

GetMyIp
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:
 * http://www.myipaddress.com/
 * http://checkip.dyndns.org/
 * http://whatismyipaddress.com/