Sunteți pe pagina 1din 4

ANNAUNIVERSITY:CHENNAI600025

B.E/B.TECHDEGREEEXAMINATIONS,APRIL/MAY2014

Regulations2008

SixthSemester

(B.TechInformationTechnology)

CS2307NetworkLab

Time:3Hours MaximumMarks:100

1.a)Write a TCP chat program for Client/Server Application to support multiple chats, each chat will be
assigned with 200 seconds of expiry time, and each chat will receive a acknowledgement number either 0
or 1 if messages are received from client to server and server to client, develop a program using
multithreading. (60)

b) Design and study the performance of BUS and RING topology using simulator. (40)

2. a)Write a UDP chat program for Client/Server Application to support multiple chats, each chat will be
assigned with 200seconds of expiry time, and each chat will receive a acknowledgement number either 0
or 1 if messages are received from client to server and server to client, develop a program using
multithreading (60)

b) Design and study the performance of STAR and RING topology using simulator. (40)


3. Write a TCP/IP program to examine the throughput performance of sliding window with variable
packet sizes, error rates and Round Trip Times. (100)


4. a) Write a simple TCP/IP file server. The client sends the request with file number and file name. The
server replies the client by sending files and responds with a message, either "ok" or "error". If the
message is "ok", it is followed by the contents of the file with the specified Name, Date and Time of the
File to send. The "error" message indicates that the specified file does not exist on the server. (60)

b) Use simulator to examine the performance of DISTANCE VECTOR ROUTING. (40)

www.Vidyarthiplus.com
www.Vidyarthiplus.com
5. a) Write a simple UDP file server. The client sends the request with file number and file name, The
server replies the client by sending the files and the responds with a message, either "ok" or "error". If the
message is "ok", it is followed by the contents of the file with the specified Name. The "error" message
indicates that the specified file does not exist on the server. (60)

b) Use simulator to examine the performance of OPEN SHORTEST PATH FIRST (OSPF)
routing protocol based on cost. (40)


6. a) Write a TCP/IP Client/Server program to simulate Three way Hand shaking protocol. (60)

b) Use simulator to examine the performance of Border Gateway Protocol (BGP) Routing. (40)


7. a) Write a UDP program to multicast messages to more than one other machine at the same time. (50)

b) Use simulator to analyze the performance of Routing Information Protocol (RIP), a routing protocol
and observe how RIP is affected by link failures. (50)


8. a) Implement a hybrid topology, network with five nodes (n0, n1, n2, n3, n4) forming a star topology
with n4 as centre. Network with five nodes (C0, C1, C2, C3, C4). The node C4 transfer the data from one
network to another, simulate the transfer of packets from one topology to another. (50)

b) Configure and analyze the performance of the Open Shortest Path First (OSPF) routing protocol. (50)


9. a) Implement token ring network and examine the performance using simulator. (50)

b) Write a program to print the client IP address at the server end. (50)


10. a) Write a program for the simulation of Domain Name System. (50)

b) Implement RPC to support arithmetic Operations. (ADD, MUL, DIV, REM). (50)


11. a) Implement RPC to support String conversion like aPpLe to ApPlE. (50)

b) Design MESH, RING topology and study the performance in terms of traffic patterns
using simulator. (50)



www.Vidyarthiplus.com
www.Vidyarthiplus.com
12) Write a Client/server program to capture and to block the packets over the network using
raw sockets. (100)


13. a) Write a TCP/IP program for transferring a file. (50)


b) Examine the bit error rate and throughput in sliding window protocol. (50)


14. a) Write a program to implement multiclient-server chat program using TCP. (50)


b) Design a RPC application to reverse a given string. (50)



15. a) Write a program to get the MAC or Physical address of the system using Address
Resolution Protocol. (50)


b) Implement the Queuing Discipline mechanism using Simulator. (50)

16. a) Implement RPC for a factorial on a remote host and obtain its value from a client. (50)


b) Study the performance of TCP /IP using a simulator. (50)



17. a) Write a program using a TCP sockets to echo the given message from client and server. (60)


b) Study the performance of UDP using a simulator. (40)



18. a) Write a program to implement TRACE ROUTE protocol. (50)


b) Write a program to download a WEB page. (50)





www.Vidyarthiplus.com
www.Vidyarthiplus.com
19. a) Write a program to implement a packet Sniffer. (50)


b) Write a program to transfer a file from Server to client. (50)


20. a) Write a program to implement CRC computation. (50)

b) Write a program to implement a Day Time server. (50)
www.Vidyarthiplus.com
www.Vidyarthiplus.com

S-ar putea să vă placă și