wiki:find_ip_address
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
wiki:find_ip_address [2016/07/24 14:13] – created walkeradmin | wiki:find_ip_address [2023/03/09 22:35] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
\\ | \\ | ||
\\ | \\ | ||
Line 13: | Line 13: | ||
ifconfig |more | 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: 2023/03/21 19:57 by walkeradmin