138k views
11 votes
Suppose Client A initiates a Telnet session with Server S. At about the same time, Client B also initiates a Telnet 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 number in the segments from A to S is the same as that from B to S?
f. How about if they are the same host?

User Lee Buckle
by
5.4k points

1 Answer

5 votes

Answer:

Step-by-step explanation:

From the given information;

We will like you to understand that the source port numbers and destination port number can be any number. For that reason, the ones being used here will just be examples.

NOTE:

That the destination port numbers sent from A to S and B to S are the same in their segments.

That the destination port numbers sent from S to A and S to B are the same in their segments.

From A to S, the segment sent possibly could have the source port number 467 and destination port number as 23(Telnet)

From B to S, the segment sent possibly could have the source port number 513 and destination port number as 23(Telnet).

From S to A, the segment sent possibly could have the source port number as 23(Telnet) and destination port number as 467.

From S to B, the segment sent possibly could have the source port number as 23(Telnet) and destination port number as 513.

Yes, it is possible. This is because the inclusion of IP in the segments is to recognize the host.

No, the source ports will be different. Because source port number from A to S can't be the same from B to S at the time they are in the same host.

User Havox
by
5.1k points