some tools such as arping, arp-scan may need to be installed by homebrew.
####ifconfig
ifconfigshows network interface information, such as interface name, tpye, IP address, Mac address, etc.
####host
host www.google.com
return domain's ip address.