When Command Prompt is open, type the following command: ipconfig | findstr /i Gateway (You can copy paste it in the command prompt; just right-click anywhere in the command prompt window and select Paste.) In this example, your default gateway (router) IP address is 192.168. 1.1.