wiki:find_ip_address
This is an old revision of the document!
Show 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
wiki/find_ip_address.1469366187.txt.gz · Last modified: 2023/03/09 22:35 (external edit)