For Mac OSX 10.x users:
Step 1: First, click the Apple icon in the top left corner. From this menu, click “System Preferences”.
Step 2: Next, click “Network”.
Your default gateway will appear next to “Router”. See image below.
Note: An IP Address is the internal address of the computer you are on