Theory Question Paper

Practical Question Paper

Sample paper 1

1.

a. Implement a linux server system with an ip address 192.168.0.45 and update the hostname as ServerXX (XX stands for rollno)

b. Implement a linux client system with an ip address 192.168.0.24 and update the hostname as ClientXX (XX stands for rollno)

c. Restart the basic services essential for any network configurations.

d. Add a normal user and login using any of the terminal and resume back to the GNOME terminal

e. Create a folder with your name and give full access rights to that folder in server

f. Create a folder with another name and give only read, write access to that folder in client.

20

2.

With the above given addresses mount and unmount the folders that are created in Q.1 from server to the client.

20

3.

Viva

5

4.

Journal

5

Sample paper 2

1.

Configure the DHCP server by matching the following conditions:

a. Subnet and Netmask should be 192.168.0.0 and 255.255.255.0

b. Gateway Should be 192.168.0.254

c. DNS Server Should be 192.168.0.254

d. Domain Name should be example.com

e. Range from 192.168.0.10 to 192.168.0.50

f. Implement for both linux client and windows client

20

2.

Do the following changes in Grub file

a. Write the path where the grub file is located.

b. Change the timeout and title of the system

10

3.

Change normal user to root user using commands.

10

4.

Viva

5

5.

Journal

5

Sample paper 3

1.

Install configure squid server with IP address 192.168.1.240 with different access control lists and block www.facebook.com for the client with IP address 192.168.1.220

20

2.

Configure a Linux server with IP address 192.168.0.243 and transfer files to a windows client 192.168.0.152.

10

3.

Change a normal user to root user through commands.

10

4.

Viva

5

5.

Journal

5

1.

Configure a Samba on Linux server and transfer files to a windows client.

20

2.

As a normal user, using SUDO, create another user ‘abc’.

10

3.

Write a C/C++ program to display the prime numbers in the range n1 and n2.

10

4.

Viva

5

5.

Journal

5

Sample paper 4

1.

Configure a Linux server system to assign IP addresses dynamically to the client system.

20

2.

As a normal user, using SUDO, create another user ‘lmn’.

10

3.

Write a C/C++ program to find greatest and smallest of n numbers and display the numbers in ascending order.

10

4.

Viva

5

5.

Journal

5

Sample paper 5

1.

Configure a DNS Server with a domain name of your choice.

20

2.

Write a TCP Client Server program to display the length of a string.

20

3.

Viva

5

4.

Journal

5

Sample paper 6

1.

Configure FTP on Linux Server. Transfer files to demonstrate the working of the same.

20

2.

Write a TCP Client Server program to display the average of n numbers.

20

3.

Viva

5

4.

Journal

5

Sample paper 7

1.

Configure Apache web server to support CGI. Develop the CGI page in PERL to demonstrate the same.

20

2.

As a normal user, using SUDO, create another user ‘stu’.

10

3.

Write a ‘C’ program to display first n elements of Fibonacci series.

10

4.

Viva

5

5.

Journal

5

Sample paper 8

1.

Configure Apache web server to support PHP. Develop the PHP page to demonstrate the same.

20

2.

Write a TCP Client Server program to reverse a given number.

20

3.

Viva

5

4.

Journal

5

Sample paper 9

1.

Configure Apache web server to support SSI (Server Side Includes). Develop the SSI page to demonstrate the same.

20

2.

As a normal user, using SUDO, create another user ‘pqr’.

10

3.

Write a ‘C’ program to display numbers divisible by 5 and 13 in the range n1 and n2.

10

4.

Viva

5

5.

Journal

5

Sample paper 10

1.

Install and configure Postfix mail server. Demonstrate the working of the same.

20

2.

Write a TCP Client Server program to concatenate two strings.

20

3.

Viva

5

4.

Journal

5

Sample paper 11

1.

Create a firewall rule to reject all incoming ssh requests.

20

2.

Change a normal user to root user through commands.

10

3.

Apply the immutable attribute for file ‘linux’ in the home directory of root.

10

4.

Viva

5

5.

Journal

5

Sample paper 12

1.

Setup NTP on Linux Server and let the clients synchronize time with this NTP server.

20

2.

