Computing.Net > Forums > Linux > How to know the real IP address?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

How to know the real IP address?

Reply to Message Icon

Name: LuongPhan
Date: August 28, 2003 at 21:02:15 Pacific
OS: Linux
CPU/Ram: 512
Comment:

Hi all,

I installed the Redhat 7.3 Linux O/S on my computer. To install some toolkits for my application, I have to know the real IP address-RIPA. I cannot see the RIPA on the file /etc/hosts. I use the command: ifconfig eth0, but I get the message: "command not found"

Please help me!

Thanks a lot.

LuongPhan




Sponsored Link
Ads by Google

Response Number 1
Name: Jake
Date: August 28, 2003 at 21:11:08 Pacific
Reply:

I'm not sure about your "real IP address" situtation, but to find the IP you're using, you'll probably need to run "/sbin/ifconfig" if you're using your normal account. It would be in root's path, so as root you could just do "ifconfig".


0

Response Number 2
Name: 3Dave
Date: August 29, 2003 at 02:30:25 Pacific
Reply:

ifconfig lives in /sbin, so you have to use
sudo or log in as root.

If you want to easily find out your
outwards facing IP, just visit:
http://www.whatismyip.com/


0

Response Number 3
Name: Rick
Date: August 29, 2003 at 12:36:10 Pacific
Reply:

"real ip" as opposed to what a fake ip?


0

Response Number 4
Name: Jake
Date: August 29, 2003 at 23:20:05 Pacific
Reply:

3Dave, just because ifconfig is in /sbin doesn't mean you have to be root to run it. You can't change stuff as a normal user, but you can at least display information with it. Perhaps you system is locked down more than most.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: How to know the real IP address?

not able to surf the net on r.h8.0. www.computing.net/answers/linux/not-able-to-surf-the-net-on-rh80/19544.html

How to Find the current CPU load www.computing.net/answers/linux/how-to-find-the-current-cpu-load-/11860.html

hai how to copy the file from sys to flo www.computing.net/answers/linux/hai-how-to-copy-the-file-from-sys-to-flo/12519.html