The command “ipconfig” shows your network connection status (the gateway is your router, if you need to know its IP), but you can also use “ipconfig /release ...