IP Datagram Routing: Understanding Source and Destination IP Addresses

What are the source and destination IP addresses of an IP datagram sent from host 192.168.1.2 to host 203.45.67.89 with source port 3463 and destination port 80?

a) Source IP: 192.168.1.2, Destination IP: 203.45.67.89

b) Source IP: 203.45.67.89, Destination IP: 192.168.1.2

c) Source IP: 192.168.1.1, Destination IP: 203.45.67.80

d) Source IP: 203.45.67.80, Destination IP: 192.168.1.1

Answer:

The source IP address of the datagram sent from host 192.168.1.2 to host 203.45.67.89 remains 192.168.1.2, and the destination IP address remains 203.45.67.89.

Explanation:

When a host sends an IP datagram across the network, the source IP address and destination IP address in the datagram's header remain unchanged as it traverses routers. Therefore, even after the router has transmitted the datagram, the source IP address will still be 192.168.1.2, and the destination IP address will remain 203.45.67.89, matching the initial destination of the IP datagram.

This ensures that the communication between the source and destination hosts is maintained without alteration in the IP addresses during routing.

← How to setup the sprint cycle for scrum teams Hair styling all about mousse →