How do I find my network information – in Linux?
Apr 20, 2010, 20:34 (0 Talkback[s])
(Other stories by Jack Wallen)
Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers
"In this article I will show you how to find out various
networking information on your Linux system. All of these tasks can
be handled by any skill level of user, so don't think you have to
be an ubergeek, hacker-type in order to gain this information.
"Let's start off with the IP Address. Of course, before you do
anything, you need to open up a terminal window. Once you have that
open you can then issue the necessary command. The command for
finding your IP Address is ifconfig. When you issue this command
you will receive information for every network connection you have
available. Most likely you will see information for both the
loopback (lo) and your wired network connection (eth0). If you have
a wireless connection that will be listed, most likely, as wlan0.
The reported information will look like that shown in Figure 1. As
you can see, you not only get the IP Address, but the Broadcast
address, the Subnet Mask, and the IPv6 Address."