How To Find All IP Addresses on Linux
By Angsuman Chakraborty, Gaea News NetworkSunday, September 9, 2007
Run the command:
ip address show
In the output you will find lines like these:
inet 127.0.0.1/8 scope host lo
inet 192.168.1.10/24 brd 192.168.1.255 scope global eth1
The highlighted portions are your (ipv4) ip addresses.
The /8 or /24 represents your network. /8 means your subnet mask is 255.0.0.0 and /24 means your subnet mask is 255.255.255.0. You will not have a subnet typically for a point-to-point connection.
Note: The lines containing inet6 provides the ipv6 addresses.
Filed under: Fedora 7, Fedora Core 6, Headline News, How To, Linux, Linux Migration, Web, Web Hosting
Discussion
|
bala |
October 4, 2007: 9:30 pm
I want to know the IP address of the LINUX SERVER for practicing the linux commnads. We have a network system in our office. |
YOUR VIEW POINT
ip finding