User Tools

Site Tools


wiki:find_ip_address

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:find_ip_address [2016/07/24 14:16] walkeradminwiki:find_ip_address [2023/03/21 19:57] (current) walkeradmin
Line 1: Line 1:
-====== Show IP Address ======+====== Find IP Address ====== 
 +<color darkorange>2016 - updated Jun 2017</color> 
 +\\  
 +\\  
 +--- 
 +Update, on Centos 7 and onwards this works and is a great mini view of interface IPs, especially if you have a lot of interfaces. 
 +    ip -br -c a 
 +\\  
 +\\  
 +ip is the ip command 
 +-br is brief 
 +-c is colourised 
 +a is all interfaces
 \\  \\ 
 \\  \\ 
Line 25: Line 37:
         ip link show eth0         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.1469366187.txt.gz · Last modified: 2023/03/09 22:35 (external edit)