Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-25-2011, 08:50 PM   #1
LQ Newbie
Registered: May 2011
Posts: 1

Rep: Reputation: Disabled
Ubuntu IP Question

I'm trying to run a server, and want to get my IP address... but when I run ifconfig, it shows my inet address as which, if I recall correctly, is an internal address... my friends can't connect to the server on those ip addresses.

My box is wired to the internet, no router, so there's no firewall or router that could be stopping it.

Am I doing something wrong with a command, (reading wrong number, etc), or is it a system problem?

Old 05-25-2011, 09:02 PM   #2
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
You can try connecting to '' to get your externally visible address. If you can connect to Internet sites you are, in fact, connected to a NATing router, whether it's your own or one provided by your ISP.

Last edited by macemoneta; 05-25-2011 at 09:03 PM.
Old 05-25-2011, 09:10 PM   #3
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 14,274
Blog Entries: 24

Rep: Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895
If I teleport to my Linksys router and log in, I can see my external IP address displayed on the "Status" page.
Old 05-26-2011, 03:54 PM   #4
Registered: Mar 2008
Posts: 18,638

Rep: Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789
Not internal. It is termed a private IP. Your modem or router would hold the public ip address. You'd need to NAT the router and you'd have to either have a static IP or a dynamic dns setup to have others access your system. Some free ddns systems use a program to change your settings while other may have you do it once a day or so.

Some apps avoid the whole deal, some require at least one side have a upnp router to open. Some like adobe's connect now use a web page.


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
Ubuntu Question ciao303 Linux - Newbie 18 07-21-2010 12:02 PM
Ubuntu question Bearussr Linux - Newbie 12 05-26-2010 01:54 PM
Ubuntu Question LinuxorDeath Linux - Newbie 5 07-20-2008 07:58 AM
Question about Ubuntu v.5.04 Night Hawk One Linux - Newbie 2 11-15-2005 01:32 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:53 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration