Please enable JavaScript.
Coggle requires JavaScript to display documents.
27.314: CIDR, Private vs Public IP - Coggle Diagram
27.314: CIDR, Private vs Public IP
CIDR-IPv4
Classless Inter-Domain Routing-Method for allocate IPD address
Used in Security Groups rules and AWS network
they help to define an IP range
WW.XX.YY.ZZ/32 -> one IP
0.0.0.0/0 -> all IPs
192.168.0.0/26-> 192.168.0.0-192.168.0.63 (64 IP)
Consist of 2 component
Base IP
Represent an IP contained in range (XX.XX.XX.XX)
Example: 10.0.0.0, 192.168.0.0
Subnet Mask
Define how many bit can change in IP
Example: /0, /24, /32
Can take 2 forms
/8 <-> 255.0.0.0
/16 <-> 255.255.0.0
Memo
/24-last octet can change
/16-last 2 octet can change
/8-last 3 octet can change
/0-all octet can change
/32-No octet can change
Public vs Private IP(IPv4)
Private IP
10.0.0.0-10.255.255.255 (10.0.0.0/8) : big networks
172.16.0.0 - 172.31.255.255 (172.16.0.0/12) : AWS default VPC in that range
192.168.0.0 - 192.168.255.255 (192.169.0.0/16) : home network
All the rest of the IP address on the Internet are
Public IP