Network and Communication Important Question
Network and Communication Important Question
Network and Communication Important Question
1. For each of the following four networks, discuss the consequences if a connection
fails.
a) Five devices arranged in a mesh topology
b) Five devices arranged in a star topology
c) Five devices arranged in a bus topology
d) Five devices arranged in a ring topology
2. Transmitter wants to transmit a message 1011 0010 0100 1011 and protect it from
errors using the CRC-8 polynomial x8 + x2+ x1 + 1.
(i) Use polynomial long division to determine the message that should
be transmitted.
(ii) Suppose the leftmost bit of the message is inverted due to noise on the
transmission link. What is the result of the receiver’s CRC calculation? How the
receiver does know that an error has occurred?
. 3. Let’s explore propagation delay and transmission delay. Suppose there are [10]
two hosts, A and B, connected by a fiber optic link with bandwidth R bps.
The physical link’s length is d meters. Assume the propagation speed in the
link is s m/s. At time t=0, Host A begins to send a packet of L bits to Host B.
4.
.
A B C
400 KM 100 KM
In the figure the frames are generated at node A and sent to node C through
node B. Determine the minimum data required between nodes B and C so
that buffers of node B are not flooded based on the following:
7.
Two PCs are connected to a switch. The IP addresses of the PCs are as
displayed in the diagram. PC (192.168.1.2) is connected to port 2 on the
switch and a PC (192.168.1.3) is connected to port 3 on the switch.
(i) Does the switch need an IP address for PC1 to communicate with
PC2?
(ii) If PC1 requires communicating with PC2, What is required from
PC2?
Is a router required for PC1 to communicate with PC2?
8.A CRC is constructed to generate a 4-bit FCS for an 11-bit message. The
generator polynomial is X4 + X3 + 1.
(i) Encode the data bit sequence 10011011100(leftmost bit is the least
significant) using generator polynomial and give the codeword.
(ii) Now assume that bit 7 (counting from the LSB) in the codeword is in
error and show that the detection algorithm detects the error.
9. A sender needs to send four data items 0x3456, 0xABCC, 0x02BC, and
0xEEEE. Answer the following:
13. Consider the figure below, with three links, each with the specified
transmission rate and link length.
Find the end-to-end delay (including the transmission delays and propagation
delays on each of the three links, but ignoring queuing delays and processing
delays) from when the left host begins transmitting the first bit of a packet to
the time when the last bit of that packet is received at the server at the right.
The speed of light propagation delay on each link is 3x10**8 m/sec. Note
that the transmission rates are in Mbps and the link distances are in Km.
Assume a packet length of 16000 bits. Give your answer in milliseconds.
14.You have network of 10 PCs. Five PCs are connected to one Ethernet hub
and five PCs are connected to second Ethernet hub. Both hubs are connected
to a switch. A router connects your switch to a remote office with an
identical configuration. How many MAC addresses will your switch learn?
Justify.
15.
16.
(a) The following Hamming coded (single bit correction) string was
received: 010101010111. Is there an error? If yes, in which position?
17.(a) Suppose that a sender and a receiver are using ARQ to perform
reliable data delivery.
18.Given the 11-bit data word 00101101010, then generate the corresponding 15-bit
Hamming code word by including the redundant bits in the place of powers of 2 of the final
data. After the final data is transmitted to the destination, the data value at bit 7 position is
changed. Detect the error and correct it to obtain the original data. Write the step-by-step
process of sender and receiver.
19.Calculate the latency (from first bit sent to the lat bit received) for the following:
i) 1 Gbps Ethernet with a single store and forward switch in the path, and a
packet size of 5000bits. Assume that each link introduces a propagation delay
of 10 micro second and that the switch begins retransmitting immediately after
it has finished receiving the packet.
ii) 1 Gbps Ethernet with three store and forward switch in the path, and a packet
size of 5000bits. Assume that each link introduces a propagation delay of 10
micro second and that the switch begins retransmitting immediately after it has
finished receiving the packet.
iii) 1 Gbps Ethernet with three store and forward switch in the path, and a packet
size of 5000bits. Assume that each link introduces a propagation delay of 10
micro second and that the switch begins retransmitting immediately after it has
finished receiving the packet. Assume the switch implements cut-through
switching. It is also able to begin retransmitting the packet after the first 128
bits have been received.
21.Design Go back N ARQ ( draw the Sliding window Configuration)for the following
Scenario
a) For m=3Calculate the Sender Window Size and Receiver Window Size
b) Assume that sender wants to transmit 25 frames.
c) Assume that Frame 8 and 12 are lost during the transmission.
d) Acknowledgement for frame16 and 18 is lost.
22.An organization is granted the block 211.17.180.0 in class C. The administrator wants to
create 32 subnets.
23. Consider that the network layer of Host A received a segment of size 2500 bytes from its
transport layer. The segment is to be sent to Host B in the link that has a MTU of 1000 bytes.
a) How many fragments will be received by host B? Explain your answer
b) What are the fragment char (identification, offset, and flag)
24.The following shows a routing table of a switch in a virtual- circuit network. (4)
Incoming Outgoing
Port VCI Port VCI
1 14 3 22
2 71 4 41
2 92 1 45
3 58 2 43
3 78 2 70
4 56 3 11
Find the output port and the output VCI for packets with the following input port
and input VCI addresses:
a. Packet 1: 3, 78
b. Packet 2: 2, 92
c. Packet 3: 4, 56
d. Packet 4: 2, 71
25.Consider a user is downloading 1MB audio file as a 32 bit sequence from a FTP
server as follows:
e. 10011001011101100001010100001001
26.We transmit data directly between two servers 6,000 km apart through a geostationary
satellite situated 10,000 km from Earth exactly between the two servers. The data enters this
network at 100Mb/s. (2+2+2)
a. Find the propagation delay if data travels at the speed of light (2.3 × 108 m/s).
b. Find the number of bits in transit during the propagation delay.
c. Determine how long it takes to send 10 bytes of data and to receive 2.5 bytes of
acknowledgment back.
27. Design as well as illustrate a Computer network to connect 2 laboratories across 2 floors
for School of Computer Science & Engineering (SCOPE) in Vellore Institute of Technology
with following specifications and objectives:-
Specifications:
10 computers per lab
Interconnect both laboratories using at least 4 relevant networking devices
b). Analyse and validate your design based on the given objectives.
Objectives:
Cost effectiveness
Simple fault detection & Recovery
Reliability
Performance
28.Suppose a 128 kbps p2p link is set up between earth and a rover on mars. The distance
from the earth to mars (when they are the closest together) is approximately 55Gm (Giga
Meter), and data travels over the link at the speed of light 3X108 m/s
29.You are the network administrator for ABC.com. The company has decided to locate a
small branch office in another city. To support the new location, you will need to subnet the
private IP address range of your boss has given you into several smaller networks to provide
services to each department. The new office location has been assigned the 10.10.10.0/24 IP
address range.
30.When you set up the new network, you need to configure separate subnets for each
department in the new office. You should allocate the addresses using CIDR notation and
provide each department the minimum number of IP addresses that their needs. The
department at new location requires the following number of computers on their subnets:
IT – 54
HR – 32
SALES -5
ADMINISTRATIVE – 3
Design and show the sub-blocks and give the slash notation for each sub-block. Find out how
many addresses are still available after these allocations.
31.(a) Generate the hamming code for the ASCII character “U” = 1010101. Assume even
parity for the hamming code.
(b) Message frame consists of 1101011011 for which the divisor is 10011. Calculate CRC
and transmitted frame. Also determine the remainder obtained at the receiver if the
transmission is error free.
32.Company ABC has 100 workstations in their head office and the IT manager would like to
assign a subnetwork address for each department. He wants to create 5 subnets using the
192.168.1.0/24 block and assign the first subnetwork to their servers and the rest for their 100
workstations. How will we compute the subnetwork requirement?
33. An organization has been assigned the network address: 140.25.0.0 and it needs to create
a set of subnets that support up to 25 hosts on each subnet.
(i)What is the maximum possible number of such subnets in the given network?
(ii) Given that there are 25 hosts on each subnet, how much of the address space is
being wasted (in percentage)?
34.Engrave the steps involved at the sender side checksum calculation by assuming each segment is
of 8 bit. Assume that the bits at odd positions in each segment are garbled due to imperfection in
the medium. How the receiver does detects that there is error in the received or not