How to get LAN IP address on MacOS

How to get LAN IP address on MacOS

  • 2020-5-14

Different from using ifconfig to get this info on Linux. On Macos, we need to use arp -a to query this info.