AWS Classroomnotes 30/Jan/2023

Network Basics

Lets create a network to connect 100 devices

  • Solution
Subnet mask

255.255.255.0  => 1 octet => 8 =>2^8 =256
255.255.0.0    => 2 octets => 16 => 2^16 = 65536
255.0.0.0      => 3 => 24 => 16777216
private 
192.168.0.0 to 192.168.255.255
172.16.0.0 to 172.31.255.255
10.0.0.0 to 10.255.255.255

Size = 100

SM: 255.255.255.0
ip: 192.168.0.x
ip: 192.168.100.x
ip: 172.16.0.x
ip: 10.0.0.x

Lets create a network to connect 1000 devices

  • Solution
Subnet mask

255.255.255.0  => 1 octet => 8 =>2^8 =256
255.255.0.0    => 2 octets => 16 => 2^16 = 65536
255.0.0.0      => 3 => 24 => 16777216

private 
192.168.0.0 to 192.168.255.255
172.16.0.0 to 172.31.255.255
10.0.0.0 to 10.255.255.255

Size = 1000

SM: 255.255.0.0
ip: 192.168.x.x
ip: 172.18.x.x
ip: 10.100.x.x


Lets try to create a network with 1 lakh devices

  • Solution
Subnet mask

255.255.255.0  => 1 octet => 8 =>2^8 =256
255.255.0.0    => 2 octets => 16 => 2^16 = 65536
255.0.0.0      => 3 => 24 => 16777216

private 
192.168.0.0 to 192.168.255.255
172.16.0.0 to 172.31.255.255
10.0.0.0 to 10.255.255.255

Size = 100000

SM: 255.0.0.0
ip: 10.x.x.x

Classless Interdomain routing (CIDR)

  • CIDR Notation is a way of ip addressing where we write range in the form of x.x.x.x/f
192.168.0.0/24

fixed = 24
variable = 32-24 = 8

ip: 192.168.0.xxxxxxxx
SM: 11111111.11111111.11111111.00000000

range = 192.168.0.0 to 192.168.0.255

192.168.10.0/23

fixed = 23
variable = 9

IP:           192.168.0000101x.xxxxxxxx
SM= 11111111.11111111.11111110.00000000

range: 192.168.10.0 - 192.168.11.255

10.128.0.0/12

fixed = 12
variable = 20

IP:       10.1000xxxx.xxxxxxxx.xxxxxxxx     
SM= 11111111.11110000.00000000.00000000

range: 10.128.0.0 to 10.143.255.255

192.168.192.0/21

fixed = 21
variable = 11

IP:           192.168.11000xxx.xxxxxxxx
SM= 11111111.11111111.11111000.00000000

range: 192.168.192.0 to 192.168.199.255

172.16.0.0/12

fixed = 12
variable = 20

IP:      172.0001xxxx.xxxxxxxx.xxxxxxxx      
SM= 11111111.11110000.00000000.00000000

range: 172.16.0.0 to 172.31.255.255


00010000 => 16
00011111 => 31

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a 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

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube