AWS Classroomnotes 28/Jul/2022

Networking Contd…

  • Private Networks:
    • They are designed for private networks
    • For this certain ip addresses are reserved.
      192.168.0.0/16
      172.16.0.0/12
      10.0.0.0/8

  • CIDR (Classless Inter Domain Routing):
172.0.0.0/16
SM: 11111111.11111111.00000000.00000000
ip range=> 172.0.0.0 to 172.0.255.255

10.10.10.0/24
SM: 11111111.11111111.11111111.00000000
ip range => 10.10.10.0 to 10.10.10.255


172.16.0.0/12
SM: 11111111.11110000.00000000.00000000
ip range: 172.y.0.0 to 172.y.255.255

16 => 0001xxxx
min => 00010000 => 16
max => 00011111 => 31
ip range: 172.16.0.0 to 172.31.255.255

192.168.10.0/23
SM: 11111111.11111111.11111110.00000000
ip range: 192.168.y.0 to 192.168.y.255

10 => 0000101x
min => 00001010 => 10
max => 00001011 => 11
ip range: 192.168.10.0 to 192.168.11.255
  • Lets expand some cidr ranges
192.168.128.0/21
SM: 11111111.11111111.11111000.00000000
ip range: 192.168.y.0 to 192.168.y.255

128 => 10000xxx
min => 10000000 => 128
max => 10000111 => 135
192.168.128.0 to 192.168.135.255

10.240.0.0/15
SM: 11111111.11111110.00000000.00000000
ip range: 10.y.0.0 to 10.y.255.255
240 => 1111000x
min => 11110000 => 240
max => 11110001 => 241
ip range : 10.240.0.0 to 10.241.255.255
  • Which is the bigger network
  • 10.10.10.0/24 => N = 24 n => 32-24 => 8 size => 2^8 or 10.10.10.0/23 => N = 23, n = 32-23 = 9, size => 2^9 (10.10.10.0/23 is bigger network)
  • 192.168.0.0/24 vs 192.168.0.0/16 => 192.168.0.0/16 is bigger network
  • Private Network ranges
192.168.0.0/16 => 192.168.0.0 to 192.168.255.255
172.16.0.0/12 => 172.16.0.0 to 172.31.255.255
10.0.0.0/8 => 10.0.0.0 to 10.255.255.255
  • Are the following networks private
192.168.0.0/15 => 192.168.0.0 to 192.169.255.255 => This is not private range

10.10.0.0/15 => 10.10.0.0 to 10.11.255.255 => this is a private range

172.16.0.0/14 => this is private
Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Exit mobile version
%%footer%%