data communication
data communication
SCHOOL OF INFORMATICS
NAME:MERSIMOY BEKELE
ID:UGR/70075/14
SUBMISSION DATE;MARCH,30,2025
SUMITTED TO ;INSTRUCTOR MELAKU
Q1.Three-way handshake method used in TCP/IP networks establishment?
TCP uses a three-way handshake to establish a reliable connection. The connection is full
duplex, and both sides synchronize (SYN) and acknowledge (ACK) each other. The exchange of
these four flags is performed in three steps: SYN, SYN-ACK, ACK.
Step 1 (SYN)- the client transmits a segment with SYN (Synchronize Sequence Number),
which notifies the server that the client is likely to start communication and with what
sequence number it starts segments with, in order to establish a connection with the server.
Step 2 (SYN + ACK)- SYN-ACK signal bits are set in the server’s response to the client’s
request. SYN stands for the sequence number it is likely to start the segments with, and ACK
stands for the response of the segment it received.
Step 3 (ACK)- The client acknowledges the server’s response in the last step, and they both
establish a secure connection to begin the data transmission.
The last step is to convert the subnet mask from binary to decimal. In our example, the
subnet mask in binary is 11111111.11111111.11111111.00000000, which is equal to
255.255.255.0 in decimal.
Q4.Learning about Classless Inter-Domain Routing and how to use CIDR notation?
A CIDR block is a range of IP addresses that share the same prefix. For instance, the
block 192.168.1.0/24 includes all IP addresses from 192.168.1.0 to 192.168.1.255. The size
of a CIDR block is always a power of two, based on the number of host bits remaining after
the network prefix.
Advantages of CIDR
Efficient IP Address Utilization: CIDR reduces the wastage of IP addresses by allowing blocks
to be allocated based on actual need rather than fixed class sizes.
Improved Routing: By aggregating routes, CIDR can reduce the size of routing tables, making
the routing process more efficient.
Flexibility: CIDR provides the flexibility to allocate IP address blocks of varying sizes, which is
particularly useful for organizations with diverse and complex network requirements.
Compatibility: Some older network equipment may not support CIDR, which could pose
challenges during network upgrades or transitions.
Security: CIDR may complicate the implementation of security measures like firewalls and
access control lists, potentially increasing security risks.
Q5.Let’s we have CIDR 192.168.1.0/28
a. Identify the network and host portion
b. Subnet mask
c. Number of hosts and usable address?
Network portion: The /28 means the first 28 bits of the IP address are used for the
network. So, the network portion is the first 28 bits of 192.168.1.0.
Host portion: The remaining bits, which are 4 bits (32 - 28 = 4), are used for hosts.
b. Subnet Mask
To summarize:
Network portion: 192.168.1.0