When we create any network we cannot use 2 ip addresses
when all zeros in variable => Network id
when all ones in variable => broadcast id
Forumla in general networks with v as variables bits
size = 2^v - 2
note:
in AWS this formual would be 2^v - 5
When we create network rules to forward the network packets or to block the network packets in firewalls we generally use cidr ranges. In these cidr ranges are used to figure out network id.
192.168.0.0/24 => Any ip with pattern 192.168.0.x
10.10.0.0/16 => Any ip with pattern 10.10.x.x
0.0.0.0/0 => Any ip address x.x.x.x
100.101.102.103/32 => Specific ip 100.101.102.103
Home internet connection and rough relation to AWS