how to find router ip address mac terminal code example Example: find my ip mac terminal ipconfig getifaddr en0