Connection Establishment Normal operation: Host 1 Host 2 •Host 1 sends CR containing a CR (seq = x) sequence number x •Host 2 replies ACK to host 1 announcing its initial sequence АСK (seq %3D y, ACК...



Subject: Networking



Question:
Explain the
timing diagrams
of two different connection establishment mechanisms of
TCP.



Note: Check the image and answer according to this.


Connection Establishment<br>Normal operation:<br>Host 1<br>Host 2<br>•Host 1 sends CR containing a<br>CR (seq = x)<br>sequence number x<br>•Host 2 replies ACK to host 1<br>announcing its initial sequence<br>АСK (seq %3D y, ACК %3 х)<br>no. у<br>•Host 1 acknowledges host 2's<br>choice of initial sequence no. in<br>DATA (seq = x, ACK = y)<br>the first data TPDU that it sends<br>(a)<br>Connection Establishment<br>Old CONNECTION REQUEST<br>Host 1<br>Host 2<br>Old duplicate<br>appearing out of nowhere:<br>CR (seq = x)<br>This TPDU arrives at host 2<br>without host 1's knowledge<br>Host 2 reacts to this TPDU by<br>ACK (seq = y, ACK = x)<br>sending host 1 an ACK<br>When host 1 rejects host 2's<br>attempt to establish a connection,<br>REJECT (ACK = y)<br>host 2 realizes that it was tricked<br>(b)<br>by delayed duplicate<br>Connection Establishment<br>Duplicate CONNECTION REQUEST<br>and duplicate ACK:<br>Host 1<br>Host 2<br>CR (seq = x)<br>Old duplicate<br>•The worst case is when both a delayed<br>CR and an ACK are floating around in<br>the subnet<br>ACK (seq = y, ACK = x)<br>DATA (seq = x,<br>ACK = z)<br>Old duplicate<br>REJECT (ACK = y)<br>(c)<br>Connection Release<br>Two styles for terminating a connection<br>1. Asymmetric Release: When one party hangs<br>up, the connection is broken. Telephone<br>system<br>2. Symmetric Release: Treats connection as<br>two separate unidirectional connections and<br>requires each one to be released separately<br>Connection Release<br>Asymmetric Release:.<br>It is abrupt and may result data<br>Host 2<br>Host 1<br>CR<br>loss<br>АСK<br>When the data is transferring<br>DATA<br>from host 1 to host 2, host 2<br>issues a DR<br>DATA<br>The result is that the<br>DR<br>No data are<br>delivered after<br>a disconnect<br>request<br>connection is released and data<br>are lost<br>

Extracted text: Connection Establishment Normal operation: Host 1 Host 2 •Host 1 sends CR containing a CR (seq = x) sequence number x •Host 2 replies ACK to host 1 announcing its initial sequence АСK (seq %3D y, ACК %3 х) no. у •Host 1 acknowledges host 2's choice of initial sequence no. in DATA (seq = x, ACK = y) the first data TPDU that it sends (a) Connection Establishment Old CONNECTION REQUEST Host 1 Host 2 Old duplicate appearing out of nowhere: CR (seq = x) This TPDU arrives at host 2 without host 1's knowledge Host 2 reacts to this TPDU by ACK (seq = y, ACK = x) sending host 1 an ACK When host 1 rejects host 2's attempt to establish a connection, REJECT (ACK = y) host 2 realizes that it was tricked (b) by delayed duplicate Connection Establishment Duplicate CONNECTION REQUEST and duplicate ACK: Host 1 Host 2 CR (seq = x) Old duplicate •The worst case is when both a delayed CR and an ACK are floating around in the subnet ACK (seq = y, ACK = x) DATA (seq = x, ACK = z) Old duplicate REJECT (ACK = y) (c) Connection Release Two styles for terminating a connection 1. Asymmetric Release: When one party hangs up, the connection is broken. Telephone system 2. Symmetric Release: Treats connection as two separate unidirectional connections and requires each one to be released separately Connection Release Asymmetric Release:. It is abrupt and may result data Host 2 Host 1 CR loss АСK When the data is transferring DATA from host 1 to host 2, host 2 issues a DR DATA The result is that the DR No data are delivered after a disconnect request connection is released and data are lost
Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here