AWS Classroomnotes 02/Feb/2023

Networking

  • Design a network with
    • 3 subnets of 130 devices each
    • 5 subnets of 100 devices each
  • 3 subnets of 130 devices each
subnet

variable = 8
fixed = 24
SM:  11111111.11111111.11111111.00000000
     11111111.11111111.111111yy.00000000

subnets: 192.168.0.0/24, 192.168.1.0/24, 192.168.2.0/24
network: 192.168.0.0/22

  • 5 subnets of 100 devices each
subnet
variable = 7
fixed = 25
SM:  11111111.11111111.11111111.10000000
     11111111.11111111.111111yy.y0000000
subnets: 192.168.0.0/25, 192.168.0.128/25, 192.168.1.0/25, 
         192.168.1.128/25, 192.168.2.0/25

Network: 192.168.0.0/22

Rules

  • 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

  • Home network
  • AWS Network (VPC)
  • Rougly similar
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%%