Muhammad Fawad
Muhammad Fawad
Muhammad Fawad
Assignment # 01
To Find:
1. Total end-to-end delay.
2. Average end-to-end throughput.
Solution:
𝐿𝑖𝑛𝑘 1 2000
Propagation Delay(P1), (Sender to Switch) = 𝑃𝑟𝑜𝑝𝑎𝑔𝑎𝑡𝑖𝑜𝑛 𝑠𝑝𝑒𝑒𝑑 = 2∗108 = 0.00001𝑠
𝐿𝑖𝑛𝑘 2 5000
Propagation Delay(P2), (Switch to Receiver) = 𝑃𝑟𝑜𝑝𝑎𝑔𝑎𝑡𝑖𝑜𝑛 𝑠𝑝𝑒𝑒𝑑 = 2∗108 = 0.00005𝑠
Total delay = T1 + T2 + P1 + P2 + S1
112553.06
= 112553.06 𝑏𝑦𝑒𝑠/ sec = 106
= 0.9005 𝑀𝑏𝑝𝑠
Find:
Time delay.
Solution:
It will take almost 20 days to transfer this file over a network. Therefore, we will use the one-
day parcel delivery option as it is much faster.
Q3) Why are all the layers of TCP/IP protocol suite not present on the intermediate nodes such as
routers and switches? Support your answer with logical reasoning.
Answer
Routers and switches handle packet forwarding and routing, focusing on physical and data link layer
operations. They facilitate communication within and between networks by forwarding data based on
MAC and IP addresses. They do not implement protocols such as TCP or UDP, which manage functions
like flow and error control. Instead, these functions are handled by end devices like computers and
servers. Routers are responsible for making forwarding decisions based on destination IP addresses and
maintaining routing tables. Switches operate at the data link layer, forwarding packets based on MAC
addresses within a single network segment. This it the reason these devices do not have all the layers
of TCP/ IP model.
Q4) As a student, you have used the Internet services on campus at park Road. Identify edge and access
components/parts in Park Road network, as well as the access technologies being used. I will apricated
to you if you answer this question with suitable diagram.
Answer:
Edge/access components:
• Computer
• Laptop
• Mobile
• Printers
• Scanner
• Cameras
• Routers & Switch
• Firewalls
Access technology
• Ethernet
• Wi-fi
Diagram
Q5) Use traceroute command for any destination of your choice and give the screenshot of the response
to your command. Also, give the values for delays for the first and second router along the path.
Answer
Q6) Consider an application that transmits data at a steady rate (for example, the sender generates an
N-bit unit of data every k time units, where k is small and fixed). Also, when such an application starts,
it will continue running for a relatively long period of time. Answer the following questions. Briefly
justifying your answer:
a) Would a packet-switched network or a circuit-switched network be more appropriate for this
application? Why?
Answer
The Circuit-switched network will work better the packet-switched network because it offers a
dedicated path for steady data transmission without interruptions, making it more reliable for long-term
usage compared to a packet-switched network.
b) Suppose that a packet-switched network is used and the only traffic in this network comes from such
applications as described above. Furthermore, assume that the sum of the application data rates are less
than the capacities of each link. Is some form of congestion control needed? Why?
Answer
Yes, congestion control is still needed in a packet-switched network, even if the application data rates
are below the capacities of the links. It helps prevent issues like packet loss, that can occur due to traffic
or network problems. Congestion control ensure smooth and reliable data transmission.