This really is a loaded question. If you're not looking for the IP bound to your NICs primary interface, then you're getting into all kinds of other issues, such as NAT, IP-Masq, protocols, and the like.
http://www.whatismyip.com is hardly accurate unless you have a very simplisitic setup. On Mon, 8 Jul 2002, Michael Hipp wrote: > Anyone know a simple way to determine what your public IP address appears to > be via a shell script? I can do it with a web browser by going to > http://www.whatismyip.com . > > (BTW, I'm not talking about the IP addr assigned to a NIC and readable by > ifconfig.) > > Thanks, > Michael > > _______________________________________________ > Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users > Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL. > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Lonni J Friedman [EMAIL PROTECTED] Linux Step-by-step & TyGeMo http://netllama.ipfox.com _______________________________________________ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
