Check Internal and External IP Addresses
?
R
BashQuick guide to identify and verify both local network and public-facing IP addresses for troubleshooting connectivity issues and network configuration.
1alias ip="dig +short myip.opendns.com @resolver1.opendns.com"
2alias localip="ipconfig getifaddr en0"Created on 11/13/2020