How to find Subnet Mask

If you want to find your subnet mask of the network or if you are in the network but want to know what is my subnet mask, here is a handy article for you. Subnet mask helps to identify which section of an IP address is reserved for network and which part is available for the use of host. Subnet mask is also known as netmask. Now I’m going to tell you how to find subnet mask on your local network.

Windows Vista/ XP/NT/2003 – On Windows Vista, XP or other NT versions you can follow simple steps below.

  • Go to Start Menu -> Run
  • Type “cmd” and press enter to open the command prompt window.
  • Now type “ipconfig /all” [without quotes]

You will get the subnet mask on your local network like the following screenshot.

Also you get the same information from the properties of Local Area Network. Just go to Start Menu -> Settings -> Network Connections and double click the Local Area Network icon. Then just click on the support tab at the top of the window.

Linux/ Unix – On Linux or Unix system just type following commands on shell to get the subnet mask.

$ ifconfig


$ /sbin/ifconfig


$ /sbin/ifconfig interface-name

The output will be as follows…

lnc0: flags=108843 mtu 1500
inet netmask 0xfffffff8 broadcast
ether 00:0c:29:32:8a:8c
plip0: flags=108810 mtu 1500
lo0: flags=8049 mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0×3
inet6 ::1 prefixlen 128
inet netmask 0xff000000

The netmask is the subnet mask and displayed in hexadecimal format.

Related posts:

  1. Subnet Mask Also known as a netmask, a subnet mask is a...
  2. How to find DNS Server Domain Name System or DNS is a key to network...
  3. How to Change IP Address Often we have the need to change out IP address...
  4. How to find Gateway In the previous article I had talked about how you...
  5. Calculate Broadcast Address Calculating the broadcast address can be easy if you know...

Liked this post ? Subscribe to MWolk Blog via RSS Feed or via Email and receive free daily Tech and Money making tips.

No Responses to “How to find Subnet Mask”

No feedback yet.

Leave a Reply

Name Email Website URI