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.
$ /sbin/ifconfig interface-name
The output will be as follows…
lnc0: flags=108843 mtu 1500
inet 126.96.36.199 netmask 0xfffffff8 broadcast 188.8.131.52
plip0: flags=108810 mtu 1500
lo0: flags=8049 mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0×3
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
The netmask is the subnet mask and displayed in hexadecimal format.
- Subnet Mask Also known as a netmask, a subnet mask is a...
- How to find DNS Server Domain Name System or DNS is a key to network...
- How to Change IP Address Often we have the need to change out IP address...
- How to find Gateway In the previous article I had talked about how you...
- Calculate Broadcast Address Calculating the broadcast address can be easy if you know...