Win 11 Default Gateway: How to Find It on Windows 11
In Windows 11, the correct default gateway is the next-hop router IP associated with the active route Windows is using for your traffic. In many home and office setups, that is the gateway on your current connection, but in multi-homed, split-tunnel, or VPN scenarios the active route and the destination both matter. Pick the wrong gateway, and traffic may stop leaving your PC, websites may stop loading, or local devices may become unreachable. This guide shows where to find the win 11 default gateway, how to verify whether it is your router, VPN, or a bad static setting, and what to check before you change anything.
Screenshots note: The steps and labels below match Windows 11 network settings pages, including Settings > Network & internet > Advanced network settings > Hardware and connection properties.
What the default gateway
The default gateway is the IP address Windows uses to send traffic outside your local network. On a home or office connection, it is usually the router’s address. Windows shows it under the active adapter because that adapter is the route your PC is actually using.
Two details matter. First, Windows may show both an IPv4 gateway and an IPv6 gateway. Second, the right value depends on the active path, not on whichever adapter happens to list an address. If you are on Wi-Fi, the Wi-Fi adapter should usually supply the gateway. If Ethernet is active instead, that adapter’s gateway is the one to trust.
IPv4 versus IPv6 gateway values
For router login pages and local diagnostics, the IPv4 default gateway is usually the one you need. Common examples include 192.168.1.1 and 192.168.0.1. An IPv6 gateway can appear beside it, often in a form like fe80::1%12, but that is usually not the address to type into a typical router admin page.
That difference matters because Windows can show both at once. The IPv4 entry is the practical choice for most home and small-office troubleshooting. The IPv6 entry matters when your network uses IPv6 for routing, but it is not the usual answer for “what is my router IP?”
Which default gateway is the right one?
The right gateway is the one attached to the route Windows is currently using for the traffic you are inspecting. If Wi-Fi is connected, use the gateway under the Wi-Fi adapter. If Ethernet is active, use the Ethernet gateway. If a VPN is connected, expect a second gateway and choose carefully before changing anything.

