Having trouble understanding subnet masks
Having trouble understanding subnet masks
Having trouble understanding subnet masks
2019-04-02 21:13:54 - last edited 2019-04-02 22:39:36

I've always configured my netmask as 255.255.255.0 - which I understand is equal to 10.1.1.0/24 and that gives me 256 IP addresses in my subnet.

I also understand that 255.255.252.0 = 10.1.1.0/22 which gives me 1024 IP adresses - but which IP addresses?

Does 10.1.1.0/22 mean that nodes on this subnet will have an IP range from 10.1.1.1 to 10.1.4.255?

If so, does that mean that any 10.1.1.x node can talk to any other node with a 10.1.2.x (or 10.1.3.x or 10.1.4.x) IP?

0
0
#1
Options
3 Replies
Re:Having trouble understanding subnet masks
2019-04-03 14:20:42

Hi!

 

If you are subnetting with 22 bits of mask then your range of usable IPs starts at 10.1.0.1 and goes to 10.1.3.254.

 

10.1.0.0 - 10.1.0.255 = 256 hosts 

10.1.1.0 - 10.1.1.255 = 256hosts

10.1.2.0 - 10.1.2.255 = 256 hosts

10.1.3.0 - 10.1.3.255 = 256 hosts

 

TOTAL OF HOSTS 1024, but because 10.1.0.0 is your NETWORK and 10.1.3.255 is your BROADCAST you only have 1022 hosts available.-

 

 

And yes any host under the entire range can talk to any other (almost if there is no restrictions like a firewall filtering access/ports)

 

 

 

01000111 01100101 01110010 01100001
1
1
#2
Options
Re:Re:Having trouble understanding subnet masks
2019-04-04 17:23:20

Thank you, Gerardo-ARG!

0
0
#3
Options
Re:Having trouble understanding subnet masks
2019-04-19 10:48:40

Just google for any IP-Calculator, it will be faster :D

 

0
0
#4
Options