Vous êtes sur la page 1sur 4

ANNA UNIVERSITY: CHENNAI-600 025

B.E/B.TECH PRACTICAL EXAMINATION


REGULATIONS 2008
SIXTH SEMESTER
CS2307-NETWORK LABORATORY
Time: 3 Hours Maximum Marks: 100
1. a. Write a daytime client program that connects to read a string from the server and
displays the string to the user. (50)

b. Develop a String reverse chat application using TCP socket programming. Server
acceptsstringsfromclients(evenmultiplestringsfromeachclient)andreplies
withreversestrings.Forexample,whenclientsendsVandeMataram,Server
replies with marataMedanV. Both server and client(s) have to output both
sending&receivingstringsontheterminal. (50)

2. a. Using TCP/IP sockets, write a client-server program to make client request for a file.
If the file is present it verifies the name of the file. If correct the server to sends the
contents of the requested file. If the file not present sends the message File not
present. (50)

b. Write a program to implement DNS server and client using UDP sockets. (50)

2. a. Develop a String reverse chat application using UDP socket programming. Server
acceptsstringsfromclients(evenmultiplestringsfromeachclient)andreplies
withreversestrings.Forexample,whenclientsendsVandeMataram,Server
replies with marataM ednaV. Both server and client(s) have to output both
sending&receivingstringsontheterminal. (50)
b.Develop a program to display the date and time of the server using TCP. (50)
www.Vidyarthiplus.com
www.Vidyarthiplus.com


3. a. Write a program to flood the server from a spoofed source address leading
to a DoS attack. (50)
b. Write a program to capture and to block the packets over the network using raw
sockets. (50)


4 .a. Write a program to implement factorial of a given number on a remote host and obtain
its value from a client. (50)

b. Write a program to implement RPC to perform String Lower case to Upper Case and vice
versa. (50)

5. Develop a program to implement simple calculator on a remote host and invoke operations
from a client. (100)

6. a. Write a program to implement Fibonacci sequence for a given number on a remote host and
obtain its value from a client. (50)

b. Develop a program to implement simple calculator on a remote host and invoke operations
from a client. (50)


7. a. Write a program to perform sliding window protocol using GO back n ARQ. (50)

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



www.Vidyarthiplus.com
www.Vidyarthiplus.com
8. a. Write a program to view the traffic characteristic performance of the Ethernet network
using OPNET. (50)
9.
b. Design and study the performance of Bus and Star topology using simulator. (50)

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

b. Analyze the performance of a Address Resolution Protocol when affected by link failures
using a simulator .(50)

11. a. Write a program to study the performance of TCP/UDP in internet game applications. (50)

b.Write a program for transferring a file using TCP. (50)


12. a.Write a program to study the performance of a TCP network with droptail queue mechanism
on the gateway. (50)

b. Write a program to capture and to block the packets over the network using raw sockets. (50)



13. a. Write a program to measure the performance (latency) of TCP and UDP sockets. Measure
the round-trip latency using UDP and TCP. Send and receive messages of various sizes in
Kilo bytes. Echo with messagea for each size. (100)


14. a.Write a program Implement to Echo Server using connectionless Socket System Calls.
(50)
b. Create a program connecting to a web server. (50)

www.Vidyarthiplus.com
www.Vidyarthiplus.com

15. Design and study the performance of traffic characteristics and link failures of all topologies
using simulator. (100)

16. a. Write a programs to allow exchange of multiple authentication messages. Inititially if the
server sends the username and password to a client. If the client echoes the message correctly,
the server send a WELCOME response back to the client. (100)


17. a. Write a program to simulate a link failure and to observe distance vector routing protocol
in action. (50)

b. Examine the performance of OPEN SHORTEST PATH FIRST (OSPF) routing protocol
using a simulator based on cost. (50)

18. Write a program to broadcast hello messages to the peers in a network. (100)


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

b. Write a program to capture and to block the packets over the network using raw
sockets.(50)


20. Examine the performance of various routing protocols considering link failures, explicit cost
assignment, new links added in order to analyze the significance of the routing
algorithm.(100)



20 .a. Write a program to implement a small network with five nodes(n0,n1,n2,n3,n4) forming a
ring topology.Simulate the transfer of packets from node n0 to n3 through n4 for 10
seconds. (50)

b. Design any two topology and study the performance in terms of traffic patterns
using simulator. (50)

www.Vidyarthiplus.com
www.Vidyarthiplus.com

Vous aimerez peut-être aussi