Displaying IP Addresses :
Command :
$ip addr show ens160
IP Command is used to show statistics about network performance. Received (RX) and Transmitted (TX) packets, errors, and dropped counters can be used to identify network issues caused by congestion, low memory and over runs.
Command:
$ip -s link show ens160
Troubleshooting routing :
This command is used to show the routing informations
Command :
$ip route
Ping command is used to test connectivity
Command :
$ping 192.168.43.2
To trace the path to a remote host, use either traceroute or tracepath. Both commands can be used to trace a network path with UDP Packets.
Troubleshooting ports and Services :
SS command is used to display socket statistics. the ss command is meant to replace to the older tool netstat.
Command :
$ss -ta