How to Find My Subnet Mask & Gateway Address

Written by peter thomas
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to Find My Subnet Mask & Gateway Address
Networked Windows computers are assigned subnet masks and gateway addresses. (network connection image by stresskiller from

Subnet masks and gateway addresses are important elements of computer networking. The subnet mask allows you to identify the IP range available to computers on your local network, while gateway addresses specify the router that handles transmitting and sending communications to your computer. This information can be very important in diagnosing network problems, as it tells you what router to check for communication problems and which IP addresses your system can be assigned.

Skill level:
Moderately Easy

Things you need

  • Networked computer

Show MoreHide


  1. 1

    Open the Start menu by clicking on the "Start" button. This can be a Windows logo or the text "Start," and is typically located on the lower left-hand corner of the desktop.

  2. 2

    Enter the run command "cmd." On Windows XP and earlier systems, click the "Run" option and enter command. Later versions of the operating system allow you to type the text directly into the "search" bar that appears on the menu.

  3. 3

    Enter the text "ipconfig /all" in the black window that opens on your desktop. This displays a list of all network adaptors and their configuration options.

  4. 4

    Scroll through the data that appears on the window. There may be numerous entries depending on what adaptors your system has installed. Look for the text "Subnet Mask" and "Default Gateway." The text will be located to the right of its label in the form of an IP address, such as

Tips and warnings

  • If an adaptor does not have a subnet mask or gateway entry, it means that it is not configured properly or connected. This can happen if you have not yet connected to your network or the adaptor is malfunctioning.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.