November / December 2024
Computer Networks
Anna University
2 question papers available. Select an examination session to view its question paper.
Computer Networks
Computer Networks
Based on available extracted papers. Question groups and frequency are provisional, not official syllabus weightage or examination predictions.
A 30 bytes long message is sent from one device to another, 2 2 L2 which is 1S m apart, through a link with bandwidth 10 bps. If the data travels through the link at a speed of 3 m/s, calculate the transmission delay and propagation delay.
0 eligible source papersHow long does it take a packet of length 1000 bytes to propagate 2 3 L I over a link of distance 2500km, propagation speed 2.5x108m/s, and transmission rate 2 Mbps?
0 eligible source papersA subnet has been assigned a subnet mask of 2SS.2SS.2SS.192. 2 S L3 What is the maximum number of hosts that can belong to this subnet?
0 eligible source papersWhat is the relationship between sequence number and window 2 3 L2 size in Selective Repeat Mechanism?
0 eligible source papersIn what scenarios is U D P preferred over T C P , and vice versa? 2 4 L2
0 eligible source papersHow does DHCP help in minimizing manual IP address 2 5 L2 configuration errors?
0 eligible source papersName three error-detection strategies employed by link layer. 2 6 L1
0 eligible source papersThe message 11001001 is to be transmitted using the C R C 2 4 L3 polynomial x^ + 1 to protect it from errors. What is the binary message that should be transmitted?
0 eligible source papersDetermine tlie maximum lengtli of tlie cable (in km) for 2 2 L3 transmitting data at a rate of 500 Mbps in an Ethernet LAN with frames of size 10,000 bits. Assume the signal speed in the cable to be 2,00,000 km/s.
0 eligible source papersHow are signal strength and transmission distance related to 2 6 L2 each other?
0 eligible source papersL3 face of increasing congestion (loss), while UDP sources need not, and it is possible for UDP sources to crowd out T C P traffic. Does it mean that T C P is fairer than UDP? Justify it. (4 marks) Design and describe an application-level protocol to be used 12 8 3 L4 between an automatic teller machine and a bank's centralized computer. Your protocol should allow a user's card and password to be verified, the account balance (which is maintained at the centralized computer) to be queried, and an account withdrawal to be made (that is, money disbursed to the user). Your protocol entities should be able to handle the all-too- common case in which there is not enough money in the account to cover the withdrawal. Specify your protocol by listing the messages exchanged and the action taken by the automatic teller machine or the bank's centralized computer on transmission and receipt of messages. Sketch the operation of your protocol for the case of a simple withdrawal with no errors, using a sequence diagram. Explicitly state the assumptions made by your protocol about the underiying end-to-end transport service. (a) Consider distributing a file of F bits to N peers using a Client- 13 3 L5 Server and P2P architecture. Analyze and specify the distribution time for both the architecture. (4 marks) 88 (b) A circuit in link is implemented with either frequency-division multiplexing (FDM) or time-division multiplexing (TDM). What 1 L2 is the difference between FDM and TDM links? (4 marks) How to achieve reliable data transfer over a channel that can # ( 4 L1 corrupt or lose packets.? Illustrate with the receiver side Finite State Machine. In the network of routers depicted in the figure given below, R I P 15 is used for routing. L3 The following sequence of events occur: • A, B, C, D and E construct initial routing table • A receives a triggered update from B • B receives a triggered update from E • C receives a triggered update from A • D receives a triggered update from C • E receives a triggered update from B Depict how the routing tables of the respective nodes change on occurrence of each event in the same order as mentioned above. Indicate clearly which node's (A/B/C/D/E) routing table is updated and how. Consider the following network. With the indicated link costs, use 16 Dijkstra's algorithm to compute the shortest path from x to all network nodes. Show how the algorithm works by computing a L4 table for the following figure. (a) Suppose that the links and routers in the network never fail 17 L5 and that routing paths used between all source/destination pairs remains constant. In this scenario, does a virtual circuit or datagram architecture have more control traffic overhead? Why? Explain in detail. (4 marks) (b) T C P congestion control is often referred to as an additive- increase, multiplicative-decrease form of congestion. Justify. L2 (4 marks) In a particular router, the following sequence of events occur:18 8 3 L4 • packet 1 with weight 4 arrives • packet 2 with weight 2 arrives • packet 3 with weight 4 arrives • a packet (say, A) is processed and forwarded by the router • packet 4 with weight 1 arrives • packet 5 with weight 1 arrives • packet 6 with weight 4 arrives • packet 7 with weight 4 arrives • packet 8 with weight 4 arrives • packet 9 with weight 2 arrives • a packet (say, B) is processed and forwarded by the router • packet 10 with weight 3 arrives No more packets arrive and the remaining packets are processed and forwarded. What is the packet number of A and B (mentioned above), and the order in which the remaining packets will be processed when each of FIFO queuing. Priority scheduling and Weighted Fair Queuing is used by the router? (a) Why are policy considerations as important for intra-AS19 2 L3 protocols, such as O S P F and RIP, as they are for an inter- Autonomous System routing protocol like B G P ? (4 marks) (b) Suppose four active nodes - nodes A, B, C and D are competing for access to a channel using slotted ALOHA. Assume each node has an infinite number of packets to send. Each node attempts to transmit in each slot with probability p. The first slot is numbered slot 1, the second slot is numbered slot 2, and so on. (4 marks) i. What is the probability that node A succeeds for the first 8 6 L4 time in slot 5? ii. What is the probability that some node (either A, B, C or D) succeeds in slot 4? iii. What is the probability that the first success occurs in slot 3? iv. What is the efficiency of this four-node system? (a) Detail and Discuss CSMA/CD algorithm and derive the 20 4 L2 efficiency for the same. (4 marks) (b) When a company wants to manufacture adapters, it 8 purchases a chunk of the address space consisting of 2^'' addresses for a nominal fee. I E E E allocates the chunk of 2^" addresses by fixing the first 24 bits of a MAC address. How 6 L5 many adapters can such a company manufacture? (4 marks) Compare and discuss at least with four performance metrics of 21 8 2 L2 the following wireless technologies with simple diagrams: Ad hoc Networks, Wireless LAN, Cellular Technologies, and LTE/5G. (a) Sketch the IPv4 datagram format and highlight their 22 functionalities. (4 marks) 8 4 L3, L4 (b) When NAT traversal problem occurs? Discuss at least three solutions to address the same. (4 marks)
0 eligible source papersC06 Explain media access and communication techniques BL - Bloom's Taxonomy Levels SI.No. PART-A MO x2 = 20 Marks^ Marks CO BL
0 eligible source papersIf there are 'n' layers in a network protocol stack, and each layer adds a header of 'h' bytes, 2 1 2 how many bytes are transmitted into the network? 2. What is the role of the local name server and the authoritative name server in DNS? 2 2 1 3. Why does UDP exist? Would it not have been enough to just let user processes send raw IP 2 2 2 packets? 4. Suppose TCP operates over 125MB/Sec link. Assume TCP could utilize the full BVv 2 3 4 continuously, how long would it take the sequence number to wrap around completely? 5. Is 196.16.144.99 / 23 - a host or a network or a broadcast address? 2 5 3 6. What will be the CIDR mask that you need to use to support 14 networks of 1000 nodes 2 5 3 each? 7. How do traditional computer networks differ from software-defined networks (SDNs) In terms 2 2 2 of control mechanisms? 8. Assuming a framing protocol that uses bit stuffing: 2 6 4 show the bit sequence transmitted over a link, when the frame contains the following bit sequence 1111011111010011111101011111110. Mark the stuffed bits. 9. How does NAT enable multiple devices to share a single public IP address? 2 5 2 10. What are the three guided media commonly used for data transmission? 2 6 1 PART-P(?x9 = ?4IVl9rK§) Marks CO BL 11. What are the roles of the network edge and core in data communication, and how does their 8 2 2 interaction impact performance in scenarios like real-time streaming or loT? 12. Trace the events that take place from the time you login to your account at gmail.com and 8 3 3 send a mail to xyz@annauniv.edu. User xyz retrieves his/her mail. Give full details of all the protocol steps involved at all levels of the network stack in this process. 13. Trace the TCP finite state machine transitions for two sites that execute a passive and an 8 1 2 active open and step through the three-way handshake. 14. Assume that one side transfers 256KB of data in packets of 16KB to the other side. If the 8 3 4 network is congested and every fifth packet is lost, show the sequence of packets that wil be transmitted. How long will it take for the transfer to complete? Use TCP slow start algorithm. 15. Consider sending a 3000-byte datagram with sequence number 199 that has arrived at a 8 1 3 router R1. It needs to be sent over a link that has an MTU size of 850 bytes to R2 and then over a link with an MTU of 400 bytes to reach the destination. Show how IP would fragment these packets at each router. 16. Device a subnet addressing scheme for our university if we are assigned only 1 IP address 8 5 3 zyxwvutsrq - 144.20. The following LANs are to be accommodated : Admin Network - 1 LANs of 500 systems Faculty Network - 1 LANs of 1000 systems Library Network - 1 LAN of 400 systems Others - 2 LAN of 250 systems each. Show the entries to be used at the routers I 17. Explain link-state routing protocol using the following sample network (for D node). 8 5 3 2 / ^ " X S 2 yzyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA/ N 2 zyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQPON ( M - ( A ) 4 © 6 4 18. Suppose we want to transmit a message 10110001111011 and protect it from errors using 8 6 4 the CRC polynomial x^ + x^ + x + 1. Determine the CRC bits to be added. If an error occurs in the left most bit, show that this CRC will help detect the error. 19. Explain the media access technique used in Ethernet. Why is this technique not suitable for 8 6 2 wireless networks? 20. Consider a stream of binary data consisting of the sequence 101000000001100001, Draw 8 6 3 the waveform for this sequence using Bipolar-AMI, B8ZS and HDB3. 21. What is the necessity for the ARP protocol with IPv4? How is it avoided in IPv6? 8 2 2 22. Consider an institutional LAN of IGbps with 100 machines connected to the intern ;t by 8 3 4 means of proxy server, where a web is located. List the sequence of steps carried out for any request originating from any machine. Suppose that each machine generates requests at the rate of 100 objects/sec. Let the average size of the object be lOkbytes. Assume an average RTT of 10ms from web cache to any arbitrary sen/er. If the cache has a hit rate ot 50%, what should be the average response time seen by any machine?
0 eligible source papersA company has deployed a web application hosted in a data center, which is accessed by 8 2 5 users worldwide. The users report the following issues: • Users in regions with low latency (e.g., within the same continent as the data centre) experience smooth and fast access. • Users in regions with high latency (e.g., across continents with undersea cable links) face delays and occasional timeouts while loading pages. • During periods of high traffic, users in high-latency regions report significant delays, and some connections drop without retrying in a timely manner. • Logs reveal that retransmissions are occurring frequently, but the retransmitted segments are often being sent too eariy or too late, failing to efficiently adjust t) varying network conditions. i. Identify the underlying issue with TCP's behavior in this scenario. ii. What mechanism can be applied to address this issue? iii. Describe how the mechanism works and why it solves the problem.
0 eligible source papersA multinational corporation operates a large-scale, distributed network infrastructure 8 3 6 spanning multiple regions across the globe. The network architecture is as follows: • The corporation owns three autonomous systems (AS): AS1: North America Operations AS2: Europe Operations ASS: Asia Operations • Each AS has its own set of internal routers connected via OSPF (Open Shortest Path First). • There are dedicated links between AS1-AS2, AS1-AS3, and AS2-AS3 for intercontinental communication. • The corporation plans to interconnect these ASs to: • Share routing information. " Ensure redundancy and fault tolerance in case one link between the ASs fails. • Maintain control over route advertisements for cost optimization and security. i. Identify why an interior gateway protocol (IGP) like OSPF is unsuitable for this architecture. ii. Which routing protocol is most appropriate for enabling communication between the ASs? iii. Explain the steps involved in setting up the chosen protocol, including: Configuring routers within each AS and Setting up inter-AS communication.
0 eligible source papersHistorical analysis based on extracted question papers. Topic classifications, marks and planning estimates are provisional.