Professional Documents
Culture Documents
Submitted To Submitted By
MOHAMMAD EHSAN SHAHMI CHOWDHURY Name: akash Hossen
Lecturer ID: 1810020888
Department of CSE Section: 181_DB
Department of CSE
Answer To The Question NO: 1
Answer:
Maintenance:
DNS is not centralized because if it is so there will be a huge amount of load on the DNS from each
and every server. And it will be very tough to maintain such DNS at a very broad level .
That is why there is a separate individual DNS of each and every server present in the world
This error means your domain name's DNS is being served by only one name server. It is a bad idea to
use a single name server for your domain because if the name server fails, your domain will be
unreachable.
If separate sockets are created for datagrams with the same destination port but different
source ip or source port addresses then this kind of demultiplexing is called connection
oriented demultiplexing.
is only TCP viable and reuqires a four-tuple, meaning in order for the datagram to know where
to be sent it needs (source IP address, source port number, destination IP address, destination
port number).
P.T.O
Figure: connection oriented demux
ANSWER:
RDT protocol sends packets one by one. That means the sender has to wait for the receiver for
acknowledgement after every packet is sent. This is a very slow and inefficient process. That is
way it is time consuming. It has less utilization and poor performance.
This problem can be solved by pipelining very easily. In pipelining N number of packets are sent
then the sender may wait for acknowledgement from the receiver Thus sender don’t have to
wait for receiver after every time single packet is sent. This saves a lot of time and it’s quite
efficient. So pipelining should be used instead of rdt.
1) Go-back-N
2) Selective repeat
Go Back-N:
1. n Go-Back-N Protocol, if the sent frame are find suspected then all the frames are re-
transmitted from the lost packet to the last packet transmitted
2. Acknowledgement type is cumulative
Selective repeat:
1. In selective Repeat protocol, only those frames are re-transmitted which are found
suspected.
2. Acknowledgement type is individual.
My ID is 181002049.
So, BSI = 0001 1000 0001 0000 0000 0010 0000 0100 1001
= 000110000001000000000010000001001001
Calculation Checksum:
16 bits of Carrey Sum
1st 0001100000010000
2nd + 0000001000000100
sum 0 0001101000010100
3rd + 1000000100000000
sum 0 1001101100010100
4th + 0010000001001001
sum 0 101110110101101
th
5 + 0110000001000000
sum 1 0001101110011101
+ 1
sum 0 0001101110011110
6th 0000100000010010
sum 0010001110100000
Checksum 1101110001011111
Checksum 56415
RDT 2.1:
.Sender sends sequences to handle duplicate packets.
.Use both ACK & NAK.
.Can check whether ACK OR NAK was corrupted.
RDT 2.2:
.Same functionality as 2.1
.It's a NAK free protocol, uses ACK only.
.Duplicate ACK at sender means same thing as NAK
Although RDT 2.1 & 2.2 have same functionality RDT 2.2 is considered better as it is NAK free.
While RDT 2.1 has to deal with both ACK & NAK.
P.T.O
Figure-A: RDT 2.1 SENDER PART