Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 1) (20 points) a) Suppose you design an application for exchanging patient files between hospitals and doctors, what kind of application layer paradigm (Client-Server
Question 1) (20 points) a) Suppose you design an application for exchanging patient files between hospitals and doctors, what kind of application layer paradigm (Client-Server or P2P) you prefer to use? And what transport layer protocol (UDP or TCP) do you prefer to use? Please briefly elaborate b) Suppose you design an application to monitor voltage levels at the transformers in the electrical grid with smart sensors. In this network application, what kind of application layer paradigm (Client-Server or P2P) and what transport layer protocol (UDP or TCP) do you prefer to use? Please briefly elaborate Question 2) (15 Points) Figure 1 illustrates a network consists of three LAN segments (LANI, LAN 2, and LAN3). The LAN segments are connected with DEVICE 1 and DEVICE 2. Host_A is communicating with HOST_B. Port 1: MAC_DVC1_1 IP_DVC1_1 Port 2: MAC_DVC1_2 IP_DVC1_2 Port 1: MAC_DVC2_1 IP DVC2_1 Port 2: MAC_DVC2_2 IP DVC2_2 LAN 1 LAN 2 LAN 3 Host A DEVICE_1 DEVICE_2 Host B Mac Address: MAC A IP Address: IP_A Mac Address: MAC_B IP Address: IP_B SRC_MAC DST_MAC SRC_IP DST_IP DATA Packet Figure 1 (Figure for Question 2) a) If the devices labeled as DEVICE_1 and DEVICE 2 are Routers, please write what are the source and destination MAC addresses, and source and destination IP addresses of the packet while it is traversing through LANI, LAN2 and LAN 3? b) If you replace DEVICE 1 and DEVICE_2 with Bridge (Bridges does not have IP addresses), please write what are the source and destination MAC addresses, and source and destination addresses of the packet while it is traversing through LANI, LAN2 and LAN 3? Question 3) (15 points) A host has a routing table as given below. Assume the host forwards packet to the appropriate Next Hop based on the longest prefix match. Subnet ID Subnet Mask Next Hop 128.96.170.0 255.255.254.0 Interface 0 128.96.168.0 255.255.254.0 Interface 1 128.96.166.0 255.255.254.0 Router A 128.96.164.0 255.255.252.0 Router B Default Route A Please identify how a packet addressed to each of the following destinations is forwarded: i) 128.96.171.92, ii) 128.96.167.151,111) 128.96.163.151, iv) 128.96.169.192, v) 128.96.165.121 Question 4) (25 Points) In a TCP stream there are 120 segments with each segment is 200 Bytes The maximum transmission rate of the end to end system is measured 160 Kilo bit per second. End to end round trip delay is estimated as 70 milliseconds. a) If TCP is employed with static window size of 4 segments, what would be latency of transferring 120 segments? b) If TCP is employed with dynamic window size scheme with slow start mechanism, where maximum window size is 16 segments, and the window size grows exponentially until 8 segments, then grows linearly? c) What would be the throughput of TCP schemes in Parts A and B? d) Suppose every time the window size reaches 10, there is a problem with network, and TCP initiates slow start mechanism which forces window size to drop to 1, then the window size grows as explained in Part B, what would be the latency and throughput in this scenario? Question 5) (25) There are 8 packets on the sender side, please show how the follow control protocols work with a scenarios, where packets 3 and 6 are lost, and acknowledgment 2 has an error during the first transmission attempts. Please identify and label duplications, timeouts and retransmission in your diagram. Assume timeout is sufficiently long to receive ACK. You need to use timeline diagrams. a) Please show how Stop-N-Wait operates under above scenario? b) Please show how Go-Back-N operates with window size of 3 works under above scenario? c) Please show how Selective-Repeat (Reject) operates with window size of 3 under above I scenario
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started