Date: 09/09/07 (Java Web) Keywords: no keywords 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 [...] Source: http://blog.taragana.com/index.php/archive/how-to-find-all-ip-addresses-on-linux/
|