Merry Christmas & Happy 2027! Less downtime. More good times. Celebrating 13 years of sorlavit.com
Skip to content
Sorlavit KimIT Support, Network & Infrastructure Services Let’s talk

ปุ่มแปลไทยจะเปิดบทความผ่าน Google Translate เพื่อแปลอัตโนมัติ โดยคงโค้ดและคำสั่งไว้ตามต้นฉบับ

Network Troubleshooting / IT Support Guides

Find a wrong default gateway on Windows

Local file sharing may work while every off-subnet service fails. Inspect the route table to determine which default path the workstation can use.

Compiled for Sorlavit Kim · Published · Updated · 1 min read

Environment and inputs: Mixed platforms · each example identifies its shell or required tool

Try the diagnostic command

Use the stated shell and platform. Replace sample domains, addresses, services and paths with values from the system you are authorized to support.

route print -4

How to read the result

The Windows IPv4 table includes destination, mask, gateway, interface and metric. A default route has destination 0.0.0.0 with mask 0.0.0.0, but more-specific routes take precedence.

What to do next

Compare the default path with the active network and VPN design. Ask the network owner to correct DHCP or managed routing when the gateway is wrong.

Before you make a change

Do not delete all routes as a diagnostic shortcut. Multiple defaults and VPN routes can be intentional and must be evaluated with interface metrics and destination specificity.

Source & further reading

Microsoft Learn — route_ws2008

Independently written summary reviewed on 2026-11-01. The example illustrates a possible application; it is not a client case study.

Share this article

Back to results