BCSL 056
BCSL 056
Note: This assignment has two questions. Answer all the questions. These questions carry 40 marks.
Rest 10 marks are for viva voce. You may use illustrations and diagrams to enhance the
explanations. Please go through the guidelines regarding assignments given in the Programme
Guide for the format of presentation. Make necessary assumptions.
Q1
(a): Write and execute a TCP client and a server program in C-language to perform the following tasks:
(14 Marks)
The TCP client program sends two strings to the TCP server program to find length of these to strings and return the
sum of lenghts of these two strings. Also the TCP server program sends the concatenated strings to the client.
(b) Run the following Linux commands on your machine and show the output:
(6 Marks)
cat
sort
ping
more
df-h
tail - f
Q2.
(a) Configure and test the Telnet server in Linux. (6 Marks)
(b) Configure the DHCP server on the Linux operating system. Write all the steps involved in configuration. Sort
each column of the table and show the result. (14 Marks)
14