GCP Classroom notes – 12 Feb 2021

Subnetting

  • A subnet is a logical segment of larger network & subnetting is a logical addressing technique that creates smaller subnets using existing IPV4 addreses Preview
  • Subnetting Preview
  • Scenario: An organization has created a network for private usage Refer Here the organizational network cidr range is 10.10.0.0/16
    • Now we are asked to create two subnets which can hold 500 devices
    subnet size should be ~= 500
    2^n ~=500
    n => 9 
    SM=> 11111111.11111111.11111110.00000000
    N/W Range => 10.10.0.0./16
    subnet1 =>10.10.0.0/23
    
    
    Preview
  • Scenario 2: An Organization has a private network of range 172.16.0.0/16. We need to create 3 lab networks and each lab has 2000 devices
hosts => 2000
2^n ~= 2000
n=11 

172.16.00000xxx.xxxxxxxx => 172.16.0.0/21
172.16.00001xxx.xxxxxxxx => 172.16.8.0/21
172.16.00010xxx.xxxxxxxx => 172.16.16.0/21
  • Scenario 3: In your home you are create 3 smaller networks your network range for home 192.168.0.0/24. You need to create 3 subnets which can connect to 30 devices
number of devices = 30
2^n = 30
n =5
192.168.0.000xxxxx => 192.168.0.0/27 
192.168.0.001xxxxx => 192.168.0.32/27
192.168.0.010xxxxx => 192.168.0.64/27

One thought on “GCP Classroom notes – 12 Feb 2021

  1. Sir u r rock in in cloud and devops am ur previous batch student .u r teching high level also depthly no one can teach like u…

Leave a Reply

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

About continuous learner

devops & cloud enthusiastic learner