Your routers IP address
When your computer connects to the internet, it must know the IP address of the router, or it can’t connect. Since it must know the IP address of the router, you can easily retrieve it using a simple DOS command called ipconfig.
To retrieve the IP address of your router, use the following steps:
1. Click Start->Run. Alternatively, you can press Windows Key+R.
2. In the box beside Open type cmd. A DOS window will appear.
3. At the prompt, type ipconfig. Some information about your current networks will be displayed on the screen.
4. Look for the entry labelled Default Gateway. This is the IP address of your router.
Related posts:

{ 1 comment… read it below or add one }
There is a less geeky to do this.
Open Control Panel
Go to Network ans Sharing Center in Vista or Network connections in XP
In Vista click View Status, then Click details. In XP right click on your network connection and go to Status then go to Support tab
Look for Default Gateway on either OS