As a normal user, using SUDO, create another user ‘xyz’.

10

3.

Write a C/C++ program to check if the number is palindrome or not.

10

4.

Viva

5

5.

Journal

5

Sample paper 13

1.

Configure the FTP Server to enable guest login.

20

2.

Create user ‘ty’ and change the password ageing policies for the user

10

3.

Apply the immutable attribute for file ‘linux’ in the home directory of root.

10

4.

Viva

5

5.

Journal

5

Sample paper 14

1.

Uninstall the ‘gpm’ service and install the same again using RPM.

20

2.

Create a primary partition of size 500 MB and mount in onto directory /data.

10

3.

Create multiple users ‘abc’, ‘xyz’ and ‘pqr’ simultaneously using newusers commands.

10

4.

Viva

5

5.

Journal

5

Sample paper 15

1

a. Implement a linux server system with an ip address 192.168.0.45 and update the hostname as ServerXX (XX stands for rollno)

b. Implement a linux client system with an ip address 192.168.0.24 and update the hostname as ClientXX(XX stands for rollno)

c. Restart the basic services essential for any network configurations.

d. Add a normal user and login using any of the server terminal and resume back to the GNOME terminal

e. Create a folder with your name and give full access rights to that folder in server

f. Create a folder with another name and give only read and write access to that folder in client

Note : d, e and f must be done using Linux commands

20

2

With the above given addresses export the folders created in Q.1 from the Server and mount and unmount the folders in the client and also mount the folder permanently

20

3

Viva

5

4

Journal

5

Sample paper 16

1.

Uninstall the ‘gpm’ service and install the same again using RPM.

20

2.

Create user ‘ty’ and change the password ageing policies for the user

10

3.

Apply the immutable attribute for file ‘linux’ in the home directory of root.

10

4.

Viva

5

5.

Journal

5

Sample paper 17

1

Configure the DHCP server by matching the following conditions

Subnet and Netmask should be 192.168.0.0 and 255.255.255.0

Gateway Should be 192.168.1.254

DNS Server Should be 192.168.1.254

Domain Name should be university.com

Range from 192.168.1.10-192.168.1.50

Implement for both linux client and windows client

20

2

Create a mortal user and give the user root privileges.

Elaborate on the difference between su command and sudo command practically.

20

3

Viva

5

4

Journal

5

Sample paper 18

1

Configure your linux system as a squid server with IP address 192.168.2.240 with different access control lists and blockwww.gmail.com for the client with IP address 192.168.2.220

30

2

Write a C/C++ program to find whether the given number is palindrome or not.

10

3

Viva

5

4

Journal

5

Sample paper 19

1

Configure a linux server with IP address 192.168.0.243 and transfer files to a windows client 192.168.0.152

20

2

Write a Java Program to calculate the length of a string and reverse the string.

20

3

Viva

5

4

Journal

5

Sample paper 20

1

The System is being used for Network File Sharing. Make automatically start the nfs and Portmap service to be on at boot time .

Share /tybsc directory using NFS to 192.168.0.0/24 members by giving them read, write access

20

2

Configure Apache web server to support PHP. Develop the PHP page to demonstrate the same.

20

3

Viva

5

4

Journal

5

Sample paper 21

1

Configure Apache web server to support CGI. Develop the CGI page in PERL to demonstrate the same

20

2

Write a C/C++ program to display first n elements of Fibonacci series

10

3

Grant a normal user the privileges as a root user

10

4

Viva

5

5

Journal

5

Sample paper 22

1

Configure Apache web server to support SSI. Develop the SSI page to demonstrate the same.

20

2

Write a C/C++ program to display first n elements of Prime series

10

3

Do the following changes in Grub file

a) Write the path where the grub file is located.

b) Change the timeout and title of the system

10

4

Viva

5

5

Journal

5

Sample paper 23

1

With an IP address of 192.168.0.254 for Linux server and 192.168.0.1 for a linux client and 192.168.0.2 for a windows client, Configure FTP Server.

20

2

Configure a Linux server system to assign IP addresses dynamically to the client system.

20

3

Viva

5

4

Journal

5

Start over > Network Security paper

Comment down below if you have any questions and don’t forget share among your classmates.