CS8581 - Network Lab - Questions
CS8581 - Network Lab - Questions
Fifth Semester
(Regulations2017)
15 65 10 10 100
1. Write a simple HTTP web client program using TCP sockets to download a web page. Get the
URL and pass it for buffering the content and write it as a html file and make it to get downloaded.
2. Write a program to implement echo client and echo server using TCP sockets.This client/server
pair runs a simple TCP socket program as an Echo Server that allows one/more client to connect
to the server.
3. Write a Program to implement inter process communication(chat) using stream sockets with the
help of socket interfaces provided TCP sockets.
4. Write a file server program using TCP sockets. The server sends a reply to the user with the files.
The user specified file needs to be downloaded. If the file does not exist, error message needs to
be displayed from the server.
5. Write a program to implement the DNS using UDP sockets. The DNS should have different
domains with corresponding IP addresses. Resolve the user given domain with the IP and display
it to the user. Also indicate the error message to the user when domain is not resolved.
Page 2 of 2
7. Write a program to implement distance vector routing algorithm and illustrate path taken for
sending the packets from source to destination.
8. Write a program to implement Link state routing algorithm and illustrate path taken for sending
the packets from source to destination.
10. Write the use of the following network commands and simulate it to show its output with PDUs.
• tcpdump
• netstat
• ifconfig
• nslookup
• traceroute
11. Write any one congestion control mechanisms and simulate the functionalities using network
simulator.
12. Write the illustration of any two routing protocols with network nodes/hop from a sender to
receiver with at least four or five computing nodes and simulate it in the packet tracer tool with
the observed performance evaluations for sending packets using those two protocols from sender
to receiver.
13. Write the study of TCP/UDP performance and show it using anyone simulation tool.
14. Write the performance evaluation of any two routing protocols using any simulation tool.