Professional Documents
Culture Documents
[4Marks]
DHCP Discover: The client sends a broadcast message (DHCP Discover) on the
network in search of a DHCP server.
DHCP Offer: Any DHCP servers on the network respond to the broadcast by
offering an IP address to the client. This message also includes other network
configuration details like subnet mask, default gateway, and DNS server details.
DHCP Request: The client receives the offer(s) and selects one. It then sends a
DHCP Request message back to the server indicating that it accepts the offer.
DHCP Acknowledgement (ACK): The DHCP server sends a DHCP ACK message to
the client, acknowledging that the IP address has been officially leased to the client
for a specific amount of time.
IP Lease: The client can now use the IP address and other network configuration
details to communicate on the network. The lease lasts for a specific period, after
which the client must renew the lease or obtain a new one.
QUESTION TWO (15 Marks)
a) Distinguish between layer 2 and layer 3 devices. [5 Marks]
Layer 2 Devices:
Layer 3 Devices:
b) Outline and explain each of the layers in the TCP/IP model [10 Marks]
Application Layer: This is the highest level of the TCP/IP model. It interacts with software
applications to implement a communicating component.
Transport Layer: This layer is designed to give the source and destination the ability to
have end-to-end conversation. In the TCP/IP model, there are two defined protocols that
can operate in this layer; TCP and UDP.
Internet Layer: This layer is responsible for the packaging and transfer of data between
different networks.
Network Interface Layer: This layer is concerned with the packaging and transfer of data
within a network.
Physical Layer: This layer is responsible for the physical connection between the devices. It
includes the hardware such as the cables and switches.
b) Subnet the IP address 192.168.10.0/24 to come up with an address scheme that can support at
least 60 users. (Show your working process)
[10Marks]
i. Determine the new subnet mask that will apply for the networks.
A /24 network has 256 addresses, but we need to support at least 60 users. The closest power of 2
that is greater than 60 is 64 (2^6). So, we need 6 bits for hosts. This leaves us with 32-6=26 bits for the
network. Therefore, the new subnet mask is /26 or 255.255.255.192.
Each /26 subnet has 2^(32-26) = 64 addresses. However, we cannot use the 昀椀rst address (network
address) and the last address (broadcast address) in each subnet. So, the number of usable IPs in each
subnet is 64-2 = 62.
So, the address scheme that can support at least 60 users is 192.168.10.0/26, with 4 subnets and 62
usable IPs in each subnet. The four subnets are: 192.168.10.0/26, 192.168.10.64/26,
192.168.10.128/26, and 192.168.10.192/26.