Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Absolute Beginner Talk
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Absolute Beginner Talk
The perfect starting place to find out more about computers, Linux and Ubuntu.

 
Thread Tools Display Modes
Old August 3rd, 2006   #1
Sammi
100% Pure Ubuntu
 
Sammi's Avatar
 
Join Date: Mar 2006
Location: Faroe Islands
Beans: 897
Send a message via MSN to Sammi
How do I find out what my ip address is?

How do I find out what my ip address is?
Sammi is offline   Reply With Quote
Old August 3rd, 2006   #2
kinematic
Quad Shot of Ubuntu
 
Join Date: May 2006
Location: None of your business.
Beans: 465
Ubuntu 8.04 Hardy Heron
Re: How do I find out what my ip address is?

sudo ifconfig
kinematic is offline   Reply With Quote
Old August 3rd, 2006   #3
firebadger
A Carafe of Ubuntu
 
Join Date: Jun 2006
Location: Glasgow, Scotland
Beans: 125
Kubuntu 9.04 Jaunty Jackalope
Re: How do I find out what my ip address is?

type:
ifconfig
firebadger is offline   Reply With Quote
Old August 3rd, 2006   #4
cstudent
Dipped in Ubuntu
 
cstudent's Avatar
 
Join Date: Jul 2005
Location: The Buckeye State
My beans are hidden!
Ubuntu 9.10 Karmic Koala
Re: How do I find out what my ip address is?

That gives the local network ip but not your external ip. For me anyway. My machines sit behind a DSL router/modem and all I see is the local ip. To find your external ip address

http://www.whatismyip.com

or my favorite

http://www.ipchicken.com
cstudent is offline   Reply With Quote
Old August 3rd, 2006   #5
slakkie
Iced Almond Soy Ubuntu, No Foam
 
slakkie's Avatar
 
Join Date: May 2006
Location: Amsterdam
Beans: 1,171
Kubuntu Development Release
Re: How do I find out what my ip address is?

ifconfig -a

Their is NO need use sudo for these kind of commands. You do not need root permissions to see your configuration. Only use sudo when you want to change your interface config.

Last edited by slakkie; August 3rd, 2006 at 01:04 PM..
slakkie is offline   Reply With Quote
Old August 3rd, 2006   #6
Sammi
100% Pure Ubuntu
 
Sammi's Avatar
 
Join Date: Mar 2006
Location: Faroe Islands
Beans: 897
Send a message via MSN to Sammi
Re: How do I find out what my ip address is?

Right. Thanks.

As cstudent states, those only give me my local network ip address, and those websites work fine, but is there no command that can give me my external ip?
Sammi is offline   Reply With Quote
Old August 3rd, 2006   #7
slakkie
Iced Almond Soy Ubuntu, No Foam
 
slakkie's Avatar
 
Join Date: May 2006
Location: Amsterdam
Beans: 1,171
Kubuntu Development Release
Re: How do I find out what my ip address is?

No - you cannot execute a command that will show you your IP address of your ISP. You need to get this from your DSL modem/router or from an external source such as the websites posted.

On a "normal" system the IP configured on any of the interfaces is most likely to be the public IP address:
Code:
eth0      Link encap:Ethernet  HWaddr 00:12:79:C2:BF:14
          inet addr:194.134.32.247  Bcast:194.134.32.255   
          Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
If you would use a dialup connection you would see with `ifconfig -a` the IP address given to you by the DHCP server and you would not see a private (internal) IP range.

Your PC is part of your own internal network, which has its own private IP space. Your DSL modem knows its IP address on the public interface and also has an IP address on the interface which is connected to your network (and often this will be your PC).

Conclusion:
If you want to see your IP address from your ISP, check your DSL modem/router or visit one of the websites mentioned earlier.

Last edited by slakkie; August 3rd, 2006 at 01:30 PM..
slakkie is offline   Reply With Quote
Old August 3rd, 2006   #8
az
just this guy, you know.
 
az's Avatar
 
Join Date: Oct 2004
Location: Kingston, On
My beans are hidden!
Re: How do I find out what my ip address is?

There are some tools for some specific routers which will give you your ip address. For things like dynamic dns, most routers have dyndns clients built-in.
az is offline   Reply With Quote
Old April 2nd, 2008   #9
thinsoldier
Just Give Me the Beans!
 
Join Date: Aug 2007
Beans: 51
Re: How do I find out what my ip address is?

Where in the system preferences/administration can I see my IP Address?
thinsoldier is offline   Reply With Quote
Old April 6th, 2008   #10
ofb
Quad Shot of Ubuntu
 
ofb's Avatar
 
Join Date: Mar 2007
Beans: 478
Ubuntu 9.04 Jaunty Jackalope
Re: How do I find out what my ip address is?

System > Administration > Network Tools
ofb is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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

Forum Jump


All times are GMT -4. The time now is 01:16 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry