Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 12-05-2007, 03:17 PM   #1
LQ Newbie
Registered: Dec 2007
Posts: 1

Rep: Reputation: 0
How Do Find my IP Address?


I'm trying to get remote mySQL access to work on a redhat linux server I'm working on, but I have virtually no experience using linux.

What I'm currently trying to do is determine the IP address of the server. The only method I've found thus far has been the ifconfig command, which only displays my router's address. How do I get the IP address of the server itself?
Old 12-05-2007, 03:21 PM   #2
Registered: Nov 2006
Location: Clarksville, VA
Distribution: Linux Mint, Ubuntu Server
Posts: 114

Rep: Reputation: 15
from a console on the server should return the ip address of the server

you could also try
ifconfig -a
if there is more than one NIC in you system this will return information on all of them
Old 12-05-2007, 03:31 PM   #3
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Internet address is easiest found out by visiting a site such as - if there is no internet connection on the server, or you wish to get an internal ip or something, then you're going to have to rely on tools like ifconfig or network route tools.
Old 12-05-2007, 04:34 PM   #4
Senior Member
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
Sounds like you need a DynamicDNS service like those provided by or

When using a DynamicDNS service, a client installed on the server identifies the public ip address much as b0uncer described and reports it to the DynamicDNS provider. The ip address is then associated with a unique name of your choice like and made available through their dns servers as a fully-qualified domain name (FQDN).

To connect to your server, you would supply its FQDN as and the magic of the internet will do the rest.

The simple DynamicDNS and services are free, but there are some nice low-cost options that you may want in the future. I use and have about 15 systems being tracked this way.


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
how to find physical address of kernel virtual address kushneeraj Programming 0 10-20-2006 07:29 PM
How to find an IP address from the MAC address of a remote machine ? jitz Linux - General 3 01-03-2006 07:55 AM
How to find IP address of a machine if I know their MAC Address dysenteryduke Linux - Networking 13 09-12-2005 10:21 AM
How to find MAC address of a specified IP address ? longtongfish Programming 1 07-12-2005 03:26 PM
Find an IP Address worldgnat General 6 05-14-2005 12:30 PM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 11:17 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration