IP Addressing: Understanding Network Classes and Subnetting - Prof. Nnguyễn, Exercises of Computer Science

An overview of IP addressing, focusing on the different classes (A, B, C) and their corresponding network and host bits. It also covers subnetting, including the calculation of network addresses, subnet masks, and total IP addresses. Useful for students and professionals in computer science and networking.

Typology: Exercises

2020/2021

Uploaded on 06/09/2022

huybui
huybui 🇻🇳

37 documents

1 / 8

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
2^7 2^6
1 0
128 0
1 1
10.0.0.1
200.0.0.1
172.16.0.1
192.168.1.1
First Octet 1-127 ClassA A.0.0.0
128-191 Class B A.B.0.0
192-223 Class C A.B.C.0
IP Class Network bits Host bits
10.2.2.1 A 8 24
128.0.2.34 B 16 16
192.167.9.3 C 24 8
24.8.9.134 A 8 24
233.3.4.5 D
199.0.0.199 C24 8
33.56.89.10 A824
172.16.88.99 B16 16
pf3
pf4
pf5
pf8

Partial preview of the text

Download IP Addressing: Understanding Network Classes and Subnetting - Prof. Nnguyễn and more Exercises Computer Science in PDF only on Docsity!

2^7 2^

First Octet 1-127 ClassA A.0.0. 128-191 Class B A.B.0. 192-223 Class C A.B.C. IP Class Network bits Host bits 10.2.2.1 A 8 24 128.0.2.34 B 16 16 192.167.9.3 C 24 8 24.8.9.134 A 8 24 233.3.4.5 D 199.0.0.199 C 24 8 33.56.89.10 A 8 24 172.16.88.99 B 16 16

CLASS B

A B 0 0

Class Network bits Host bits Network address Subnetmask 10.2.2.2 A 10.2.2.2 C 10.2.2.2 B

2^3 2^2 2^1 2^

Network address Broadcast AdSubnetmask Total Ips First IP Final IP 10.0.0.0 10.255.255.2 255.0.0.0 16777214 10.0.0.1 10.255.255. 128.0.0.0 128.0.255.25 255.255.0.0 65534 128.0.0.1 128.0.255. 192.167.9.0 192.167.9.25 255.255.255.0 254 192.167.9.1 192.167.9. 24.0.0.0 24.255.255.2 255.0.0.0 16777214 24.0.0.1 24.255.255. 199.0.0.0 199.0.0.255 255.255.255.0 254 199.0.0.1 199.0.0. 33.0.0.0 33.255.255. 255.0.0.0 16777214 33.0.0.1 33.255.255. 172.16.0.0 172.16.255. 255.255.0.0 65534 172.16.0.1 172.16.255. NETWORK NETWORK NetwoRK HOST

Example SubnetmaskNetwork bits Host bits Network Address 19.19.9.9 1-127 255.0.0.0 8 24 176.8.9.2 128-191 255.255.0.0 16 16 176.8.0. 200.200.2.2 192-223 255.255.255 24 8 200.200.2. 225.255.255.255 224- SUBNET INTO MANY NETWORKS OF CLASS C 172 16 2 1 A B C 0 255 255 255 0 172 16 0 0 172 16 1 0 172 16 2 0 172 16 3 0 … …. … … 172 16 254 0 Broadcast address First host Final Host

network address First IP Final IP broadcast address Broadcast address No of Total IpFirst IP Final IP 16777214 19.0.0.1 19.255.255. 172.8.255.255 65534 176.8.0.1 172.8.255. 200.200.2.255 254 200.200.2.1 200.200.2.