What Is a Default Gateway and How to Find the Device's IP Address (2024)

> Home Networking

247

247 people found this article helpful

You can't get to the internet without one

By

Bradley Mitchell

Bradley Mitchell

Writer

  • Massachusetts Institute of Technology
  • University of Illinois

An MIT graduate who brings years of technical experience to articles on SEO, computers, and wireless networking.

lifewire's editorial guidelines

Updated on September 8, 2021

Reviewed by

Ryan Perian

What Is a Default Gateway and How to Find the Device's IP Address (1)

Reviewed byRyan Perian

  • Western Governors University

Ryan Perian is a certified IT specialist who holds numerous IT certifications and has 12+ years' experience working in the IT industry support and management positions.

lifewire's editorial guidelines

Home Networking

  • Network Hubs
    • The Wireless Connection
    • ISP
    • Broadband
    • Ethernet

    Trending Videos

    A default gateway makes it possible for devices in one network to communicate with devices in another network. If a computer, for example, requests a web page, the request goes through the default gateway before exiting the local network (LAN)to reach the internet.

    Think of a default gateway as an intermediate device between the local network and the internet. The default gateway transfers internal data to the internet and back again.

    In most homes and small offices, the default gateway is a router that directs traffic from the local network to the cable or DSL modem, which sends it to the internet service provider (ISP).

    What Is a Default Gateway and How to Find the Device's IP Address (2)

    How Traffic Moves Through a Default Gateway

    All the clients on a network point to a default gateway that routes their traffic. The default gateway device passes this traffic from the localsubnetto devices on other subnets. The default gateway connects a local network to the internet, although internal gateways for communication within a local network are used in corporate networks.

    The default gateway in a home network, for example, understands specific routes that must be taken to move internet requests from a computer out of the network and onto the next piece of equipment that can understand what needs to be done. From there, the same process happens until the data reaches its destination.

    The worddefaultin this term means that it's the default device that's looked for when information needs to be sent through the network.

    With each network that the traffic arrives at, that network's default gateway relays the information to the internet and back to the computer, which requested it.

    When traffic is bound for other internal devices and not a device external to the local network, the default gateway is used to understand the request, but instead of sending the data out of the network, it points it to the correct local device.

    This process is understood based on the IP address that the originating device requests.

    Types of Default Gateways

    Internet default gateways are typically one of two types:

    • In home or small business networks with a broadband router to share the internet connection, the home router serves as the default gateway.
    • In home or small business networks without a router, such as for residences with dial-upinternet access, a router at the internet service provider location serves as the default gateway.

    Default network gateways can also be configured using a computer instead of a router. These gateways use two network adapters: one is connected to the local subnet and the other is connected to the outside network.

    Either routers or gateway computers can be used to network local subnets such as those in large businesses.

    How to Find Your Default Gateway IP Address

    You'll need to know the IP address of the default gateway if there's a network problem or to make changes to the router.

    • In Microsoft Windows, theIP address ofa computer's default gateway can be accessed through Command Prompt with the"ipconfig"command, as well as through the Control Panel.
    • In macOS and Linux, the"netstat" and"ip route"commands are used to find the default gateway address.

    FAQ

    • How do I find the default gateway on a Mac?

      Open the Terminal app on a Mac by using the Command+Spacebar shortcut to search Spotlight. Once a new Terminal window opens, enter netstat -nr | grep default. You can also find the default gateway from System Preferences > Network > Advanced > TCP/IP > Router.

    • How do I change the default gateway in Windows 10?

      If you'd like tochange the IP addressof your home network's default gateway, log in to your router from a web browser with the admin credentials. Depending on your model, you might find the default gateway settings from the setup or connections areas. Edit the default gateway IP address as you please and save your changes.

    Was this page helpful?

    Thanks for letting us know!

    Get the Latest Tech News Delivered Every Day

    Subscribe

    Tell us why!

    What Is a Default Gateway and How to Find the Device's IP Address (2024)

    References

    Top Articles
    Latest Posts
    Article information

    Author: Duane Harber

    Last Updated:

    Views: 6175

    Rating: 4 / 5 (51 voted)

    Reviews: 90% of readers found this page helpful

    Author information

    Name: Duane Harber

    Birthday: 1999-10-17

    Address: Apt. 404 9899 Magnolia Roads, Port Royceville, ID 78186

    Phone: +186911129794335

    Job: Human Hospitality Planner

    Hobby: Listening to music, Orienteering, Knapping, Dance, Mountain biking, Fishing, Pottery

    Introduction: My name is Duane Harber, I am a modern, clever, handsome, fair, agreeable, inexpensive, beautiful person who loves writing and wants to share my knowledge and understanding with you.