LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Finding Local network IP address. (https://www.linuxquestions.org/questions/linux-networking-3/finding-local-network-ip-address-75674/)

zaphanol 07-24-2003 09:02 PM

Finding Local network IP address.
 
How can I find my "Local" IP address in Linux? Not "Public" IP address but my computer's IP address on my home network.

Thanks,

ZAPHANOL
Red Hat 9 User

cnjohnson 07-24-2003 09:46 PM

su to root user and run ifconfig.

Cheers--
Charles

Sunyard 07-24-2003 10:16 PM

pls enter this command :
#ifconfig

zaphanol 07-24-2003 11:09 PM

none of those worked... :(

zaphanol
Red Hat 9 User

cwolf 07-25-2003 06:46 AM

Try
PHP Code:

fgrep `hostname` /etc/hosts 

;)

And why does ifconfig not work? What does it say?

DKY 07-25-2003 08:41 AM

I tried to run ifconfig in my redhat, and got
bash: ifconfig: command not found

ppuru 07-25-2003 08:59 AM

well, it is /sbin/ifconfig

mrhyde 07-25-2003 08:59 AM

At the command line type " redhat-config-network " this GUI will present you with your network parameters. Also you could read the configuration files in /etc/sysconfig/network-scripts.

DKY 07-25-2003 09:00 AM

/sbin/ifconfig

that works....thank you

zaphanol 07-25-2003 11:41 AM

/sbin/ifconfig yes that works! Thanks guys.


All times are GMT -5. The time now is 02:35 PM.