Professional Documents
Culture Documents
ACN - Dec 2019-1
ACN - Dec 2019-1
ACN - Dec 2019-1
Q1. B) Calculate the latency (from first bit sent to last bit received) for the
following: I) 1-Gbps Ethernet with a single store and forward switch in the path,
and a packet size of 5000 bits. Assume that each link introduces a propagation
delay of 10 us and that the switch begins retransmitting immediately after it
has finished receiving the packet ii) Same as (I) but with three switches.
1)transmission time=12000/100*10^6= 120 us
so total latency=260us
A) What is stop and wait protocol? Prove that efficiency of stop and wait protocol is 1/(1+2a) and
through put is efficiency* bandwidth
Since,
Tp(ack) = Tp(data)
And,
Tt(ack) << Tt(data).
Hence,
Total time = Tt(data) + 2 * Tp
Where,
Tt(data) : Transmission delay for Data packet
Tp(data) : propagation delay for Data packet
Tq: Queuing delay
Tpro: Processing delay
Tt(ack): Transmission delay for acknowledgment
Tp(ack) : Propagation delay for acknowledgment
We know that the Efficiency (η),
= Useful time / Total cycle time.
= Tt / (Tt + 2*Tp)
= 1 / (1+2*(Tp/Tt))
= 1 / (1+2*a)
where,
a = Tp / Tt
if Tt(ack) :Transmission delay for acknowledgment , Tq: Queuing delay
and Tpro: Processing delay is mention
Throughput: Number of bits send per second, which is also known as Effective
Bandwidth or Bandwidth utilization.
= η*BW –
2
we know that Tt(data)=L/BW
BW=Band Width
Above formula is applicable for any condition, if any of the things are not given
we assume it to be 0.
Throughput,
= L/(Tt + 2*Tp)
= ((L/BW)*BW)/(Tt + 2*Tp)
= Tt/(Tt + 2*Tp) * BW
= 1/(1 + 2a) * BW
Hence, Throughput
= η * BW
where,
BW : BandWidth
L : Size of Data packet
where,
d = distance between source and receiver
v = velocity
Example: Given,
Tt = 1ms
Tp = 2ms
Bandwidth = 6 Mbps
Efficiency(η)
= 1/(1 + 2*a)
= 1/(1 + 2*(2/1))
= 1/5
= 20 %
Throughput
= η * BW
= (1/5) * 6
= 1.2 Mbps
Q2. B) What is TCP? Give differences between TCP and UDP. Also give three
names of typical applications in which TCP is used as transport protocol.
Working of TCP
To make sure that each message reaches its target location intact, the TCP/IP model
breaks down the data into small bundles and afterward reassembles the bundles into
the original message on the opposite end. Sending the information in little bundles of
information makes it simpler to maintain efficiency as opposed to sending everything in
one go.
After a particular message is broken down into bundles, these bundles may travel along
multiple routes if one route is jammed but the destination remains the same.
Features of TCP/IP
Some of the most prominent features of Transmission control protocol are
2. Connection Oriented
• Itmeans sender and receiver are connected to each other till the
completion of the process.
• The order of the data is maintained i.e. order remains same before and
after transmission.
3. Full Duplex
• In TCP data can be transmitted from receiver to the sender or vice – versa
at the same time.
• It increases efficiency of data flow between sender and receiver.
4. Flow Control
• Flow control limits the rate at which a sender transfers data. This is done
to ensure reliable delivery.
• The receiver continually hints to the sender on how much data can be
received (using a sliding window)
5. Error Control
6. Congestion Control
Advantages
• It is a reliable protocol.
• It provides an error-checking mechanism as well as one for recovery.
• It gives flow control.
• It makes sure that the data reaches the proper destination in the exact
order that it was sent.
• Open Protocol, not owned by any organization or individual.
• It assigns an IP address to each computer on the network and a domain
name to each site thus making each device site to be distinguishable
over the network.
Disadvantages
• TCP is made for Wide Area Networks, thus its size can become an issue
for small networks with low resources.
• TCP runs several layers so it can slow down the speed of the network.
• It is not generic in nature. Meaning, it cannot represent any protocol stack
other than the TCP/IP suite. E.g., it cannot work with a Bluetooth
connection.
• No modifications since their development around 30 years ago.
An acknowledgment segment is
Acknowledgment No acknowledgment segment.
present.
There is no
Sequencing of data is a feature of sequencing of data in
Sequence Transmission Control UDP. If the order is
required, it has to be
Protocol (TCP). this means that managed by the
packets arrive in order at the application layer.
receiver.
UDP is faster,
TCP is comparatively slower than
Speed simpler, and more
UDP.
efficient than TCP.
There is no
retransmission of lost
Retransmission of lost packets is
Retransmission packets in the User
possible in TCP, but not in UDP.
Datagram Protocol
(UDP).
It’s a connectionless
Handshaking Uses handshakes such as SYN,
protocol i.e. No
Techniques ACK, SYN-ACK
handshake
UDP is used
TCP is used by HTTP, by DNS, DHCP,
Protocols
HTTPs, FTP, SMTP and Telnet. TFTP, SNMP, RIP,
and VoIP.
Also give three names of typical applications in which TCP is used as transport
protocol.
When a TCP entity sends an RST segment, it should contain 00 if it does not belong to
any existing connection else it should contain the current value of the sequence number
for the connection and the acknowledgment number should be set to the next expected
in- sequence number on this connection.
8.
9. TCP states visited by ServerSide –
10.
Q. 3.B) What is fiber optic communication? Enlist the advantages of fiber optic
technology in communication systems?
Fiber-optic communication is a method of transmitting information from one place to another
by sending pulses of infrared or visible light through an optical fiber.[1][2] The light is a form
of carrier wave that is modulated to carry information.[3] Fiber is preferred over electrical
cabling when high bandwidth, long distance, or immunity to electromagnetic interference is
required.[4] This type of communication can transmit voice, video, and telemetry through local
area networks or across long distances.[5]
At the receiving end, light detectors are employed to receive the light signals from the
optical fiber. Usually, the receiver consists of electronic amplifiers with photodetectors.
Silicon and germanium diodes are typical photodetectors in optical fiber communication.
The digital signals from amplifiers are directly fed to the destination. If the target
destination requires analog signals, decoders are utilized for conversion.
Internet communication, cable TV, and television broadcasting systems benefit from the
use of fiber optics technologies in signal transmission. The advantages of optical fiber
communications include:
• Data security
• Data reliability
A) Consider two regions, 900-1000nm and 1350 nm in a fiber low – loss spectrum. Calculate
the actual bandwidth provided by each region. (Assume velocity of light in fiber is 2.3*
10’8m/s.)
S.
CWDM DWDM
No.
CWDM system having less than 8
DWDM system having more than 8 active wavelengths
1. active wavelengths per optical
per optical fiber.
fiber.
10. It has more wavelength spacing. It has less wavelength spacing as compared.
Advantages- Advantages-
Disadvantages- Disadvantages-
The term WDM is commonly applied to an optical carrier, which is typically described by its
wavelength, whereas frequency-division multiplexing typically applies to a radio carrier, more
often described by frequency.[2] This is purely conventional because wavelength and frequency
communicate the same information. Specifically, frequency (in Hertz, which is cycles per
second) multiplied by wavelength (the physical length of one cycle) equals velocity of the carrier
wave. In a vacuum, this is the speed of light(usually denoted by the lowercase letter, c). In glass
fiber, velocity is substantially slower - usually about 0.7 times c. The data rate in practical
systems is a fraction of the carrier frequency.
System
The concept was first published in 1970 by Delange,[4] and by 1980 WDM systems were being
realized in the laboratory. The first WDM systems combined only two signals. Modern systems
can handle 160 signals and can thus expand a basic 100 Gbit/s system over a single fiber pair to
over 16 Tbit/s.
A system of 320 channels is also present WDM systems are divided into three different
wavelength patterns: normal (WDM), coarse (CWDM) and dense (DWDM).
Q., 5 B what do you mean by GMPLS technology. How does MPLS work.
GMPLS was developed to extend the benefits of MPLS to any type of network.
It enables participating routers and switches to quickly make decisions on how
to forward data based on how it is received instead of performing processing-
intensive IP-based routing. It also enables link management, failover
redundancy and quality of service.
GMPLS speeds up data flow by determining the path that the data will take as
soon as the data is ingested into the network at the ingress point. This happens
at a label edge router, which determines the path that the data takes through
the network to the exit or egress point label edge router.
These paths are called labeled switched paths (LSPs). It makes this decision
based on the characteristics of the ingress interface. The following are the LSP
selection criteria in GMPLS:
What Is MPLS?
Multiprotocol label switching is an ultra-reliable, premium-grade, IP-connected
bandwidth solution that can help mid-size to enterprise companies build private-like
networks — and has been a bedrock technology for more than 25 years. (The
technology is projected to continue growing in popularity.)
MPLS has a wide range of benefits: better performance, reduced network congestion,
higher-quality, better bandwidth management and utilization of resources, scalability,
security, and ultimately better end-user perceptibility.
MPLS has established itself in the role of connecting corporate point-to-point locations
Wavelength conversion is an example of signal processing at the aggregate line rate, i.e.
the OTDM bit rate. In [35] the first clear demonstration (with BER characterization) of optical
signal processing at >100 Gbit/s was presented in the form of a 640 Gbit/s wavelength
conversion experiment
• Developed by Bellcore
• Used in North America
• Standardized by ANSI (American National Standards Institute)
• Similar to SDH (Synchronous Digital Hierarchy) which is used in
Europe and Japan.