The safest check is simple: match the gateway to the active adapter, confirm the subnet, and note whether a VPN is adding another route. A common first-timer mistake is to copy a gateway from the wrong adapter because it looks familiar, then enter it into a static profile that already has a different subnet mask.
| scenario | what Windows shows | which gateway to use | first verification command |
|---|---|---|---|
| Wi-Fi | Default Gateway under the Wi-Fi adapter, often one IPv4 entry and sometimes IPv6 too | The Wi-Fi adapter’s IPv4 gateway | ipconfig |
| Ethernet | Default Gateway under the wired adapter, separate from Wi-Fi | The Ethernet adapter’s IPv4 gateway | Get-NetIPConfiguration |
| VPN | A second gateway appears under a VPN virtual adapter | Use the gateway for the route you want; usually your local adapter for home router access | ipconfig |
| Static IP | Gateway may be missing or mismatched with the subnet | The router IP that matches the subnet and static plan | Get-NetIPConfiguration |
| No-gateway error | Blank default gateway or a disconnected adapter | Do not guess; verify link state, DHCP, and the static profile first | ipconfig |
How to choose the gateway tied to the active route
Start with the adapter that Windows says is connected. If you see both Wi-Fi and Ethernet, one may be idle. If a VPN is active, its adapter can add a second gateway and change how traffic leaves the system. That does not mean the router gateway disappeared; it often means the VPN now has its own route.
Suppose your laptop is on Wi-Fi, and a VPN is connected for work. Windows may show a home router gateway on the Wi-Fi adapter and a second gateway on the VPN adapter. For router login, you still want the Wi-Fi adapter’s IPv4 gateway. For work traffic, the VPN route may be the one in use.
How do you find the default gateway in Command Prompt?
Command Prompt is the quickest method, and it does not need admin rights for a basic lookup. Run ipconfig, then read the Default Gateway line under the active adapter. If more than one adapter appears, ignore the inactive ones and focus on the interface that is currently connected.
- Open Command Prompt.
- Type
ipconfigand press Enter. - Find the section for the active adapter, such as Wi-Fi or Ethernet.
- Read the Default Gateway line.
- If two entries appear, note which one belongs to IPv4 and which one belongs to IPv6.
What to do if more than one adapter appears
Windows often lists several adapters, including virtual ones. Do not use the gateway from a disconnected adapter, a Bluetooth network adapter, or a VPN interface unless that is the path you mean to inspect. The key is the active route, not the longest list of addresses.
If you are unsure which adapter is active, compare the connection state in Windows Settings or check which adapter has a valid local IP address and subnet mask. The adapter with a live connection is the one that matters for gateway lookup.
How do you check it in PowerShell?
PowerShell gives you structured output with Get-NetIPConfiguration. Look for IPv4DefaultGateway under the active adapter. This method is useful when you want the gateway, IP address, and related network fields in one place, especially if Windows is showing more than one adapter.
Reading the output correctly
Focus on the adapter name first, then the gateway field. If the output includes a VPN virtual adapter, that extra gateway is not a mistake by itself. It only becomes a problem when you expect traffic to use the local router but Windows is routing through the VPN instead.
Picture a desktop on Ethernet with a VPN client open. PowerShell may show one gateway under the Ethernet adapter and another under the VPN adapter. The Ethernet gateway is the one you would use for local router access, while the VPN gateway may control corporate traffic.
Find the gateway in Windows settings
Windows 11 puts the gateway in the modern network pages under Network & internet and Hardware and connection properties. This path is useful when you want a GUI view of the active connection before you change anything. It is also a quick way to confirm whether the adapter is connected at all.
- Open Settings.
- Select Network & internet.
- Open Advanced network settings.
- Choose Hardware and connection properties.
- Read the gateway shown for the active adapter.
Use Microsoft’s Settings path if you want the current adapter details in a supported UI, and use ipconfig or Get-NetIPConfiguration when you need a faster or more precise command-line check. The Settings view is especially helpful when the adapter name, connection type, and IP details need to be confirmed together. Microsoft support documents the Windows 11 network details path.
Find the gateway in Control Panel
Control Panel is still useful because the adapter Details dialog shows IPv4 Default Gateway directly. Use Network and Sharing Center, open the active adapter, then choose Details. This view is often the easiest place to compare the gateway with the subnet mask, IPv4 address, and DNS server fields.
That comparison matters. If the gateway looks plausible but the subnet does not match the rest of the static settings, the entry may be wrong even though it resembles a common router IP. The address must fit the adapter’s network, not just look familiar.
How do I verify which gateway is actually active?
Use route verification when two gateways appear, especially with Wi-Fi plus VPN or Ethernet plus VPN. The active default route is the one Windows will actually use for traffic to outside networks, so the route table matters more than a copied gateway field. Check the route metric and next hop before you change settings.
Use route print or Get-NetRoute
Run route print in Command Prompt or Get-NetRoute -AddressFamily IPv4 in PowerShell to inspect the active IPv4 routes. Look for the 0.0.0.0 default route and the corresponding Gateway or NextHop value. If the VPN is connected, you may see a second default route with a lower metric, which means Windows prefers it.
Microsoft’s PowerShell networking cmdlets and route tooling make this check precise, because they show the route table instead of just the adapter summary. That is the cleanest way to prove whether the local router or the VPN is currently carrying default traffic. Microsoft documents Get-NetRoute, and Microsoft documents TCP/IP configuration and reset tooling.
What to check in a two-gateway VPN scenario
If route print shows two default gateways, compare the metrics and the interface names. The lower metric usually wins, which is why a VPN can override the local router even when the router gateway is still visible. If you only want local network access, disconnect the VPN and recheck the route table.
Default gateway decision table
Use this table to decide which value is correct before you change any settings. It is built to separate the active adapter from the wrong adapter, the router from the VPN, and a clean DHCP lease from a static entry that does not belong.

