0% found this document useful (0 votes)
1 views4 pages

CCN Lab 5 Tasks

The document outlines tasks for a Computer Networks lab, including questions about IP address classes and their characteristics. It provides detailed answers regarding Class A, B, and C IP addresses, including their network and host portions, maximum usable hosts, and subnet masks. Additionally, it includes a specific example of an IP address analysis with its binary equivalent and validity check.

Uploaded by

z2hhs72v5x
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views4 pages

CCN Lab 5 Tasks

The document outlines tasks for a Computer Networks lab, including questions about IP address classes and their characteristics. It provides detailed answers regarding Class A, B, and C IP addresses, including their network and host portions, maximum usable hosts, and subnet masks. Additionally, it includes a specific example of an IP address analysis with its binary equivalent and validity check.

Uploaded by

z2hhs72v5x
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Faculty of Computing

[Computer Communications & Network]


Lab No 5 Tasks
Lab#6
Bachelors of Computer Science – 6th Semester
Subject: COMPUTER NETWORKS

Submitted to: Ms. Fareeha


Submitted by: Ayiza Waqar
Sap id : 44529
Date of Submission: 3/14/2025

Task 1: Use the IP address chart and your knowledge of IP address classes to answer the following
questions:
1. What is the decimal and binary range of the first octet of all possible Class B IP addresses?

 Decimal: From: 128 To: 191

 Binary: From: 10000000 To: 00111111

2. Which octet(s) represent the network portion of a Class C IP address?


First three octets represent the network portion.

3. Which octet(s) represent the host portion of a Class A IP address?

Last three octets represent the host portion.

4. What is the maximum number of useable hosts with a Class C network address?

2⁸ - 2 = 254 usable hosts.

5. How many Class B networks are there?

2¹⁴ = 16,384 networks

6. How many hosts can each Class B network have? 2¹⁶ - 2 = 65,534 hosts.

7. How many octets are there in an IP address? How many bits per octet?
• 4 octets in an IP address.
• 8 bits per octet.

Task 2: Determine the host and network portions of the IP address


With the following IP host addresses, indicate the following:
 Class of each address
 Network address or ID
 Host portion
 Default subnet mask
The host portion will be all zeros for the network ID. Enter just the octets that make up the host. The
host portion will be all ones for a broadcast. The network portion of the address will be all ones for
the subnet mask. Fill in the following table:

Host IP Address Address Class Network Address Host Address Default Subnet Mask

216.14.55.137 CLASS C 216.14.55.0 0.0.0.137 255.255.255.0


123.1.1.15 CLASS A 123.0.0.0 0.1.1.15 255.0.0.0
150.127.221.244 CLASS B 150.127.0.0 0.0.221.244 255.255.0.0
194.125.35.199 CLASS C 194.125.35.0 0.0.0.199 255.255.255.0
175.12.239.244 CLASS B 175.12.0.0 0.0.239.244 255.255.0.0

Task 3: Given an IP address of 142.226.0.15, answer the following questions:


 What is the binary equivalent of the second octet? 226 in binary: 11100010

What is the class of the address? Class B (First octet is 142, which falls in the 128-191 range)

What is the network address of this IPaddress? 142.226.0.0

Is this a valid IP host address Yes, because it is not a network address (where the host portion is all
(Y/N)? Why or why not? 0s) or a broadcast address (where the host portion is all 1s). __

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy