Short answer
A 192.168.x.x address is a private address that a router gives to devices on your home or small office network. To find yours, look at the IPv4 address of your active network adapter. On Windows, run ipconfig. On Linux, run ip -4 addr show. The router’s own address is listed as the default gateway. It is often 192.168.0.1 or 192.168.1.1, but not always.
What 192.168 means
Three ranges of IPv4 addresses are set aside for private networks: 10.0.0.0 to 10.255.255.255, 172.16.0.0 to 172.31.255.255, and 192.168.0.0 to 192.168.255.255. Addresses in these ranges are not routed on the public internet.
Your router uses network address translation (NAT). Every device on your network has a private address, and the router sends traffic out using the one public address from your provider. That is why your computer might show 192.168.1.23 locally, while a public lookup site shows a completely different address. Some routers use other private ranges, such as 10.0.0.x, so your address may not start with 192.168.
On Windows
- Open Command Prompt or PowerShell.
- Run
ipconfig. - Find the adapter you are using, such as Wi-Fi or Ethernet, and look at the IPv4 Address line. That is your device’s local address.
- The Default Gateway line shows the router’s address.
If you see several adapters, such as a VPN or a virtual adapter, choose the one that has a default gateway set. The others often have no gateway or belong to software on your computer.
On Linux
ip -4 addr showlists the IPv4 addresses for each interface. Look for the one on your active connection. Interface names vary, such aseth0,enp3s0orwlan0.hostname -Iprints the addresses quickly. It can show more than one, so check which one matches your network.ip route show defaultshows the default gateway. The address after the wordviais usually your router.
Why the local address matters
You will need the local address when you set up port forwarding, connect to a home server, print to a network printer or open the router’s admin page. Port forwarding rules point to the device’s local address, not the public one. If you change the address, the rules may need updating too.
When you open the router’s admin page, use the gateway address in a browser. Log in with the router’s password. If you do not know the password, check the label on the router. Avoid changing settings you do not understand.
For the broader picture of how addresses work on a network, see “What is an IP address and how does it work in a computer network?”
If the address starts with 169.254
An address in the range 169.254.x.x means the device did not get an answer from a DHCP server. The device assigned itself an address as a fallback. This is not a static address. Check the cable or Wi-Fi connection, then restart the router. If the problem continues, the router’s DHCP service may be the cause.
Commands like these are part of the basic toolkit covered in “What are 10 common network commands?”