| scenario | what Windows shows | which gateway to use | first verification command |
|---|---|---|---|
| Home Wi-Fi | One IPv4 default gateway under Wi-Fi | Use the Wi-Fi IPv4 gateway; this is usually the router IP | ipconfig |
| Office Ethernet | Gateway under Ethernet, with Wi-Fi disconnected or unused | Use the Ethernet gateway for that connection | Get-NetIPConfiguration |
| VPN connected | A second gateway appears under a VPN virtual adapter | Use the local adapter gateway for router login; use the VPN route only for work traffic | ipconfig |
| Static IP entry | Gateway may be empty or not match the subnet | Use the router IP that belongs to the same subnet as the static address | Get-NetIPConfiguration |
| No gateway shown | Blank Default Gateway field or disconnected adapter | Do not enter a gateway until DHCP, link state, and the static profile are checked | ipconfig |
What to check before you change anything
Verify three fields together: gateway, subnet mask, and DNS. If the gateway is valid but the subnet mask is wrong, Windows may still fail to reach devices outside the local segment. If DNS is wrong, web names fail even when the gateway itself is fine. Check the whole set before you edit a static profile.
If the address should be obtained automatically, confirm that DHCP is enabled for the adapter. If the adapter should be static, make sure the gateway matches the same subnet as the IPv4 address. If the network was recently changed, renew the lease before making manual edits.
How do I renew the DHCP lease on Windows 11?
Renewing the DHCP lease is a fast way to refresh the gateway, IP address, and DNS details when a dynamic profile looks wrong. It is useful after a router restart, a docking change, or a VPN disconnect. If the adapter is set to DHCP, Windows should pull the correct gateway again on renewal.
Use ipconfig /release and ipconfig /renew from Command Prompt, then recheck the gateway with ipconfig or Get-NetIPConfiguration. If the new gateway still does not match the active adapter, the issue is likely routing, not just address assignment. Microsoft documents DHCP renewal guidance.
How do I reset TCP/IP on Windows 11?
Reset TCP/IP when the gateway, route table, or stack behavior is corrupted and simple renewal does not help. This is a deeper repair than refreshing DHCP, so use it when routing appears broken across multiple adapters or when the system keeps returning bad network behavior after restart.
Open an elevated Command Prompt and run netsh int ip reset, then restart the PC. If you also need to clear name-resolution problems, follow with ipconfig /flushdns. Microsoft’s TCP/IP reset guidance covers this repair path and explains when it is appropriate. Microsoft support also covers Windows network reset and repair steps.
Why does Windows 11 show two default gateways?
Windows 11 can show two default gateways when a VPN virtual adapter adds another route. That is normal when the VPN is active. One gateway belongs to your local network adapter, and the other belongs to the VPN tunnel. The right one depends on which traffic you want to send where.

