CN Lab
CN Lab
4. What is the maximum number of useable hosts with a Class C network address?
1. The first octet of all possible Class B IP addresses ranges from decimal 128 to 191, or in binary,
from 10000000 to 10111111.
2. In a Class C IP address, the last octet represents the network portion.
3. In a Class A IP address, the first octet represents the network portion, while the remaining
three octets represent the host portion.
4. A Class C network address can have a maximum of 254 usable hosts, considering that the first
address is reserved for the network identifier and the last address is reserved as the broadcast
address. Therefore, 254 (2^8 - 2) hosts can be assigned to devices within a Class C network.
5. There are 16384 (2^14) possible Class B networks.
6. Each Class B network can have a maximum of 65534 (2^16 - 2) usable hosts.
7. An IP address consists of 4 octets.
8. Each octet in an IP address is composed of 8 bits.
With the following IP host addresses, indicate the following: • Class of each address • Network
address or ID • Host portion • Broadcast address for this network 5 th Semester UET TAXILA • 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 Network Broadcast Address Default Subnet Mask 216.14.55.137 123.1.1.15
150.127.221.244 194.125.35.199 175.12.239.244
Host IP Address Class Network Address Host Address Network Broadcast Address Default Subnet Mask
Please note that the class of an IP address is determined based on the range of the first octet, as
specified in the original classful addressing scheme. The subnet masks are inferred based on the
class of the IP address. However, modern networking often uses variable length subnet masks
(VLSM) and CIDR (Classless Inter-Domain Routing), which allow for more flexible addressing and
subnetting.
For the following IP host addresses, determine which are valid for commercial networks and indicate
why or why not. Valid means it could be assigned to any device. IP Host Address Valid Address?
(Yes/No) Why or Why Not 150.100.255.255 175.100.255.18 195.234.253.0 100.0.0.23 188.258.221.176
224.156.217.73
IP Host Address Valid Address? (yes/no) Why or Why Not
150.100.255.255 No 255 is a broadcast address
In summary: