determining the machines local ip address

M.Hockings veeshooter at hockings.net
Sat Mar 6 18:52:19 UTC 2004


Dear Red Hat Linux Guru's at large...

This is probably more of a Linux question than strictly a RH9 question 
but I wasn't able to find a solution by Googlin'...

What is an easy way to display the local machine's ip address?  Not the 
loopback address (127.0.0.1) and not the external address (I can get 
that with a Web page) but eth0's address on the current LAN.  For 
example at home I'd expect to see something like 192.168.1.x.

Kind regards,

Mike





More information about the Redhat-install-list mailing list