Computer 1 on network A, with IP address of 10.1.1.8

Computer 1 on network A, with IP address of 10.1.1.8, wants to send a packet to Computer 2, with IP address of 10.1.1.205. Taking in consideration that computer 1 is sending a FTP request to computer 2, and the source port on computer 1 is 21086, which of the following contains the correct information for the first TCP segment of data?

Source Port: 5000

Destination Port: 80

Sequence Number: 1

Acknowledgment Number: 2

Source Port: 21086

Destination Port: 21

Sequence Number: 1

Acknowledgment Number: 2

Source Port: 21

Destination Port: 21

Sequence Number: 4

Acknowledgment Number: 1

Source Port: 80

Destination Port: 5000

Sequence Number: 1

Acknowledgment Number: 1

Question 9 Computer 1 on network A, with IP address of 10.1.1.10, wants to send a packet to Computer 2, with IP address of 172.16.1.64. Which of the following has the correct IP datagram information for the fields: Version, minimum Header Length, Source IP, and Destination IP?

Version: 6

Header Length: 20

Source IP Address: 8a:1a:2b:3c:4d:5f

Destination IP address: 2a:2b:3c:4d:8f

Version: 5

Header Length: 16

Source IP Address: 171.1.1.1.

Destination IP address: 172.16.1.0/24.

Version: 4

Header Length: 20

Source IP Address: 10.1.1.10

Destination IP address: 172.16.1.64

Version: 4

Header Length: 32

Source IP Address: 10.1.1.1

Destination IP address: 172.16.1.1

The Correct Answer and Explanation is :

Correct Answer for TCP Segment:

Source Port: 21086 Destination Port: 21 Sequence Number: 1 Acknowledgment Number: 2

Explanation for TCP Segment:

When Computer 1 (IP address 10.1.1.8) is sending an FTP request to Computer 2 (IP address 10.1.1.205), we need to understand the specifics of the TCP connection and its context. FTP typically uses port 21 for the control connection, so the destination port in the packet must be 21.

  • Source Port: In this case, Computer 1 uses a source port of 21086 (as specified in the question), which is randomly selected by the operating system for the session.
  • Destination Port: Since FTP uses port 21 for control commands, the destination port is 21.
  • Sequence Number: The sequence number is used to identify the position of the first byte in the data segment being sent. For a new connection, the sequence number typically starts at 1 as a starting point for the byte stream.
  • Acknowledgment Number: The acknowledgment number in the initial request is not typically used until data is received. However, in the context of TCP, the acknowledgment number refers to the next expected byte of data from the other side. For the initial segment (SYN), the acknowledgment number is 2 as the SYN segment is a request to establish the connection.

Correct Answer for IP Datagram:

Version: 4 Header Length: 20 Source IP Address: 10.1.1.10 Destination IP Address: 172.16.1.64

Explanation for IP Datagram:

For Computer 1 (IP 10.1.1.10) to send a packet to Computer 2 (IP 172.16.1.64), we need to review the fields of the IP header.

  • Version: The version of the IP protocol being used here is IPv4, as indicated by the source and destination IP addresses, which are both typical IPv4 addresses. The version field in an IPv4 header is 4.
  • Header Length: The header length for IPv4 without any options is 20 bytes. This field indicates the size of the IP header, and for basic IPv4 packets, this is typically 20 bytes.
  • Source IP Address: The source IP address in this case is 10.1.1.10, which is the address of Computer 1 as provided in the question.
  • Destination IP Address: The destination IP address is 172.16.1.64, which is the address of Computer 2 as given in the problem statement.

Other options are incorrect because they either reference invalid or unrelated IP addresses or incorrect versions.

Thus, the correct configuration for both TCP and IP segments is the one outlined above.

Scroll to Top