Multiple choose Suppose client PC named X initiates a telnet session to a server
ID: 3695862 • Letter: M
Question
Multiple choose
Suppose client PC named X initiates a telnet session to a server called S. At the same time a laptop client named Y initiates a telnet session to server S also. Provide possible source and destination port numbers for:
A- The segments sent from X to S
B- The segments sent from Y to S
C- The segments sent from S to X
D- The segments sent from S to Y
E- If X and Y are different hosts is it possible for them to both use the same source port number?
F- If X and Y are the same host, is it possible for them to both user the same source port number?
Explanation / Answer
A-
The ports source and destination are just be any number.
The number for ports used here are only examples.
The important points are as follows:
The source port number for the segments send by the client A to the server S may be 467 and the number for the destination is 23 (Telnet).
B-
The source port number of the segments send by the client Y to the server S may be 513 and the destination port is 23 (Telnet).
C-
The source port number of the segments send by the server S to the client X may be 23 (Telnet) and the destination port is 467.
D-
The source port number of the segments send by the server S to the client Y may be 23 and the destination port is 513.
E-
Yes, if the clients have the different hosts X and Y can use the same source port number.
To find the correct host, the IP addresses are with the segments.
F-
No, if they are the same hosts, this is not possible for both to use same port number.
Since, the server uses the IP addresses to differentiate the hosts.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.