User Tools

Site Tools


wiki:find_ip_address

Find IP Address



There are several ways to look for an IP Address, and indeed to display the addresses, here are a few exaples.

From the command line:

      ifconfig


This will display all IP Addresses configured on al Interfaces, on a server this can be a long list that scrolls off the page, to stop the results scrolling of the page use:

      ifconfig |more


If you know the interface name, you can use that to show the IP details of just that interface:

      ifconfig eth0


This will give the details for a single interface only

If an interface is using DHCP, and you see no IP Address, then you might have a link issue, to check this you can use:

      ip link show
      ip link show eth0



We can use grep to filter out just the information we require:

      Show MAC address of an interface - ifconfig eth0 |grep HWaddr



wiki/find_ip_address.txt · Last modified: 2017/02/28 18:00 (external edit)