. Suppose client A initiates an FTP session with server S. At about the same time, client B also initiates an FTP session with server S. Provide possible source and destination port numbers for: (a) the segments sent from A to S? (b) the segments sent from B to S? (c) the segments sent from S to A? (d) the segments sent from S to B? (e) If A and B are different hosts, is it possible that the source port numbers in the segments from A to S are the same as those from B to S? (f) How about if they are the same host?

Respuesta :

Answer:

Follows are the solution to this question:

Explanation:

The segments send port "A to S" numbers below 1024 and use 1024 and 65535 as standard numbers, that are using as a temporary connection. The port number for Server "S" is =23, and the port number for Client"A" is between 1024 and 65535, and its standard value is 467, and other calculation can be defined in the table:

  [tex]Serial \ \ \ \ \ \ \ \ \ \ \ \ \ port \ \ number \ \ \ \ \ \ \ \ \ \ \ \ \ Destination \ port\ number[/tex]

  [tex]a) A \to S \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 467 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 23\\\\b) B \to S \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 513 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 23\\\\c) S \to A \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 23 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 467\\\\d) S \to B \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 23 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 513\\\\[/tex]

  [tex]e) Yes\\\\f) No\\\\[/tex]