Here in this article, I will show you guys how to check your MacBook public and private Local IP address using Command line(CLI) mode and Graphical User Interface(GUI) Mode.
If you want to check public and private IP using your command line mode then follow the below steps.
For local IP Type ipconfig getifaddr en0
For Public IP type : ipconfig getifaddr en0
To check public and private IP using your Graphical User Interface mode then follow the below steps.
Go to Network Preferences Under WiFi settings.
Click on advanced