How to get your IP address and Router address in Windows XP CMD will also work in Vista and Windows 7 If youre using a router or a gateway to the internet you may have two IP addresses, one for the local LAN (in side of the router) and one for the internet (out side the router or public IP address)...