LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

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

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


Hello,

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
nightshade_1977
Member
 
Registered: Nov 2006
Location: Oklahoma City, OK
Distribution: Suse, Fedora, RHEL, Ubuntu
Posts: 112

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

you could also try
Quote:
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
b0uncer
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 whatismyip.com - 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
WhatsHisName
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 no-ip.com or dyndns.com.

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 myjob.is-very-bad.org 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 myjob.is-very-bad.org and the magic of the internet will do the rest.


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


Reply


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


All times are GMT -5. The time now is 11:06 AM.

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