Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-13-2003, 08:11 AM   #1
Registered: Jul 2003
Location: Midlands, UK
Distribution: Slackware 10, Mandrake 9.2, Knoppix, Win XP
Posts: 62

Rep: Reputation: 15
Discovering your IP address for the internet

Hi guys!
How do you find out what IP address you are broadcasting to the internet? It only became an issue when I came to type it at broadbandreports dot com and realized I didn't know it!!

My ISP provides Dynamic IPs btw.

I am running mandrake 9.1 with an alcatel 330 ADSL modem.

Thanks for your help, and keep up the good work guys!!!

Old 07-13-2003, 08:20 AM   #2
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Several options:

I'd not type in my IP to anyone that I don't trust very much, though it is dynamic, it's just usually not a great idea to broadcast it.

Old 07-13-2003, 08:21 AM   #3
Registered: Apr 2003
Location: Shandong province China
Distribution: fedora core 1.0
Posts: 206

Rep: Reputation: 30
What about "ifconfig"?
Old 07-13-2003, 08:23 AM   #4
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
ifconfig works, but only if you are directly connected. If you are behind a router or some other NAT setup, you will get your Private IP from ifconfig.

You can also run traces and things, but the easiest way I've found that seems to be consistent (for those with/without NAT) is the or pages.


Also, for those who are unaware of "eth0" or their connection devices, and have simply "made linux work" they will have no idea 1:
What ifconfig is;
where to type it in at;
or 3:
how to read it


Last edited by MasterC; 07-13-2003 at 08:25 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Could not look up internet address Mr Mister Linux - Newbie 5 01-11-2010 04:54 PM
can't connect to the internet:linux dont read my internet address droplsh Linux - General 1 02-29-2004 08:32 PM
Could not look up internet address for Doug.Gentry Linux - Networking 5 02-29-2004 07:02 PM
Should i use the eth0 ip address of my internet ip address when applying iptables ForumKid Linux - Security 2 01-03-2002 09:54 AM
internet address joeey21 Linux - Newbie 2 09-19-2001 10:14 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration