Your IP settings are in different places depending on your operating system, but the process takes less than a minute on any of them

Your IP address is a number that identifies your device on a network — think of it like a mailing address for your computer. Your IP settings also include your subnet mask, gateway, and DNS servers, which control how your device talks to other devices and finds websites. You might need to check these settings to troubleshoot a connection problem, configure your network manually, or understand what your device is currently using.

Where you find these settings depends on whether you use Windows, Mac, or Linux. Each operating system stores this information in a different place, but all of them show you the same basic information once you know where to look.

Key Takeaways

  • On Windows, open Settings, go to Network & Internet, then Status to see your IP address and related settings.
  • On Mac, open System Settings, click Network, select your connection, and click Details to view your IP configuration.
  • On Linux, open a terminal and type ip addr or ifconfig to display your IP settings immediately.
  • Your IP address may be assigned automatically by your router (DHCP) or set manually, and knowing which one you have helps with troubleshooting.
  • DNS servers control which websites you can reach, so checking them is useful if websites load slowly or not at all.

Finding your IP address on Windows 10 and 11

Open the Settings app by pressing the Windows key and typing "Settings", then click the app that appears. Once Settings opens, click Network & Internet on the left side of the window.

Click Status at the top of the list. Scroll down until you see a section called IP settings. Your IPv4 address appears here as four numbers separated by periods, like 192.168.1.100. Below that you will see your subnet mask, default gateway, and DNS servers. If you need more detail, click Advanced network settings and then More network adapter options to see additional configuration details.

Finding your IP address on Mac

Click the Apple menu in the top-left corner and select System Settings (or System Preferences on older versions). Click Network in the sidebar.

Select the connection you want to check — usually Wi-Fi if you are wireless or Ethernet if you are wired. Click the Details button. A window opens showing your IPv4 address, subnet mask, router address (which is your gateway), and DNS servers. If you do not see a Details button, your connection may not be active; make sure you are connected first.

Finding your IP address on Linux

Open a terminal window. The keyboard shortcut is usually Ctrl+Alt+T, though this varies by desktop environment. Type the command ip addr and press Enter. Your IP address appears in the output next to "inet" for IPv4 or "inet6" for IPv6.

If ip addr does not work, try ifconfig instead — older systems use this command. Look for the network interface you want (usually eth0 for wired or wlan0 for wireless) and find the line starting with "inet". The number after "inet" is your IP address. The line starting with "netmask" shows your subnet mask, and you can find DNS servers by typing cat /etc/resolv.conf and pressing Enter.

Understanding DHCP versus static IP addresses

Your IP address comes from one of two sources. Most home networks use DHCP (Dynamic Host Configuration Protocol), which means your router assigns an IP address automatically each time you connect. This address can change, and that is normal. If you see "Obtain an IP address automatically" or "DHCP enabled" in your settings, you are using this method.

A static IP address is one you set manually and does not change. You might use this for a printer, security camera, or server that needs to stay at the same address. If you see an IP address that you remember setting yourself, or if your settings show "Use the following IP address" with a number filled in, you have a static address. Changing from DHCP to static requires entering the address, subnet mask, and gateway manually — do this only if you know what you are doing, as a mistake can disconnect you from the network.

What your DNS servers do and why they matter

Your DNS servers are the devices that translate website names into IP addresses. When you type "google.com" into your browser, your computer asks a DNS server "what IP address does google.com use?" and the server sends back a number. If your DNS servers are slow or misconfigured, websites will load slowly or not load at all, even if your internet connection is working.

Most people use the DNS servers their internet provider assigns automatically, which usually work fine. Some people change to faster or more private DNS servers like Cloudflare (1.1.1.1) or Quad9 (9.9.9.9). To change your DNS servers on Windows or Mac, go back to the network settings where you found your IP address and look for a DNS or nameserver field. On Linux, edit the file /etc/resolv.conf with a text editor, though this change may not survive a restart on systems using DHCP.

Checking your public IP address versus your private IP address

The IP address you see in your network settings is your private IP address — it only works on your local network. Your router has a different public IP address that the internet sees, and that is what websites use to identify you. If you need to know your public IP address, open a web browser and search for "what is my IP" — any search engine will show it to you at the top of the results.

Your private IP address usually starts with 192.168, 10, or 172.16 — these are reserved ranges that routers use internally. Your public IP address is assigned by your internet provider and can be any other number. Understanding the difference matters if you are trying to troubleshoot a connection problem or set up port forwarding for a game or application.

Frequently Asked Questions

Why does my IP address keep changing?

Your router is using DHCP to assign addresses automatically, which is normal. Each time you restart your device or reconnect to the network, the router may give you a different address from its available pool. If you need the same address every time, you can set a static IP address in your network settings, though this requires more manual configuration.

Is it safe to share my private IP address?

Your private IP address only works on your local network, so sharing it with someone outside your home or office does not expose your device to them. Your public IP address is visible to every website you visit, but it does not directly identify you — your internet provider knows which customer it belongs to, but websites cannot see your name or location from it alone.

What should I do if I cannot find my IP settings?

Make sure you are looking in the right place for your operating system — Windows Settings is different from Mac System Settings. If you are still stuck, try the terminal or command line: Windows users can open Command Prompt and type ipconfig, while Mac and Linux users can open a terminal and type ip addr or ifconfig.

Can I change my IP address myself?

You can change your private IP address by setting a static address in your network settings, though this requires knowing your subnet mask and gateway. You cannot change your public IP address directly, but restarting your modem may assign you a different one from your internet provider — this can take several minutes to take effect.

What does "gateway" mean in my IP settings?

Your gateway is the address of your router on your local network. It is the device that connects your computer to the internet. If you cannot reach other devices on your network or the internet at all, checking that your gateway address is correct is a good first troubleshooting step.