0% found this document useful (0 votes)
41 views8 pages

Is 2111

kiyawagena kapan mewa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
41 views8 pages

Is 2111

kiyawagena kapan mewa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 8
8) University of Colombo, Sri Lanka esc University of Colombo School of Computing BACHELOR OF SCIENCE IN INFORMATION SYSTEMS Second Year Examination — Semester II— UCSC AY19 (held in March/April/May 2023] IS 2111 — Computer Networks : (2 Hours) “ Answer All Questions Number of Pages = 8 ‘Number of Questions = 4 To be completed by the candidate | Index Number ) | | Important Instructions to candidates: | + Students should answer in the medium of English language only using|| To be completed by the space provided in this question paper. | the examiners + Note that questions appear on both sides of the paper. If a page or a part of this question paper is not printed, please inform the supervisor| immediately. + Write your index number CLEARLY on each and every page of this Question paper. + This paper consists of 4 questions in 8 pages (including the Cover Page). | 3 | + Answer ALL questions | + Calculators and any electronic device capable of storing and retrieving|| | 4 | text including electronic dictionaries, smart watches and mobile phones || } are not allowed. | Total | | + Do not tear off any part of this answer book. Under no circumstances | } may this book, used or unused, be removed from the Examination Hall by a candidate 1. A network is depicted in the following diagram. Only the machines shown in the diagram are in Index Number the network, gas [ Switch? [2045 | Machine B ee LAN 1 Router RIS vas [Swi Machine C S| Switch? The operating system on B is Linux and the i fconf. given bellow. LAN2 command executed on a terminal on B is ethO: flags=4163 inet 10.0.2.5 ineté ether £e80 0 RX errors 0 TX packets 4780 TX errors 0 netmask 255.255.255.252 757:ec9:e144:8330 prefixlen 64 scopeid 0x20 txqueuelen 1000 bytes 21938777 (21.9 MB) 0:27:4£:e5:10 RX packets 15390 dropped aropped 0 overruns 0 0 overruns 0 frame 0 bytes 312500 (312.5 KB) carrier 0 ethl: flags=4163 inet 10.0.3.9 ether og: 0:2 RX packets 4 RX errors 0 TX packets 61 1X errors 0 netmask 255.255.255.252 inet6 fe80::cd3:1a32:4e7:£4c7 prefixlen 64 scopeid 0x20 12 txqueuelen 1000 7:£9:0: bytes 1596 (1.5 KB) dropped bytes dropped 0 overruns 0 7128 (7.1 KB) 0 overruns 0 lo: flags=73 mtu inet 127.0.0.1 :1 prefixlen 128 txqueuelen 1000 ineté loop RX packets 86 bytes RX errors 0 1X packets 86 bytes 1X errors 0 An IPv4 packet P sent by a program on machine A is received by the machine C. The source MAC address of the Ethernet frame containing P when it was received at C was 08:00: dropped dropped netmask 255.0.0.0 scopeid 0x10 frame 0 carrier 0 65536 (Local Loopback) 7618 (7.6 KB) 0 overruns 0 7618 (7.6 KB) 0 overruns 0 frame 0 carrier 0 mtu 1500 broadcast 10.0.2.7 (Ethernet) collisions 0 mtu 1500 broadcast 10.0.3.11 (Ethernet) collisions 0 collisions 0 :ef:12. Index Number! (a). What is the source IP address of P ? Write your answer as a binary string, [5 marks} (b). What is the network address of LAN? {3 marks} (c). What is the destination IP address of P when it was received at B? [5 marks] (a). What is destination MAC address of the Ethernet frame containing P when it was in LANI? [3 marks] (©). What is the network address of LAN2? [5 marks] (8). Write the subnet mask of LAN1 as a binary string? [4 marks} Index Number | ] | 2. (@). An organisation owns the IP address blocks 192.168.16.0/24 and 192.168.17.0/24. It has created a network consisting of 400 hosts using these two blocks. i. What is the subnet mask of this network in CIDR notation? [3 marks] ii, What is the network address of this network? [3 marks] ili. What is the broadcast address of this network of the network? [3 marks] (b). An experiment was conducted on a channel connecting the machine X to Y. Randomly gen- erated 10° bits were sent on this channel from X to ¥ during this experiment and it was observed that only 999000 bits were received at Y without any errors. Alll the other bits were flipped by the time they reached X. Equal number of 1 and 0 bits were in the correctly received bits and the same ratio was observed in the flipped set of bits as well. Later, it was decided to use this channel to send messages from X to Y using the following encoding. The message bit 1 is sent encoded as 11 and the message bit 0 is sent encoded as 00 on this channel. i. The message bit 1 is encoded and sent on this channel. What is the probability that the receiver receives the message correctly? [3 marks] ii, The data bit 0 is encoded and sent on this channel what is the probability that the receiver incorrectly decode the received string and receive the wrong data? [4 marks] iii, A one bit message is encoded and sent on this channel. What is the probability that the receiver discards the received string? [4 marks] Index Number| (©). A machine M has two network interfaces. One interface is connected to a network that uses private IP address. The other interface is connected to the public Internet. Users of the private network require Internet access for web browsing. Several web sites that serves static content are quite popular among the users of the machines on the private network. What is, the most suitable technology to be used on the machine M to provide Internet access to the machines on the private network? Justify your answer. {5 marks} 3. (a). The following diagram shows the encapsulation of application data in the OSI network pro- tocol stack. Assume that the application is using UDP as the Layer 4 protocol. A,B (Layer 2) | C, D (Layer 3) |_E, F (Layer 4) Application Data i. State the name of the layers used in the OSI protocol stack for Layer 2, Layer 3, and Layer 4 and their corresponding protocol data unit (PDU), [4 marks} Index Number! ii, A,B, C, D, E, and F are the most important information used in each layer to identify the parties which are communicating. List down each of them in the correct order as their in the relevant PDU headers. [6 marks] iii, A precedes B in the Layer 2 PDU header. Explain the reason for arranging A and B in this order. [5 marks] (b). Discuss the main difference between HTTP/1.0 and HTTP/1.1 [5 marks] (©). There is a web page with 5 jpeg images. Consider the round tip time (RTT) as T’ and the time taken to transmit any object from the server to the client is ¢. Calculate the total time taken for the communication if the client uses HTTP/I.1 protocol. {5 marks] Index Number | | 4, (a). Consider the following network setup. A network administrator tries to execute the following command to assign IP addresses on PCI. sudo ifconfig eth0 192.168.10.100 netmask 255.255.255.0 But an error prompted as the ifconfig command is not available, i, What could be the reason for this error message? [2 marks] PCL. ii, Write an alternative Linux command to assign IP address to the network interface of {8 marks} Index Number. | | iii, The network administrator has configured IP addresses on all the interface (eth0, eth, eth2, eth3). But still the users cannot communicate between PCI and PC2. Determine the reasons for the problem. [5 marks] (b). Mention a problem of Unshielded Twisted Pair (UTP) cables. [2 marks] (©). Write a Wireshark filter to filter network traffic coming from ip address 192.168.10.23. [2 marks} (@. Write a Wireshark filter to filter TCP traffic associated with ip address 192.168.10.23. [4 marks] (©). What is the mode of fibre media which use LED to transmit signals. [2 marks}

You might also like