AWS Classroomnotes 29/Jan/2023

Networking Basics

  • There are two types of networks
    • Public Network:
      • This network is accessible over internet
    • Private Network
      • This the network for intranet (internal) usage
      • Private networks have ip address ranges
        • 10.0.0.0 to 10.255.255.255
        • 172.16.0.0 to 172.31.255.255
        • 192.168.0.0 to 192.168.255.255
  • Through out this course we will be dealing with private networks
  • As per what we have learnt so far we have following subnet masks that can be used to create a network
    • 255.255.255.0
    • 255.255.0.0
    • 255.0.0.0

Designing Networks

Create a network which can have 200 devices connected to it

  • Solution
private network ranges
10.0.0.0 to 10.255.255.255
172.16.0.0 to 172.31.255.255
192.168.0.0 to 192.168.255.255

Subnet Masks
    255.255.255.0
    255.255.0.0
    255.0.0.0

SM => 255.255.255.0 => 1 (Variable) => 8 bits => 2^8 =>256
   => 255.255.0.0 => 2 octets => 16 bits =>2^16 => 65536
   => 255.0.0.0 => 3 Octects => 24 bits => 2^24 => 16777216

Size => 200


Possibilities
IP = 192.168.0.x
SM = 255.255.255.0

IP = 10.0.0.x
SM = 255.255.255.0

IP = 172.16.0.x
SM = 255.255.255.0

IP = 10.100.101.x
SM = 255.255.255.0

IP = 172.18.10.x
SM = 255.255.255.0

Create a network which can have 1000 devices connected to it

  • Solution
private network ranges
10.0.0.0 to 10.255.255.255
172.16.0.0 to 172.31.255.255
192.168.0.0 to 192.168.255.255

Subnet Masks
    255.255.255.0
    255.255.0.0
    255.0.0.0

SM => 255.255.255.0 => 1 (Variable) => 8 bits => 2^8 =>256
   => 255.255.0.0 => 2 octets => 16 bits =>2^16 => 65536
   => 255.0.0.0 => 3 Octects => 24 bits => 2^24 => 16777216

Size => 1000

Possibilites

IP: 192.168.x.x
SM = 255.255.0.0

IP: 10.10.x.x

IP: 172.16.x.x

Create a network which can have 100000 (1 lakh) devices connected to it

  • Solution
private network ranges
10.0.0.0 to 10.255.255.255
172.16.0.0 to 172.31.255.255
192.168.0.0 to 192.168.255.255

Subnet Masks
    255.255.255.0
    255.255.0.0
    255.0.0.0

SM => 255.255.255.0 => 1 (Variable) => 8 bits => 2^8 =>256
   => 255.255.0.0 => 2 octets => 16 bits =>2^16 => 65536
   => 255.0.0.0 => 3 Octects => 24 bits => 2^24 => 16777216

Size => 1,00,000

IP => 10.x.x.x
SM => 255.0.0.0

IP Addressing

  • There are two ways of IP Addressing
    • Classful Networking
    • Class less Networking: In this case subnet mask is viewed as binary
  • Then each subnet will have following possibilities
xxxxxxxx
11111111  => 255
11111110  => 254
11111100  => 252
11111000  => 248
11110000  => 240
11100000  => 224
11000000  => 192
10000000  => 128
  • Note: We will re-discuss the above topics tomorrow
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%%