On a Mac OS computer, you can find your default gateway using the following command:
netstat -nr | grep default
Execute that command from the Terminal application.
On most Linux-based computers, you can show your default gateway IP by executing the following:
ip route | grep default
Like on a Mac, execute the above via Terminal.