Sie sind auf Seite 1von 3

Group A (Multiple Choice Questions) 1.

Chose most suitable option: i) you can use PREROUTING chain for: a) SNAT b) DNAT C)Both d) None 10x1=10

ii) Difference between DROP and REJECT is: a) DROP sends a report to sender after blocking b) REJECT sends a report to sender after blocking c) DROP & REJECT are same. d) None of the above iii) The function socket() returns -1 when: a) socket is an INET socket b) socket is an STREAM socket c) In case of error d) None of the above. iv) fork() function used for: a) creating a process b) creating a thread c) creating a network rule d) None of the above v) When a process will end control returns to: a) Kernel b) Parental process c) Next Process d) None of the above vi) ping works on which protocol? a) SMTP b) TFTP c) ICMP d) None of the above vii) init 3 used for: a) Multi-user CUI b) Multi-user GUI c) Single-user CUI d) None of the above

viii) tar xvf mycrc.tar Here the option x is for: a) Path name b) Compression c) Extract d) Extravalue ix) The kernel of the linux located at: a) /boot/vmlinuz b) /linux c) /boot/kernel d) None of the above x) exportfs ar Here the option r is for: a) restart b) redistribute c) reorganize d) reopen Group B (Short Answer Type Questions) Answer any three. 2. 3. 4. 5. a) What is the importance of /boot partition? b) write a short description on booting process of linux. Write a short note on different options of chmod command. Write-down the steps to configure a NFS server. 3x5 1+4 5 5

a) What are the different tables you can handle with iptables command? b) Write the rules for following condition: i) All packets will be dropped coming from 192.18.0.X network. ii) All packets from 172.16.X.X network will be forwarded to eth1 after masquerading. iii)All packets having destination port address 80 will be redirected to 192.168.0.5 2+3

6. Write a TCL script using switch to implement the following menu. T. Firewall rule info F. Disk partition info D. fstab info E. Exit Option should not be case sensitive.

Group C (Long Answer Questions) Answer any three. 7. 8. 3x15

Write two program (for Server and Client) for echo client using STREAM socket. a) what are the jobs performed by useradd command in the time of creation of a new user. b) How can you change the home directory for a specified user. c) write a short description of the switches of groupmod command. 5+5+5 a) What is CGI? Why perl is used for the CGI? b) Write a program using perl which will display the name and marks of 5 different subjects submitted by html file. 2+3+10 a) Write down the steps to configure a DHCP server with following setting: Address of gateway 192.168.0.1 Address of DNS server 202.56.250.5 IP address range 192.168.0.100-192.168.0.200 b) write ACL statement in squid.conf for the following: Access to orkut.com and youtube.com will be blocked except 192.168.0.5 All the packets having destination port 8085 and 6531 will be blocked. 2x7.5

9.

10

11.

Write a short note on any three from the following: a) b) c) d) e) xinitd BIND /etc/fstab mkfs init 2

3x5

---------------

Das könnte Ihnen auch gefallen