The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
.
google unix.com



IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Getting the External IP Address of your Computer and Storing it in a File Audacitor OS X (Apple) 7 09-26-2008 10:51 AM
Obtaining IP address from both my network interface citiz3n IP Networking 2 05-28-2008 02:57 AM
Connecting To An External Network Using A logical (PACKAGE) IP Address cchilenga HP-UX 1 05-04-2008 04:16 PM
Looking for guidance in obtaining a job in Unix Administration pkali290 SCO 4 12-09-2003 03:51 AM
Obtaining IP address Raael IP Networking 1 05-31-2001 01:12 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-02-2009
inquen inquen is offline
Registered User
  
 

Join Date: Apr 2009
Location: New York City
Posts: 7
Obtaining your external IP address using a Unix Utility

Hello, this is my first post on the Unix forums. This is something that's been bothering me for a while, is there any particular UNIX/Linux application that will allow you to see you external IP address? ( The address beyond your router )

Thank you in advance, I could not find a solution to this using google. Many of the solutions I found pointed me to websites that simply gave you your external ip, but i thought it would be nice to do this from within the comfort of the terminal.
  #2 (permalink)  
Old 05-03-2009
devtakh devtakh is offline
Registered User
  
 

Join Date: Oct 2007
Location: Bangalore
Posts: 514
I am not sure if this is what you are looking for :

try from the command prompt

Code:
nslookup username

cheers,
Devaraj Takhellambam
  #3 (permalink)  
Old 05-03-2009
inquen inquen is offline
Registered User
  
 

Join Date: Apr 2009
Location: New York City
Posts: 7
Thanks, using nslookup with my user name gives me my routers' IP address, and another IP address I'm not too familiar with, but it starts the same numbers in the first group, but the rest are different.

Do you know of any other utilities that would provide me with similar information?
  #4 (permalink)  
Old 05-03-2009
mitch's Avatar
mitch mitch is offline
Registered User
  
 

Join Date: Nov 2003
Location: Currently Kuwait/Iraq
Posts: 15
Sure, it is kind of a round about way but it will work. Try using lynx which is just a text based web browser and visit IP Chicken - Whats my IP address? ip address lookup
  #5 (permalink)  
Old 05-03-2009
inquen inquen is offline
Registered User
  
 

Join Date: Apr 2009
Location: New York City
Posts: 7
Hey, thanks, I'll alias this now, and turn it into a useful function that just spits out that one line. Thanks!!
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:04 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0