Split tunneling can make the picture look even more confusing. Some traffic goes through the VPN, while other traffic uses the local gateway. If you disconnect the VPN and the second gateway disappears, that is a strong sign the extra entry came from the VPN adapter rather than from your router.
When disconnecting the VPN should restore one gateway
If disconnecting the VPN leaves Windows with a single gateway under the active local adapter, the extra route was likely normal. If two gateways remain after the VPN is off, check whether another virtual adapter is still active or whether a static entry is stuck in the profile.
How I verified this on Windows 11
The gateway lookup flow is shown using Wi-Fi, Ethernet, and VPN adapters with the same three checks across Windows 11 23H2 and 24H2: the Settings network page, ipconfig, and Get-NetIPConfiguration. The active default route can be confirmed with route print and Get-NetRoute when VPN routing adds a second gateway.
Wi-Fi adapter verification
This is the clearest case for a home router gateway because the local adapter and the default route usually match cleanly.
Ethernet adapter verification
The route table is especially useful here when both adapters remain installed on the same PC.
VPN adapter verification
The deciding factor is the default route and its metric. If the VPN route is preferred, Windows will use it for outbound traffic even though the local gateway is still listed.
What should my default gateway be?
Your default gateway should be the router IP for the network you are actually using. On a home or office LAN, that is usually the router interface on your local subnet. It should usually match the active adapter, not an old record from another connection, another VLAN, or a VPN tunnel.
What does no default gateway mean on Windows 11?
No default gateway usually means Windows cannot reach a router through that adapter. The adapter may be disconnected, the DHCP lease may be incomplete, or a static IP may have been entered without a gateway. It is a routing problem first, not a browser problem.
Check the connection state, then confirm whether the adapter is set for DHCP or static addressing. If the gateway field is blank on a profile that should be static, the missing value is the issue. If the adapter should be dynamic, renew the lease and check the route again.
How do I change the default gateway in Windows 11?
To change the default gateway, open the adapter’s IPv4 properties, where the IP address, subnet mask, and gateway are set together. First confirm the active adapter, then compare the gateway with the subnet mask and DNS entries.
- Open Settings.
- Select Network & internet, then open the active adapter’s Properties.
- Choose Edit for the IP assignment.
- Select Manual if you are setting a static profile.
- Enter the IPv4 address, subnet mask, and the correct default gateway for that subnet.
- Save the changes and recheck the gateway in
ipconfigor Hardware and connection properties.
How do I set a default gateway in Windows 11?
Set it in the same place you assign a static IPv4 address. Enter the router IP for the local subnet, then save the profile. If DHCP is enabled, Windows usually receives the gateway automatically, so manual entry is only needed for static setups or special routing cases.
How do I find my router IP address on Windows 11?
In most cases, your router IP is the IPv4 default gateway shown under the active adapter. Use ipconfig for the quickest lookup, or open Hardware and connection properties in Settings for a clearer view. The address usually looks like a local IPv4 value rather than an internet address.
What is the difference between IPv4 and IPv6 default gateway?
The IPv4 default gateway is the address most people need for router login and local diagnostics. The IPv6 gateway may appear alongside it, often as a link-local address. Windows can show both, but for a typical router admin page or local troubleshooting step, the IPv4 entry is usually the correct one.
Frequently asked questions
What should my default gateway be: your default gateway should?
Your default gateway should be the router IP for the network your active adapter is using. On a typical home or office connection, that means the IPv4 gateway shown under Wi-Fi or Ethernet. If a VPN is connected, confirm you are reading the local adapter, not the VPN adapter.
How do I find the default gateway on Windows 11?
The quickest method is ipconfig in Command Prompt. Read the Default Gateway line under the active adapter. You can also check Get-NetIPConfiguration in PowerShell or open Network & internet > Advanced network settings > Hardware and connection properties.
Why does Windows 11 show two default gateways: windows 11 often shows two?
Windows 11 often shows two gateways when a VPN virtual adapter is active. One gateway belongs to your local network, and the other belongs to the VPN. Use the gateway tied to the route you want, and disconnect the VPN if you need to confirm the local router entry.
What does no default gateway mean on Windows 11: no default gateway usually means?
No default gateway usually means the adapter is not connected properly, the DHCP lease is incomplete, or a static profile is missing its gateway value. Check the active adapter first, then verify whether the connection is dynamic or static before changing any address settings.
How do I change the default gateway in Windows 11: change it?
Change it in the adapter’s IPv4 settings, where the static IP, subnet mask, and gateway are entered together. Only use a gateway that fits the same subnet as the address you assign. If DHCP is enabled, Windows usually fills the gateway automatically.
What is the difference between IPv4 and IPv6 default gateway: iPv4 is the gateway readers?
IPv4 is the gateway readers usually need for router login and local diagnostics. IPv6 may appear beside it in Windows, sometimes as a link-local address, but it is not usually the address you use for a standard router admin page. Match the gateway to the task before you change anything.
Related troubleshooting
If the gateway is correct but connectivity still fails, these related checks are the next best steps:
- fix default gateway not available
- renew DHCP lease on Windows 11
- fix DNS server not responding on Windows 11
- reset network settings on Windows 11
Sources
- Microsoft Learn: ipconfig
- Microsoft Learn: Get-NetIPConfiguration
- Microsoft Learn: Get-NetRoute
- Microsoft Support: find your IP address in Windows 11
- Microsoft Support: renew your IP address on Windows 11
- Microsoft Support: fix Wi-Fi connection issues in Windows 11
- Microsoft Learn: netsh interface ip






