Answer all the questions.
Question1) Draw an IP datagram header format. “IP datagram has the checksum field still it’s called unreliable protocol.” Justify.
Question2) Write the client and server program in C language using UDP, where client program interact with Server as given below:
i) Client begins by sending a request to send a string of 8 characters or series of 7 numbers, server sends back a characters or numbers as per the request of the client.
ii) In case of series of 7 numbers: Client sends the multiplication of numbers, to the server.
iii) In case of the string of 8 characters: Client sends the reverse order of string to the server..
iv) Server would send the acknowledgment to client after receiving correct answer.
Question3) Explain “internetwork”? State and compare internetworking devices used to connect various LAN segments.
Question4) Compare flow control and congestion control. Explain why a choke packet is used?
Question5) Why will the application use UDP instead of TCP? Also, describe how could TCP handle urgent data?
Question6) Why do LANs tend to use broadcast networks? Why not use networks consisting of multiplexers and switches.
Question7) Write short notes on the following:
(i) ICMP.
(ii) IP Encapsulation
(iii) Sockets.
(iv) SNMP.