What is the Difference Between IP Address and Mask? from Jack prabha's blog

This seems a little confusing. How do you know the difference between subnet mask and IP? Let's use an example to clear up the confusion.

The best way to do this is to think of a regular address such as your company's home or physical address. So, let's say one of your friends wants to send you a letter. He writes your address on an envelope, then adds a stamp and places it in his mailbox.

The postal worker receives the letter and, if the recipient's address is local, sends it directly to your inbox. If the address is in another city or town, the letter is sent to the central post office, where workers sort it and send it where it should go. The IP address works in a similar way.

The cyber security consulting salary which you make is around $85,427 per year and more depending on experiences in the United States. 

So, if your IP is 20.0.0.1 and the subnet mask is 255.0.0.0, this means that addresses in the 20.xxx range are on your local network. However, if you want to send something to an IP address outside your subnet, for example 30.0.0.1, you cannot do it directly (similar to mail, it will be in another city).

In this case, the mail sends the message to the local headquarters and then to the local headquarters of the intended recipient. And only then does the postal worker deliver it.

So an IP address is a number that has a network number, a subnet number (optional), and a host number. The network and subnet numbers are used in routing, and the host number is the host address.

A subnet mask numerically defines the format of an IP address, where the network and subnet bits that form the address have mask bit values ​​of 1, and the host component of the address uses the mask bit value 0.


Previous post     
     Next post
     Blog home

The Wall

No comments
You need to sign in to comment